forgotten commit. disabled until egl is adapted.
[AROS-Contrib.git] / sqlite3 / experimental.c
blob0bb0ae334eb2c45793ea150bf262e0fe3bcf0838
1 /*
2 ** 2005 January 20
3 **
4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing:
6 **
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.
15 ** $Id$
17 #include "sqliteInt.h"
20 ** Set all the parameters in the compiled SQL statement to NULL.
22 int sqlite3_clear_bindings(sqlite3_stmt *pStmt){
23 int i;
24 int rc = SQLITE_OK;
25 for(i=1; rc==SQLITE_OK && i<=sqlite3_bind_parameter_count(pStmt); i++){
26 rc = sqlite3_bind_null(pStmt, i);
28 return rc;
32 ** Sleep for a little while. Return the amount of time slept.
34 int sqlite3_sleep(int ms){
35 return sqlite3OsSleep(ms);