copyreferences.c
来自「适合于Unix/Linux下的一个持久数据库连接池」· C语言 代码 · 共 30 行
C
30 行
// Copyright (c) 1999-2001 David Muse// See the file COPYING for more information#include <sqlrelay/sqlrclient.h>void sqlrconnection::copyReferences() { // set the flag copyrefs=true; // make copies of some specific things if (server) { char *tempserver=charstring::duplicate(server); server=tempserver; } if (listenerunixport) { char *templistenerunixport= charstring::duplicate(listenerunixport); listenerunixport=templistenerunixport; } if (user) { char *tempuser=charstring::duplicate(user); user=tempuser; } if (password) { char *temppassword=charstring::duplicate(password); password=temppassword; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?