getsendcolumninfo.c

来自「适合于Unix/Linux下的一个持久数据库连接池」· C语言 代码 · 共 31 行

C
31
字号
// Copyright (c) 1999-2001  David Muse// See the file COPYING for more information#include <sqlrconnection.h>bool sqlrconnection_svr::getSendColumnInfo() {	#ifdef SERVER_DEBUG	debugPrint("connection",2,"getting send column info...");	#endif	if (clientsock->read(&sendcolumninfo,				idleclienttimeout,0)!=sizeof(uint16_t)) {		#ifdef SERVER_DEBUG		debugPrint("connection",2,"getting send column info failed");		#endif		return false;	}	#ifdef SERVER_DEBUG	if (sendcolumninfo==SEND_COLUMN_INFO) {		debugPrint("connection",3,"send column info");	} else {		debugPrint("connection",3,"don't send column info");	}	debugPrint("connection",2,"done getting send column info...");	#endif	return true;}

⌨️ 快捷键说明

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