/external/chromium_org/third_party/sqlite/src/test/ |
crashtest1.c | 28 char *zErr; 42 db = sqlite_open("./test.db", 0, &zErr); 44 printf("ERROR: %s\n", zErr); 45 if( strcmp(zErr,"database disk image is malformed")==0 ){ 54 "INSERT INTO t1 VALUES(%d,'%d%s')", 0, 0, &zErr, 58 printf("ERROR #%d: %s\n", rc, zErr); 70 char *zErr; 76 db = sqlite_open("test.db", 0, &zErr); 78 printf("Cannot initialize: %s\n", zErr);
|
threadtest3.c | 407 char *zErr; 437 sqlite3_free(p->zErr); 438 p->zErr = 0; 444 printf("Error: (%d) \"%s\" at line %d\n", p->rc, p->zErr, p->iLine); 456 pErr->zErr = (char *)sqlite3_malloc(512); 457 strerror_r(iSys, pErr->zErr, 512); 458 pErr->zErr[511] = '\0'; 467 pErr->zErr = sqlite3_mprintf( 475 char *zErr 479 pErr->zErr = zErr [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
vdbeblob.c | 55 char *zErr = 0; /* Error message */ 69 zErr = sqlite3MPrintf(p->db, "cannot open value of type %s", 91 zErr = sqlite3MPrintf(p->db, "no such rowid: %lld", iRow); 94 zErr = sqlite3MPrintf(p->db, "%s", sqlite3_errmsg(p->db)); 98 assert( rc!=SQLITE_OK || zErr==0 ); 101 *pzErr = zErr; 154 char *zErr = 0; 172 sqlite3DbFree(db, zErr); 173 zErr = 0; 189 sqlite3DbFree(db, zErr); [all...] |
test8.c | 94 const char *zErr; 98 zErr = Tcl_GetVar(p->interp, zVarname, TCL_GLOBAL_ONLY); 99 if( zErr ){ 100 p->base.zErrMsg = sqlite3_mprintf("echo-vtab-error: %s", zErr); 102 return (zErr!=0); [all...] |
test_autoext.c | 78 char *zErr; 80 zErr = sqlite3_mprintf("broken autoext!"); 81 *pzErrMsg = zErr;
|
test_loadext.c | 117 char *zErr; 119 zErr = sqlite3_mprintf("broken!"); 120 *pzErrMsg = zErr;
|
test3.c | 461 char zErr[200]; 464 sprintf(zErr, "putVarint returned %d - should be between 1 and 9", n1); 465 Tcl_AppendResult(interp, zErr, 0); 470 sprintf(zErr, "putVarint returned %d and getVarint returned %d", n1, n2); 471 Tcl_AppendResult(interp, zErr, 0); 475 sprintf(zErr, "Wrote 0x%016llx and got back 0x%016llx", in, out); 476 Tcl_AppendResult(interp, zErr, 0); 484 sprintf(zErr, "putVarint returned %d and GetVarint32 returned %d", 486 Tcl_AppendResult(interp, zErr, 0); 490 sprintf(zErr, "Wrote 0x%016llx and got back 0x%016llx from GetVarint32" [all...] |
test7.c | 65 char *zErr; /* operation error */ 90 p->zErr = strdup(sqlite3_errmsg(p->db)); 98 if( p->zErr && p->zErr!=p->zStaticErr ){ 99 sqlite3_free(p->zErr); 100 p->zErr = 0; 114 if( p->zErr && p->zErr!=p->zStaticErr ){ 115 sqlite3_free(p->zErr); 116 p->zErr = 0 [all...] |
attach.c | 245 char zErr[128]; 257 sqlite3_snprintf(sizeof(zErr),zErr, "no such database: %s", zName); 261 sqlite3_snprintf(sizeof(zErr),zErr, "cannot detach database %s", zName); 265 sqlite3_snprintf(sizeof(zErr), zErr, 270 sqlite3_snprintf(sizeof(zErr),zErr, "database %s is locked", zName); 281 sqlite3_result_error(context, zErr, -1) [all...] |
test4.c | 42 char *zErr; /* operation error */ 68 p->zErr = strdup(sqlite3_errmsg(p->db)); 76 if( p->zErr && p->zErr!=p->zStaticErr ){ 77 sqlite3_free(p->zErr); 78 p->zErr = 0; 92 if( p->zErr && p->zErr!=p->zStaticErr ){ 93 sqlite3_free(p->zErr); 94 p->zErr = 0 [all...] |
vtab.c | 441 char *zErr = 0; 461 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr); 465 if( zErr==0 ){ 468 *pzErr = sqlite3MPrintf(db, "%s", zErr); 469 sqlite3_free(zErr); 556 char *zErr = 0; 557 rc = vtabCallConstructor(db, pTab, pMod, pMod->pModule->xConnect, &zErr); 559 sqlite3ErrorMsg(pParse, "%s", zErr); 561 sqlite3DbFree(db, zErr); 642 char *zErr = 0 [all...] |
test1.c | 314 char *zErr = 0; 325 rc = sqlite3_exec(db, zSql, exec_printf_cb, &str, &zErr); 329 Tcl_AppendElement(interp, rc==SQLITE_OK ? Tcl_DStringValue(&str) : zErr); 331 if( zErr ) sqlite3_free(zErr); 352 char *zErr = 0; 373 rc = sqlite3_exec(db, zSql, exec_printf_cb, &str, &zErr); 376 Tcl_AppendElement(interp, rc==SQLITE_OK ? Tcl_DStringValue(&str) : zErr); 378 if( zErr ) sqlite3_free(zErr); [all...] |
test_func.c | 310 char *zErr; 312 zErr = sqlite3_mprintf("sqlite3_prepare_v2() error: %s",sqlite3_errmsg(db)); 313 sqlite3_result_text(pCtx, zErr, -1, sqlite3_free);
|
test_malloc.c | 639 char *zErr = 0; 643 zErr = "option requires an argument: "; 651 zErr = "option requires an argument: "; 656 zErr = "unknown option: "; 659 if( zErr ){ 660 Tcl_AppendResult(interp, zErr, zOption, 0); [all...] |
vdbeapi.c | 494 const char *zErr = (const char *)sqlite3_value_text(db->pErr); 497 v->zErrMsg = sqlite3DbStrDup(db, zErr); 547 char *zErr; 549 zErr = sqlite3_mprintf( 551 sqlite3_result_error(context, zErr, -1); 552 sqlite3_free(zErr); [all...] |
resolve.c | 351 const char *zErr; 352 zErr = cnt==0 ? "no such column" : "ambiguous column name"; 354 sqlite3ErrorMsg(pParse, "%s: %s.%s.%s", zErr, zDb, zTab, zCol); 356 sqlite3ErrorMsg(pParse, "%s: %s.%s", zErr, zTab, zCol); 358 sqlite3ErrorMsg(pParse, "%s: %s", zErr, zCol); [all...] |
insert.c | [all...] |
os_unix.c | [all...] |
test_vfstrace.c | 673 static int vfstraceGetLastError(sqlite3_vfs *pVfs, int iErr, char *zErr){ 676 return pRoot->xGetLastError(pRoot, iErr, zErr);
|
tclsqlite.c | [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
fts2_tokenizer.c | 93 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName); 94 sqlite3_result_error(context, zErr, -1); 95 sqlite3_free(zErr); 144 const char *zErr = 0; 176 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName); 177 sqlite3_result_error(context, zErr, -1); 178 sqlite3_free(zErr); 186 zErr = "error in xCreate()"; 191 zErr = "error in xOpen()"; 205 zErr = "error in xClose()" [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
fts3_tokenizer.c | 90 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName); 91 sqlite3_result_error(context, zErr, -1); 92 sqlite3_free(zErr); 250 const char *zErr = 0; 282 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName); 283 sqlite3_result_error(context, zErr, -1); 284 sqlite3_free(zErr); 292 zErr = "error in xCreate()"; 297 zErr = "error in xOpen()"; 311 zErr = "error in xClose()" [all...] |
fts3_snippet.c | [all...] |
fts3.c | [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
rollback-test.c | 61 char *zErr = 0; 64 rc = sqlite3_exec(db, zSql, execCallback, 0, &zErr); 65 if( zErr ){ 66 fprintf(stderr, "SQL error: %s\n", zErr);
|