📄 closecursors.c
字号:
// Copyright (c) 1999-2001 David Muse// See the file COPYING for more information#include <sqlrconnection.h>void sqlrconnection_svr::closeCursors(bool destroy) { #ifdef SERVER_DEBUG debugPrint("connection",0,"closing cursors..."); #endif if (cur) { for (int32_t i=0; i<cfgfl->getCursors(); i++) { #ifdef SERVER_DEBUG debugPrint("connection",1,i); #endif if (cur[i]) { cur[i]->closeCursor(); if (destroy) { deleteCursorUpdateStats(cur[i]); } } } if (destroy) { delete[] cur; cur=NULL; } } #ifdef SERVER_DEBUG debugPrint("connection",0,"done closing cursors..."); #endif}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -