/external/chromium_org/third_party/sqlite/src/test/ |
H A D | crashtest1.c | 28 char *zErr; local 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; local 76 db = sqlite_open("test.db", 0, &zErr); 78 printf("Cannot initialize: %s\n", zErr);
|
H A D | threadtest3.c | 407 char *zErr; member in struct:Error 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 697 char *zErr = 0; /* Integrity check error */ local [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
H A D | test_autoext.c | 78 char *zErr; local 80 zErr = sqlite3_mprintf("broken autoext!"); 81 *pzErrMsg = zErr;
|
H A D | test_loadext.c | 117 char *zErr; local 119 zErr = sqlite3_mprintf("broken!"); 120 *pzErrMsg = zErr;
|
H A D | vdbeblob.c | 55 char *zErr = 0; /* Error message */ local 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; local 172 sqlite3DbFree(db, zErr); 173 zErr = 0; 189 sqlite3DbFree(db, zErr); 451 char *zErr; local [all...] |
H A D | attach.c | 245 char zErr[128]; local 257 sqlite3_snprintf(sizeof(zErr),zErr, "no such database: %s", zName); local 261 sqlite3_snprintf(sizeof(zErr),zErr, "cannot detach database %s", zName); local 265 sqlite3_snprintf(sizeof(zErr), zErr, local 270 sqlite3_snprintf(sizeof(zErr),zErr, "database %s is locked", zName); local 281 sqlite3_result_error(context, zErr, [all...] |
H A D | test3.c | 461 char zErr[200]; local 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, "Wrot [all...] |
H A D | test4.c | 42 char *zErr; /* operation error */ member in struct:Thread 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 [all...] |
H A D | test7.c | 65 char *zErr; /* operation error */ member in struct:Thread 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 [all...] |
H A D | resolve.c | 351 const char *zErr; local 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);
|
H A D | test_func.c | 310 char *zErr; local 312 zErr = sqlite3_mprintf("sqlite3_prepare_v2() error: %s",sqlite3_errmsg(db)); 313 sqlite3_result_text(pCtx, zErr, -1, sqlite3_free);
|
H A D | test_vfstrace.c | 673 static int vfstraceGetLastError(sqlite3_vfs *pVfs, int iErr, char *zErr){ argument 676 return pRoot->xGetLastError(pRoot, iErr, zErr);
|
H A D | vtab.c | 441 char *zErr = 0; local 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; local 557 rc = vtabCallConstructor(db, pTab, pMod, pMod->pModule->xConnect, &zErr); 559 sqlite3ErrorMsg(pParse, "%s", zErr); 561 sqlite3DbFree(db, zErr); 642 char *zErr local [all...] |
H A D | insert.c | 1368 char *zErr; local 1381 zErr = sqlite3StrAccumFinish(&errMsg); 1382 sqlite3HaltConstraint(pParse, onError, zErr, 0); 1383 sqlite3DbFree(errMsg.db, zErr);
|
H A D | test8.c | 94 const char *zErr; local 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);
|
H A D | test_malloc.c | 639 char *zErr = 0; local 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);
|
H A D | vdbeapi.c | 494 const char *zErr = (const char *)sqlite3_value_text(db->pErr); local 497 v->zErrMsg = sqlite3DbStrDup(db, zErr); 547 char *zErr; local 549 zErr = sqlite3_mprintf( 551 sqlite3_result_error(context, zErr, -1); 552 sqlite3_free(zErr);
|
H A D | os_unix.c | 982 char *zErr; /* Message from strerror() or equivalent */ local 992 zErr = aErr; 1007 zErr = 1013 zErr = ""; 1016 zErr = strerror(iErrno); 1023 iLine, iErrno, zFunc, zPath, zErr 5300 const char *zErr; local 5303 zErr = dlerror(); 5304 if( zErr ){ 5305 sqlite3_snprintf(nBuf, zBufOut, "%s", zErr); [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
H A D | rollback-test.c | 61 char *zErr = 0; local 64 rc = sqlite3_exec(db, zSql, execCallback, 0, &zErr); 65 if( zErr ){ 66 fprintf(stderr, "SQL error: %s\n", zErr);
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
H A D | fts2_tokenizer.c | 93 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName); local 94 sqlite3_result_error(context, zErr, -1); 95 sqlite3_free(zErr); 144 const char *zErr = 0; local 176 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName); local 177 sqlite3_result_error(context, zErr, -1); 178 sqlite3_free(zErr); 186 zErr = "error in xCreate()"; 191 zErr = "error in xOpen()"; 205 zErr [all...] |
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
H A D | fts3_tokenizer.c | 90 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName); local 91 sqlite3_result_error(context, zErr, -1); 92 sqlite3_free(zErr); 250 const char *zErr = 0; local 282 char *zErr = sqlite3_mprintf("unknown tokenizer: %s", zName); local 283 sqlite3_result_error(context, zErr, -1); 284 sqlite3_free(zErr); 292 zErr = "error in xCreate()"; 297 zErr = "error in xOpen()"; 311 zErr [all...] |
H A D | fts3_snippet.c | 1596 char *zErr = 0; local 1597 if( fts3MatchinfoCheck(pTab, zArg[i], &zErr) ){ 1598 sqlite3_result_error(pContext, zErr, -1); 1599 sqlite3_free(zErr);
|
H A D | fts3.c | 3345 char *zErr = sqlite3_mprintf("illegal first argument to %s", zFunc); local 3346 sqlite3_result_error(pContext, zErr, -1); 3347 sqlite3_free(zErr);
|
/external/sqlite/dist/orig/ |
H A D | shell.c | 1356 char *zErr = 0; local 1357 rc = sqlite3_exec(p->db, zQuery, dump_callback, p, &zErr); 1362 if( zErr ){ 1363 fprintf(p->out, "/****** %s ******/\n", zErr); 1364 sqlite3_free(zErr); 1365 zErr = 0; 1370 rc = sqlite3_exec(p->db, zQ2, dump_callback, p, &zErr); 1372 fprintf(p->out, "/****** ERROR: %s ******/\n", zErr); 1376 sqlite3_free(zErr);
|
/external/sqlite/dist/ |
H A D | shell.c | 1361 char *zErr = 0; local 1362 rc = sqlite3_exec(p->db, zQuery, dump_callback, p, &zErr); 1367 if( zErr ){ 1368 fprintf(p->out, "/****** %s ******/\n", zErr); 1369 sqlite3_free(zErr); 1370 zErr = 0; 1375 rc = sqlite3_exec(p->db, zQ2, dump_callback, p, &zErr); 1377 fprintf(p->out, "/****** ERROR: %s ******/\n", zErr); 1381 sqlite3_free(zErr);
|