⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sqlrconnection.h

📁 适合于Unix/Linux下的一个持久数据库连接池
💻 H
字号:
// Copyright (c) 1999-2001  David Muse// See the file COPYING for more information.	private:		bool	openSession();		void	closeConnection();		bool	authenticateWithListener();		bool	authenticateWithConnection();		bool	genericAuthentication();		bool	getReconnect();		bool	getNewPort();		void	clearSessionFlags();		void	debugPreStart();		void	debugPreEnd();		void	debugPrint(const char *string);		void	debugPrint(int64_t number);		void	debugPrint(double number);		void	debugPrint(char character);		void	debugPrintBlob(const char *blob, uint32_t length);		void	debugPrintClob(const char *clob, uint32_t length);		bool	autoCommit(bool on);		void	clearError();		void	setError(const char *err);		void	flushWriteBuffer();		// clients		inetclientsocket	ics;		unixclientsocket	ucs;		clientsocket		*cs;		// session state		bool	endsessionsent;		bool	suspendsessionsent;		bool	connected;		// connection		const char		*server;		uint16_t		listenerinetport;		uint16_t		connectioninetport;		char			*listenerunixport;		char			*connectionunixport;		char			connectionunixportbuffer[MAXPATHLEN+1];		int32_t			timeoutsec;		int32_t			timeoutusec;		int32_t			retrytime;		int32_t			tries;		// authentication		const char	*user;		uint32_t	userlen;		const char	*password;		uint32_t	passwordlen;		bool		reconnect;		// error		char		*error;		// identify		char		*id;		// db version		char		*dbversion;		// bind format		char		*bindformat;		// debug		bool		debug;		int32_t		webdebug;		int		(*printfunction)(const char *,...);		// copy references flag		bool		copyrefs;		// cursor list		sqlrcursor	*firstcursor;		sqlrcursor	*lastcursor;	public:		void		copyReferences();	friend class sqlrcursor;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -