experimental.c

来自「一个小型的嵌入式数据库」· C语言 代码 · 共 39 行

C
39
字号
/*** 2001 September 15**** The author disclaims copyright to this source code.  In place of** a legal notice, here is a blessing:****    May you do good and not evil.**    May you find forgiveness for yourself and forgive others.**    May you share freely, never taking more than you give.***************************************************************************** This file contains C code routines that are called by the parser** to handle SELECT statements in SQLite.**** $Id: experimental.c,v 1.2 2005/01/20 01:17:44 danielk1977 Exp $*/#include "sqliteInt.h"/*** Set all the parameters in the compiled SQL statement to NULL.*/int sqlite3_clear_bindings(sqlite3_stmt *pStmt){  int i;  int rc = SQLITE_OK;  for(i=1; rc==SQLITE_OK && i<=sqlite3_bind_parameter_count(pStmt); i++){    rc = sqlite3_bind_null(pStmt, i);  }  return rc;}/*** Sleep for a little while.  Return the amount of time slept.*/int sqlite3_sleep(int ms){  return sqlite3OsSleep(ms);}

⌨️ 快捷键说明

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