Mercurial > audlegacy
view sqlite/experimental.c @ 1695:3cf80d8a6d8d trunk
[svn] - Removed .cpp.o target since we don't have any .cpp files anymore.
- A test build then revealed that we still had two .cpp files in
Plugins/Input/musepack, fixed that.
- Moved nenolod's fix from init.mk to objective.mk.
- Removed call to ldconfig in Makefile and replaced it with a hint to
call ldconfig manually, since ldconfig without parameters breaks some
systems (mainly OpenBSD).
- I hope I did not forget to list a change I did ;)
author | js |
---|---|
date | Fri, 15 Sep 2006 06:36:26 -0700 |
parents | b6b61becdf4e |
children |
line wrap: on
line source
/* ** 2005 January 20 ** ** 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 not a part of the official ** SQLite API. These routines are unsupported. ** ** $Id: experimental.c,v 1.4 2006/01/31 20:49:13 drh Exp $ */ #include "sqliteInt.h" #include "os.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); }