getconnectionsocket.c
来自「适合于Unix/Linux下的一个持久数据库连接池」· C语言 代码 · 共 27 行
C
27 行
// Copyright (c) 1999-2001 David Muse// See the file COPYING for more information#include <sqlrelay/sqlrclient.h>const char *sqlrconnection::getConnectionSocket() { if (!suspendsessionsent && !openSession()) { return NULL; } if (debug) { debugPreStart(); debugPrint("Getting connection socket: "); if (connectionunixport) { debugPrint(connectionunixport); } debugPrint("\n"); debugPreEnd(); } if (connectionunixport) { return connectionunixport; } return NULL;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?