/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | table.c | 130 const char *zSql, /* The SQL to be executed */ 154 rc = sqlite_exec(db, zSql, sqlite_get_table_cb, &res, pzErrMsg); 128 sqlite_get_table( sqlite *db, const char *zSql, char ***pazResult, int *pnRow, int *pnColumn, char **pzErrMsg ) argument
|
H A D | tokenize.c | 401 int sqliteRunParser(Parse *pParse, const char *zSql, char **pzErrMsg){ argument 421 pParse->zTail = zSql; 422 while( sqlite_malloc_failed==0 && zSql[i]!=0 ){ 424 pParse->sLastToken.z = &zSql[i]; 426 pParse->sLastToken.n = sqliteGetToken((unsigned char*)&zSql[i], &tokenType); 445 pParse->zTail = &zSql[i]; 459 if( zSql[i]==0 && nErr==0 && pParse->rc==SQLITE_OK ){ 462 pParse->zTail = &zSql[i]; 557 int sqlite_complete(const char *zSql){ argument 577 while( *zSql ){ [all...] |
H A D | vacuum.c | 94 static int execsql(char **pzErrMsg, sqlite *db, const char *zSql){ argument 98 /* printf("***** executing *****\n%s\n", zSql); */ 99 rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg);
|
H A D | main.c | 201 char *zSql = 0; local 341 sqliteSetString(&zSql, 345 sqliteSetString(&zSql, 351 rc = sqlite_exec(db, zSql, sqliteInitCallback, &initData, 0); 353 sqliteFree(zSql); 628 const char *zSql, /* The SQL to be executed */ 640 if( zSql==0 ) return SQLITE_OK; 641 while( rc==SQLITE_OK && zSql[0] ){ 643 rc = sqlite_compile(db, zSql, &zLeftover, &pVm, pzErrMsg); 649 /* This happens if the zSql inpu 626 sqlite_exec( sqlite *db, const char *zSql, sqlite_callback xCallback, void *pArg, char **pzErrMsg ) argument 694 sqlite_compile( sqlite *db, const char *zSql, const char **pzTail, sqlite_vm **ppVm, char **pzErrMsg ) argument [all...] |
H A D | tclsqlite.c | 352 static void DbTraceHandler(void *cd, const char *zSql){ argument 358 Tcl_DStringAppendElement(&str, zSql); 776 char *zSql; local 787 zSql = Tcl_GetStringFromObj(objv[2], 0); 790 Tcl_UtfToExternalDString(NULL, zSql, -1, &dSql); 791 zSql = Tcl_DStringValue(&dSql); 805 rc = sqlite_exec(pDb->db, zSql, DbEvalCallback, &cbData, &zErrMsg); 812 rc = sqlite_exec(pDb->db, zSql, DbEvalCallback2, pList, &zErrMsg); 894 char *zSql; local 900 zSql [all...] |
H A D | printf.c | 820 char *zSql; local 823 zSql = sqlite_vmprintf(sqlFormat, ap); 824 rc = sqlite_exec(db, zSql, xCallback, pArg, errmsg); 825 free(zSql); 854 char *zSql; local 857 zSql = sqlite_vmprintf(sqlFormat, ap); 858 rc = sqlite_get_table(db, zSql, resultp, nrow, ncolumn, errmsg); 859 free(zSql);
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_sqlite.h | 69 sqlite_compile(sqlite *db, const char *zSql, const char **pzTail, argument 96 sqlite_get_table(sqlite *db, const char *zSql, char ***pazResult, int *pnRow, argument 112 sqlite_exec(sqlite *db, const char *zSql, sqlite_callback xCallback, void *pArg, argument
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | threadtest1.c | 106 char *zSql; local 112 zSql = sqlite_vmprintf(zFormat, ap); 116 if( verbose ) printf("QUERY %s: %s\n", zFile, zSql); 117 rc = sqlite_exec(db, zSql, db_query_callback, &sResult, &zErrMsg); 120 rc = sqlite_exec(db, zSql, db_query_callback, &sResult, &zErrMsg); 122 if( verbose ) printf("DONE %s %s\n", zFile, zSql); 124 fprintf(stdout,"%s: query failed: %s - %s\n", zFile, zSql, zErrMsg); 126 free(zSql); 129 sqlite_freemem(zSql); 141 char *zSql; local [all...] |
/illumos-gate/usr/src/cmd/sqlite/ |
H A D | shell.c | 1026 char *zSql = 0; local 1030 while( fflush(p->out), (zLine = one_input_line(zSql, in))!=0 ){ 1036 if( (zSql==0 || zSql[0]==0) && _all_whitespace(zLine) ) continue; 1046 if( zSql==0 ){ 1051 zSql = malloc( nSql+1 ); 1052 strcpy(zSql, zLine); 1056 zSql = realloc( zSql, nSql + len + 2 ); 1057 if( zSql [all...] |