/external/chromium_org/third_party/sqlite/src/test/ |
H A D | threadtest1.c | 105 char *zErrMsg = 0; local 114 rc = sqlite3_exec(db, zSql, db_query_callback, &sResult, &zErrMsg); 116 if( zErrMsg ) free(zErrMsg); 117 rc = sqlite3_exec(db, zSql, db_query_callback, &sResult, &zErrMsg); 120 if( zErrMsg ){ 121 fprintf(stdout,"%s: query failed: %s - %s\n", zFile, zSql, zErrMsg); 122 free(zErrMsg); 140 char *zErrMsg = 0; local 147 rc = sqlite3_exec(db, zSql, 0, 0, &zErrMsg); [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
H A D | table.c | 31 char *zErrMsg; /* Error message text, if an error occurs */ member in struct:TabResult 77 sqlite3_free(p->zErrMsg); 78 p->zErrMsg = sqlite3_mprintf( 133 res.zErrMsg = 0; 150 if( res.zErrMsg ){ 153 *pzErrMsg = sqlite3_mprintf("%s",res.zErrMsg); 155 sqlite3_free(res.zErrMsg); 160 sqlite3_free(res.zErrMsg);
|
H A D | util.c | 134 ** Add an error message to pParse->zErrMsg and increment pParse->nErr. 161 sqlite3DbFree(db, pParse->zErrMsg); 162 pParse->zErrMsg = zMsg;
|
H A D | tokenize.c | 477 if( pParse->rc!=SQLITE_OK && pParse->rc!=SQLITE_DONE && pParse->zErrMsg==0 ){ 478 sqlite3SetString(&pParse->zErrMsg, db, "%s", sqlite3ErrStr(pParse->rc)); 481 if( pParse->zErrMsg ){ 482 *pzErrMsg = pParse->zErrMsg; 484 pParse->zErrMsg = 0;
|
H A D | test_devsym.c | 67 static void devsymDlError(sqlite3_vfs*, int nByte, char *zErrMsg); 328 ** Populate the buffer zErrMsg (size nByte bytes) with a human readable 332 static void devsymDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ argument 333 sqlite3OsDlError(g.pVfs, nByte, zErrMsg);
|
H A D | prepare.c | 429 rc = sqlite3Init(db, &pParse->zErrMsg); 531 char *zErrMsg = 0; /* Error message */ local 599 sqlite3RunParser(pParse, zSqlCopy, &zErrMsg); 606 sqlite3RunParser(pParse, zSql, &zErrMsg); 660 if( zErrMsg ){ 661 sqlite3Error(db, rc, "%s", zErrMsg); 662 sqlite3DbFree(db, zErrMsg);
|
H A D | test_fuzzer.c | 815 sqlite3_free(pVTab->zErrMsg); 816 pVTab->zErrMsg = sqlite3_mprintf("cannot delete from a %s virtual table", 821 sqlite3_free(pVTab->zErrMsg); 822 pVTab->zErrMsg = sqlite3_mprintf("cannot update a %s virtual table", 836 sqlite3_free(pVTab->zErrMsg); 837 pVTab->zErrMsg = sqlite3_mprintf("cost must be positive");
|
H A D | test_demovfs.c | 565 static void demoDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ argument 566 sqlite3_snprintf(nByte, zErrMsg, "Loadable extensions are not supported"); 567 zErrMsg[nByte-1] = '\0';
|
H A D | test8.c | 100 p->base.zErrMsg = sqlite3_mprintf("echo-vtab-error: %s", zErr); 1045 tab->zErrMsg = sqlite3_mprintf("echo-vtab-error: %s", sqlite3_errmsg(db));
|
H A D | vdbe.c | 502 ** Transfer error message text from an sqlite3_vtab.zErrMsg (text stored 503 ** in memory obtained from sqlite3_malloc) into a Vdbe.zErrMsg (text stored 508 sqlite3DbFree(db, p->zErrMsg); 509 p->zErrMsg = sqlite3DbStrDup(db, pVtab->zErrMsg); 510 sqlite3_free(pVtab->zErrMsg); 511 pVtab->zErrMsg = 0; 531 ** from sqlite3_malloc() and p->zErrMsg is made to point to that memory. 854 sqlite3SetString(&p->zErrMsg, db, "%s", pOp->p4.z); 1418 sqlite3SetString(&p->zErrMsg, d [all...] |
H A D | vdbeblob.c | 188 if( pParse->zErrMsg ){ 190 zErr = pParse->zErrMsg; 191 pParse->zErrMsg = 0;
|
H A D | vdbeaux.c | 1188 sqlite3SetString(&p->zErrMsg, db, "%s", sqlite3ErrStr(p->rc)); 1630 sqlite3DbFree(db, p->zErrMsg); 1631 p->zErrMsg = 0; 1716 rc = sqlite3VtabSync(db, &p->zErrMsg); 2042 sqlite3SetString(&p->zErrMsg, db, "foreign key constraint failed"); 2207 sqlite3DbFree(db, p->zErrMsg); 2208 p->zErrMsg = 0; 2301 if( p->zErrMsg ){ 2303 sqlite3ValueSetStr(db->pErr,-1,p->zErrMsg,SQLITE_UTF8,SQLITE_TRANSIENT); 2306 sqlite3DbFree(db, p->zErrMsg); [all...] |
H A D | trigger.c | 788 assert( pFrom->zErrMsg==0 || pFrom->nErr ); 789 assert( pTo->zErrMsg==0 || pTo->nErr ); 791 pTo->zErrMsg = pFrom->zErrMsg; 794 sqlite3DbFree(pFrom->db, pFrom->zErrMsg);
|
H A D | test_journal.c | 158 static void jtDlError(sqlite3_vfs*, int nByte, char *zErrMsg); 774 ** Populate the buffer zErrMsg (size nByte bytes) with a human readable 778 static void jtDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ argument 779 g.pVfs->xDlError(g.pVfs, nByte, zErrMsg);
|
H A D | test_onefile.c | 168 static void fsDlError(sqlite3_vfs*, int nByte, char *zErrMsg); 764 ** Populate the buffer zErrMsg (size nByte bytes) with a human readable 768 static void fsDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ argument 770 pParent->xDlError(pParent, nByte, zErrMsg);
|
H A D | shell.c | 960 char *zErrMsg = sqlite3_malloc(nErrMsg); local 961 if( zErrMsg ){ 962 memcpy(zErrMsg, sqlite3_errmsg(db), nErrMsg); 964 return zErrMsg; 1530 char *zErrMsg = 0; local 1539 sqlite3_exec(p->db, "PRAGMA database_list; ", callback, &data, &zErrMsg); 1540 if( zErrMsg ){ 1541 fprintf(stderr,"Error: %s\n", zErrMsg); 1542 sqlite3_free(zErrMsg); 1548 char *zErrMsg local 1774 char *zErrMsg = 0; local 1838 char *zErrMsg = 0; local 2012 char *zErrMsg = 0; local 2117 char *zErrMsg; local 2401 char *zErrMsg; local 2659 char *zErrMsg = 0; local [all...] |
H A D | test_vfstrace.c | 72 static void vfstraceDlError(sqlite3_vfs*, int nByte, char *zErrMsg); 603 ** Populate the buffer zErrMsg (size nByte bytes) with a human readable 607 static void vfstraceDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ argument 611 pRoot->xDlError(pRoot, nByte, zErrMsg); 612 vfstrace_printf(pInfo, " -> \"%s\"", zErrMsg);
|
H A D | vdbeInt.h | 284 char *zErrMsg; /* Error message written here */ member in struct:Vdbe
|
H A D | main.c | 2288 char *zErrMsg = 0; local 2302 rc = sqlite3Init(db, &zErrMsg); 2371 sqlite3DbFree(db, zErrMsg); 2372 zErrMsg = sqlite3MPrintf(db, "no such table column: %s.%s", zTableName, 2376 sqlite3Error(db, rc, (zErrMsg?"%s":0), zErrMsg); 2377 sqlite3DbFree(db, zErrMsg);
|
H A D | backup.c | 101 sqlite3Error(pErrorDb, pParse->rc, "%s", pParse->zErrMsg); 104 sqlite3DbFree(pErrorDb, pParse->zErrMsg);
|
H A D | test6.c | 662 static void cfDlError(sqlite3_vfs *pCfVfs, int nByte, char *zErrMsg){ argument 664 pVfs->xDlError(pVfs, nByte, zErrMsg);
|
H A D | test_osinst.c | 164 static void vfslogDlError(sqlite3_vfs*, int nByte, char *zErrMsg); 556 ** Populate the buffer zErrMsg (size nByte bytes) with a human readable 560 static void vfslogDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ argument 561 REALVFS(pVfs)->xDlError(REALVFS(pVfs), nByte, zErrMsg);
|
H A D | vdbeapi.c | 495 sqlite3DbFree(db, v->zErrMsg); 497 v->zErrMsg = sqlite3DbStrDup(db, zErr); 500 v->zErrMsg = 0;
|
/external/sqlite/dist/orig/ |
H A D | shell.c | 1071 char *zErrMsg = sqlite3_malloc(nErrMsg); local 1072 if( zErrMsg ){ 1073 memcpy(zErrMsg, sqlite3_errmsg(db), nErrMsg); 1075 return zErrMsg; 2140 char *zErrMsg = 0; local 2155 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg); 2156 if( zErrMsg ){ 2157 fprintf(stderr, "Error: %s\nSQL: [%s]\n", zErrMsg, zSql); 2158 sqlite3_free(zErrMsg); 2159 zErrMsg 2364 char *zErrMsg = 0; local 2495 char *zErrMsg = 0; local 2716 char *zErrMsg = 0; local 2784 char *zErrMsg = 0; local 3010 char *zErrMsg = 0; local 3550 char *zErrMsg; /* Error message returned */ local 3852 char *zErrMsg = 0; local [all...] |
/external/sqlite/dist/ |
H A D | shell.c | 1076 char *zErrMsg = sqlite3_malloc(nErrMsg); local 1077 if( zErrMsg ){ 1078 memcpy(zErrMsg, sqlite3_errmsg(db), nErrMsg); 1080 return zErrMsg; 2160 char *zErrMsg = 0; local 2175 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg); 2176 if( zErrMsg ){ 2177 fprintf(stderr, "Error: %s\nSQL: [%s]\n", zErrMsg, zSql); 2178 sqlite3_free(zErrMsg); 2179 zErrMsg 2384 char *zErrMsg = 0; local 2515 char *zErrMsg = 0; local 2736 char *zErrMsg = 0; local 2804 char *zErrMsg = 0; local 3030 char *zErrMsg = 0; local 3570 char *zErrMsg; /* Error message returned */ local 3872 char *zErrMsg = 0; local [all...] |