Lines Matching refs:sqlite3_stmt
3482 typedef struct sqlite3_stmt sqlite3_stmt;
3636 ** that is returned (the [sqlite3_stmt] object) contains a copy of the
3675 sqlite3_stmt **ppStmt, /* OUT: Statement handle */
3682 sqlite3_stmt **ppStmt, /* OUT: Statement handle */
3689 sqlite3_stmt **ppStmt, /* OUT: Statement handle */
3696 sqlite3_stmt **ppStmt, /* OUT: Statement handle */
3707 SQLITE_API const char *sqlite3_sql(sqlite3_stmt *pStmt);
3738 SQLITE_API int sqlite3_stmt_readonly(sqlite3_stmt *pStmt);
3757 SQLITE_API int sqlite3_stmt_busy(sqlite3_stmt*);
3835 ** a pointer to the [sqlite3_stmt] object returned from
3907 SQLITE_API int sqlite3_bind_blob(sqlite3_stmt*, int, const void*, int n, void(*)(void*));
3908 SQLITE_API int sqlite3_bind_double(sqlite3_stmt*, int, double);
3909 SQLITE_API int sqlite3_bind_int(sqlite3_stmt*, int, int);
3910 SQLITE_API int sqlite3_bind_int64(sqlite3_stmt*, int, sqlite3_int64);
3911 SQLITE_API int sqlite3_bind_null(sqlite3_stmt*, int);
3912 SQLITE_API int sqlite3_bind_text(sqlite3_stmt*, int, const char*, int n, void(*)(void*));
3913 SQLITE_API int sqlite3_bind_text16(sqlite3_stmt*, int, const void*, int, void(*)(void*));
3914 SQLITE_API int sqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*);
3915 SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt*, int, int n);
3935 SQLITE_API int sqlite3_bind_parameter_count(sqlite3_stmt*);
3962 SQLITE_API const char *sqlite3_bind_parameter_name(sqlite3_stmt*, int);
3978 SQLITE_API int sqlite3_bind_parameter_index(sqlite3_stmt*, const char *zName);
3987 SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt*);
3998 SQLITE_API int sqlite3_column_count(sqlite3_stmt *pStmt);
4026 SQLITE_API const char *sqlite3_column_name(sqlite3_stmt*, int N);
4027 SQLITE_API const void *sqlite3_column_name16(sqlite3_stmt*, int N);
4074 SQLITE_API const char *sqlite3_column_database_name(sqlite3_stmt*,int);
4075 SQLITE_API const void *sqlite3_column_database_name16(sqlite3_stmt*,int);
4076 SQLITE_API const char *sqlite3_column_table_name(sqlite3_stmt*,int);
4077 SQLITE_API const void *sqlite3_column_table_name16(sqlite3_stmt*,int);
4078 SQLITE_API const char *sqlite3_column_origin_name(sqlite3_stmt*,int);
4079 SQLITE_API const void *sqlite3_column_origin_name16(sqlite3_stmt*,int);
4110 SQLITE_API const char *sqlite3_column_decltype(sqlite3_stmt*,int);
4111 SQLITE_API const void *sqlite3_column_decltype16(sqlite3_stmt*,int);
4190 SQLITE_API int sqlite3_step(sqlite3_stmt*);
4210 SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt);
4252 ** to the [prepared statement] that is being evaluated (the [sqlite3_stmt*]
4406 SQLITE_API const void *sqlite3_column_blob(sqlite3_stmt*, int iCol);
4407 SQLITE_API int sqlite3_column_bytes(sqlite3_stmt*, int iCol);
4408 SQLITE_API int sqlite3_column_bytes16(sqlite3_stmt*, int iCol);
4409 SQLITE_API double sqlite3_column_double(sqlite3_stmt*, int iCol);
4410 SQLITE_API int sqlite3_column_int(sqlite3_stmt*, int iCol);
4411 SQLITE_API sqlite3_int64 sqlite3_column_int64(sqlite3_stmt*, int iCol);
4412 SQLITE_API const unsigned char *sqlite3_column_text(sqlite3_stmt*, int iCol);
4413 SQLITE_API const void *sqlite3_column_text16(sqlite3_stmt*, int iCol);
4414 SQLITE_API int sqlite3_column_type(sqlite3_stmt*, int iCol);
4415 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt*, int iCol);
4442 SQLITE_API int sqlite3_finalize(sqlite3_stmt *pStmt);
4468 SQLITE_API int sqlite3_reset(sqlite3_stmt *pStmt);
4615 SQLITE_API SQLITE_DEPRECATED int sqlite3_expired(sqlite3_stmt*);
4616 SQLITE_API SQLITE_DEPRECATED int sqlite3_transfer_bindings(sqlite3_stmt*, sqlite3_stmt*);
4644 ** pointer instead of a [sqlite3_stmt*] pointer and an integer column number.
5260 SQLITE_API sqlite3 *sqlite3_db_handle(sqlite3_stmt*);
5300 SQLITE_API sqlite3_stmt *sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt);
6844 SQLITE_API int sqlite3_stmt_status(sqlite3_stmt*, int op,int resetFlg);
12421 SQLITE_PRIVATE int sqlite3TransferBindings(sqlite3_stmt *, sqlite3_stmt *);
13539 ** The "sqlite3_stmt" structure pointer that is returned by sqlite3_prepare()
59963 ** a VDBE (or an "sqlite3_stmt" as it is known to the outside world.) Prior
60003 SQLITE_API const char *sqlite3_sql(sqlite3_stmt *pStmt){
63228 SQLITE_API int sqlite3_expired(sqlite3_stmt *pStmt){
63265 SQLITE_API int sqlite3_finalize(sqlite3_stmt *pStmt){
63291 SQLITE_API int sqlite3_reset(sqlite3_stmt *pStmt){
63310 SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt *pStmt){
63559 sqlite3_reset((sqlite3_stmt*)p);
63564 sqlite3_reset((sqlite3_stmt*)p);
63661 SQLITE_API int sqlite3_step(sqlite3_stmt *pStmt){
63857 SQLITE_API int sqlite3_column_count(sqlite3_stmt *pStmt){
63866 SQLITE_API int sqlite3_data_count(sqlite3_stmt *pStmt){
63879 static Mem *columnMem(sqlite3_stmt *pStmt, int i){
63936 static void columnMallocFailure(sqlite3_stmt *pStmt)
63954 SQLITE_API const void *sqlite3_column_blob(sqlite3_stmt *pStmt, int i){
63964 SQLITE_API int sqlite3_column_bytes(sqlite3_stmt *pStmt, int i){
63969 SQLITE_API int sqlite3_column_bytes16(sqlite3_stmt *pStmt, int i){
63974 SQLITE_API double sqlite3_column_double(sqlite3_stmt *pStmt, int i){
63979 SQLITE_API int sqlite3_column_int(sqlite3_stmt *pStmt, int i){
63984 SQLITE_API sqlite_int64 sqlite3_column_int64(sqlite3_stmt *pStmt, int i){
63989 SQLITE_API const unsigned char *sqlite3_column_text(sqlite3_stmt *pStmt, int i){
63994 SQLITE_API sqlite3_value *sqlite3_column_value(sqlite3_stmt *pStmt, int i){
64004 SQLITE_API const void *sqlite3_column_text16(sqlite3_stmt *pStmt, int i){
64010 SQLITE_API int sqlite3_column_type(sqlite3_stmt *pStmt, int i){
64018 /*int sqlite3_column_numeric_type(sqlite3_stmt *pStmt, int i){
64040 sqlite3_stmt *pStmt,
64073 SQLITE_API const char *sqlite3_column_name(sqlite3_stmt *pStmt, int N){
64078 SQLITE_API const void *sqlite3_column_name16(sqlite3_stmt *pStmt, int N){
64098 SQLITE_API const char *sqlite3_column_decltype(sqlite3_stmt *pStmt, int N){
64103 SQLITE_API const void *sqlite3_column_decltype16(sqlite3_stmt *pStmt, int N){
64116 SQLITE_API const char *sqlite3_column_database_name(sqlite3_stmt *pStmt, int N){
64121 SQLITE_API const void *sqlite3_column_database_name16(sqlite3_stmt *pStmt, int N){
64132 SQLITE_API const char *sqlite3_column_table_name(sqlite3_stmt *pStmt, int N){
64137 SQLITE_API const void *sqlite3_column_table_name16(sqlite3_stmt *pStmt, int N){
64148 SQLITE_API const char *sqlite3_column_origin_name(sqlite3_stmt *pStmt, int N){
64153 SQLITE_API const void *sqlite3_column_origin_name16(sqlite3_stmt *pStmt, int N){
64221 sqlite3_stmt *pStmt, /* The statement to bind against */
64255 sqlite3_stmt *pStmt,
64263 SQLITE_API int sqlite3_bind_double(sqlite3_stmt *pStmt, int i, double rValue){
64273 SQLITE_API int sqlite3_bind_int(sqlite3_stmt *p, int i, int iValue){
64276 SQLITE_API int sqlite3_bind_int64(sqlite3_stmt *pStmt, int i, sqlite_int64 iValue){
64286 SQLITE_API int sqlite3_bind_null(sqlite3_stmt *pStmt, int i){
64296 sqlite3_stmt *pStmt,
64306 sqlite3_stmt *pStmt,
64315 SQLITE_API int sqlite3_bind_value(sqlite3_stmt *pStmt, int i, const sqlite3_value *pValue){
64346 SQLITE_API int sqlite3_bind_zeroblob(sqlite3_stmt *pStmt, int i, int n){
64361 SQLITE_API int sqlite3_bind_parameter_count(sqlite3_stmt *pStmt){
64372 SQLITE_API const char *sqlite3_bind_parameter_name(sqlite3_stmt *pStmt, int i){
64400 SQLITE_API int sqlite3_bind_parameter_index(sqlite3_stmt *pStmt, const char *zName){
64407 SQLITE_PRIVATE int sqlite3TransferBindings(sqlite3_stmt *pFromStmt, sqlite3_stmt *pToStmt){
64434 SQLITE_API int sqlite3_transfer_bindings(sqlite3_stmt *pFromStmt, sqlite3_stmt *pToStmt){
64456 SQLITE_API sqlite3 *sqlite3_db_handle(sqlite3_stmt *pStmt){
64464 SQLITE_API int sqlite3_stmt_readonly(sqlite3_stmt *pStmt){
64471 SQLITE_API int sqlite3_stmt_busy(sqlite3_stmt *pStmt){
64482 SQLITE_API sqlite3_stmt *sqlite3_next_stmt(sqlite3 *pDb, sqlite3_stmt *pStmt){
64483 sqlite3_stmt *pNext;
64486 pNext = (sqlite3_stmt*)pDb->pVdbe;
64488 pNext = (sqlite3_stmt*)((Vdbe*)pStmt)->pNext;
64497 SQLITE_API int sqlite3_stmt_status(sqlite3_stmt *pStmt, int op, int resetFlag){
64819 ** In the external interface, an "sqlite3_stmt*" is an opaque pointer
66444 ** with an SQLITE_ROW return code and it sets up the sqlite3_stmt
71733 sqlite3_stmt *pStmt; /* Statement holding cursor open */
71955 pBlob->pStmt = (sqlite3_stmt *)sqlite3VdbeCreate(db);
81170 sqlite3_stmt *pStmt = 0; /* An SQL statement being run */
92053 sqlite3_stmt *pStmt = 0; /* The current SQL statement */
92214 int (*bind_blob)(sqlite3_stmt*,int,const void*,int n,void(*)(void*));
92215 int (*bind_double)(sqlite3_stmt*,int,double);
92216 int (*bind_int)(sqlite3_stmt*,int,int);
92217 int (*bind_int64)(sqlite3_stmt*,int,sqlite_int64);
92218 int (*bind_null)(sqlite3_stmt*,int);
92219 int (*bind_parameter_count)(sqlite3_stmt*);
92220 int (*bind_parameter_index)(sqlite3_stmt*,const char*zName);
92221 const char * (*bind_parameter_name)(sqlite3_stmt*,int);
92222 int (*bind_text)(sqlite3_stmt*,int,const char*,int n,void(*)(void*));
92223 int (*bind_text16)(sqlite3_stmt*,int,const void*,int,void(*)(void*));
92224 int (*bind_value)(sqlite3_stmt*,int,const sqlite3_value*);
92233 const void * (*column_blob)(sqlite3_stmt*,int iCol);
92234 int (*column_bytes)(sqlite3_stmt*,int iCol);
92235 int (*column_bytes16)(sqlite3_stmt*,int iCol);
92236 int (*column_count)(sqlite3_stmt*pStmt);
92237 const char * (*column_database_name)(sqlite3_stmt*,int);
92238 const void * (*column_database_name16)(sqlite3_stmt*,int);
92239 const char * (*column_decltype)(sqlite3_stmt*,int i);
92240 const void * (*column_decltype16)(sqlite3_stmt*,int);
92241 double (*column_double)(sqlite3_stmt*,int iCol);
92242 int (*column_int)(sqlite3_stmt*,int iCol);
92243 sqlite_int64 (*column_int64)(sqlite3_stmt*,int iCol);
92244 const char * (*column_name)(sqlite3_stmt*,int);
92245 const void * (*column_name16)(sqlite3_stmt*,int);
92246 const char * (*column_origin_name)(sqlite3_stmt*,int);
92247 const void * (*column_origin_name16)(sqlite3_stmt*,int);
92248 const char * (*column_table_name)(sqlite3_stmt*,int);
92249 const void * (*column_table_name16)(sqlite3_stmt*,int);
92250 const unsigned char * (*column_text)(sqlite3_stmt*,int iCol);
92251 const void * (*column_text16)(sqlite3_stmt*,int iCol);
92252 int (*column_type)(sqlite3_stmt*,int iCol);
92253 sqlite3_value* (*column_value)(sqlite3_stmt*,int iCol);
92270 int (*data_count)(sqlite3_stmt*pStmt);
92271 sqlite3 * (*db_handle)(sqlite3_stmt*);
92278 int (*expired)(sqlite3_stmt*);
92279 int (*finalize)(sqlite3_stmt*pStmt);
92294 int (*prepare)(sqlite3*,const char*,int,sqlite3_stmt**,const char**);
92295 int (*prepare16)(sqlite3*,const void*,int,sqlite3_stmt**,const void**);
92299 int (*reset)(sqlite3_stmt*pStmt);
92317 int (*step)(sqlite3_stmt*);
92323 int (*transfer_bindings)(sqlite3_stmt*,sqlite3_stmt*);
92343 int (*prepare_v2)(sqlite3*,const char*,int,sqlite3_stmt**,const char**);
92344 int (*prepare16_v2)(sqlite3*,const void*,int,sqlite3_stmt**,const void**);
92345 int (*clear_bindings)(sqlite3_stmt*);
92350 int (*bind_zeroblob)(sqlite3_stmt*,int,int);
92385 sqlite3_stmt *(*next_stmt)(sqlite3*,sqlite3_stmt*);
92386 const char *(*sql)(sqlite3_stmt*);
92407 int (*stmt_status)(sqlite3_stmt*,int,int);
92422 int (*stmt_busy)(sqlite3_stmt*);
92423 int (*stmt_readonly)(sqlite3_stmt*);
95279 sqlite3_stmt *pStmt;
95736 int saveSqlFlag, /* True to copy SQL text into the sqlite3_stmt */
95738 sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */
95867 *ppStmt = (sqlite3_stmt*)pParse->pVdbe;
95895 int saveSqlFlag, /* True to copy SQL text into the sqlite3_stmt */
95897 sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */
95929 sqlite3_stmt *pNew;
95934 zSql = sqlite3_sql((sqlite3_stmt *)p);
95949 sqlite3TransferBindings(pNew, (sqlite3_stmt*)p);
95968 sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */
95980 sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */
95998 int saveSqlFlag, /* True to save SQL text into the sqlite3_stmt */
95999 sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */
96048 sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */
96060 sqlite3_stmt **ppStmt, /* OUT: A pointer to the prepared statement */
102945 static int vacuumFinalize(sqlite3 *db, sqlite3_stmt *pStmt, char **pzErrMsg){
102958 sqlite3_stmt *pStmt;
102977 sqlite3_stmt *pStmt;
115664 ** every sqlite3_stmt has now been finalized and every sqlite3_backup has
115671 /* If there are outstanding sqlite3_stmt or sqlite3_backup objects
115681 ** closed all sqlite3_stmt and sqlite3_backup objects and has been
118018 ** sqlite3_stmt*,const char**);
118020 ** If compiled with SQLITE_ENABLE_TREE_EXPLAIN, each sqlite3_stmt holds
118025 sqlite3_stmt *pStmt = va_arg(ap, sqlite3_stmt*);
119229 sqlite3_stmt *aStmt[37];
119292 sqlite3_stmt *pStmt; /* Prepared statement in use by the cursor */
119446 SQLITE_PRIVATE int sqlite3Fts3AllSegdirs(Fts3Table*, int, int, int, sqlite3_stmt **);
119450 SQLITE_PRIVATE int sqlite3Fts3SelectDoctotal(Fts3Table *, sqlite3_stmt **);
119451 SQLITE_PRIVATE int sqlite3Fts3SelectDocsize(Fts3Table *, sqlite3_int64, sqlite3_stmt **);
119959 sqlite3_stmt *pStmt; /* Compiled "PRAGMA %Q.page_size" statement */
120284 sqlite3_stmt *pStmt = 0; /* Compiled version of zSql */
120837 static int fts3CursorSeekStmt(Fts3Cursor *pCsr, sqlite3_stmt **ppStmt){
120859 sqlite3_stmt *pStmt = 0;
121928 sqlite3_stmt *pStmt = 0; /* Statement to iterate through segments */
123552 sqlite3_stmt *pStmt;
126228 sqlite3_stmt *pStmt;
127782 sqlite3_stmt *pStmt;
127804 sqlite3_stmt *pStmt;
128916 sqlite3_stmt **pp, /* OUT: Statement handle */
129006 sqlite3_stmt *pStmt;
129045 sqlite3_stmt **ppStmt /* OUT: Statement handle */
129047 sqlite3_stmt *pStmt = 0; /* Statement requested from fts3SqlStmt() */
129069 sqlite3_stmt **ppStmt /* OUT: Statement handle */
129071 sqlite3_stmt *pStmt = 0;
129091 sqlite3_stmt **ppStmt /* OUT: Statement handle */
129110 sqlite3_stmt *pStmt;
129143 sqlite3_stmt *pStmt; /* Statement used to obtain lock */
129219 sqlite3_stmt **ppStmt /* OUT: Compiled statement */
129222 sqlite3_stmt *pStmt = 0;
129571 sqlite3_stmt *pContentInsert; /* INSERT INTO %_content VALUES(...) */
129663 static int langidFromSelect(Fts3Table *p, sqlite3_stmt *pSelect){
129682 sqlite3_stmt *pSelect;
129740 sqlite3_stmt *pNextIdx; /* Query for next idx at level iLevel */
130503 sqlite3_stmt *pStmt;
130522 sqlite3_stmt *pStmt = 0;
130548 sqlite3_stmt *pStmt;
130810 sqlite3_stmt *pStmt;
130988 sqlite3_stmt *pStmt;
131020 sqlite3_stmt *pStmt;
131053 sqlite3_stmt *pDelete; /* SQL statement to delete rows */
131089 sqlite3_stmt *pDelete = 0; /* SQL statement to delete rows */
131688 sqlite3_stmt *pStmt = 0;
131747 sqlite3_stmt *pStmt; /* Statement used to insert the encoding */
131794 sqlite3_stmt *pStmt; /* Statement for reading and writing */
131862 sqlite3_stmt *pAllLangid = 0;
131907 sqlite3_stmt *pStmt = 0;
131984 sqlite3_stmt *pStmt = 0; /* Statement used to read %_segdir entry */
132542 sqlite3_stmt *pCheck = 0; /* Statement to query database with */
132580 sqlite3_stmt *pSelect = 0; /* SELECT to read %_segdir entry */
132705 sqlite3_stmt *pOutputIdx = 0; /* SQL used to find output index */
132754 sqlite3_stmt *pLeafEst = 0; /* SQL used to determine nLeafEst */
132755 sqlite3_stmt *pFirstBlock = 0; /* SQL used to determine first block */
132815 sqlite3_stmt *pDelete = 0; /* DELETE statement */
132842 sqlite3_stmt *pSelect = 0; /* Select statement to read idx values */
132843 sqlite3_stmt *pUpdate = 0; /* Update statement to modify idx values */
132976 sqlite3_stmt *pFetch = 0; /* Statement used to fetch segdir */
133010 sqlite3_stmt *pDel = 0;
133021 sqlite3_stmt *pChomp = 0;
133100 sqlite3_stmt *pReplace = 0;
133123 sqlite3_stmt *pSelect = 0;
133226 sqlite3_stmt *pFindLevel = 0; /* SQL used to determine iAbsLevel */
133405 sqlite3_stmt *pStmt = 0;
133533 sqlite3_stmt *pAllLangid = 0; /* Statement to return all language-ids */
133555 sqlite3_stmt *pStmt = 0;
134894 sqlite3_stmt **ppStmt,
134898 sqlite3_stmt *pStmt;
135074 sqlite3_stmt *pSelect = 0;
135115 sqlite3_stmt *pSelectDocsize = 0;
136491 sqlite3_stmt *pReadNode;
136492 sqlite3_stmt *pWriteNode;
136493 sqlite3_stmt *pDeleteNode;
136496 sqlite3_stmt *pReadRowid;
136497 sqlite3_stmt *pWriteRowid;
136498 sqlite3_stmt *pDeleteRowid;
136501 sqlite3_stmt *pReadParent;
136502 sqlite3_stmt *pWriteParent;
136503 sqlite3_stmt *pDeleteParent;
136959 sqlite3_stmt *p = pRtree->pWriteNode;
139293 sqlite3_stmt **appStmt[N_STATEMENT];
139349 sqlite3_stmt *pStmt = 0;