📄 skiprows.c
字号:
// Copyright (c) 1999-2001 David Muse// See the file COPYING for more information#include <sqlrconnection.h>bool sqlrconnection_svr::skipRows(sqlrcursor_svr *cursor, uint64_t rows) { #ifdef SERVER_DEBUG debugstr=new stringbuffer(); debugstr->append("skipping "); debugstr->append(rows); debugstr->append(" rows..."); debugPrint("connection",2,debugstr->getString()); delete debugstr; #endif for (uint64_t i=0; i<rows; i++) { #ifdef SERVER_DEBUG debugPrint("connection",3,"skip..."); #endif if (lastrowvalid) { lastrow++; } else { lastrowvalid=true; lastrow=0; } if (!cursor->skipRow()) { #ifdef SERVER_DEBUG debugPrint("connection",2, "skipping rows hit the end of the result set"); #endif return false; } } #ifdef SERVER_DEBUG debugPrint("connection",2,"done skipping rows"); #endif return true;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -