4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing:
7 ** May you do good and not evil.
8 ** May you find forgiveness for yourself and forgive others.
9 ** May you share freely, never taking more than you give.
11 *************************************************************************
12 ** This file contains C code routines that are not a part of the official
13 ** SQLite API. These routines are unsupported.
17 #include "sqliteInt.h"
20 ** Set all the parameters in the compiled SQL statement to NULL.
22 int sqlite3_clear_bindings(sqlite3_stmt
*pStmt
){
25 for(i
=1; rc
==SQLITE_OK
&& i
<=sqlite3_bind_parameter_count(pStmt
); i
++){
26 rc
= sqlite3_bind_null(pStmt
, i
);
32 ** Sleep for a little while. Return the amount of time slept.
34 int sqlite3_sleep(int ms
){
35 return sqlite3OsSleep(ms
);