Searched defs:zErrMsg (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/third_party/sqlite/src/src/
H A Dtable.c31 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 Dprepare.c429 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 Dtest_demovfs.c565 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 Dtest_devsym.c67 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 Dtest_journal.c158 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 Dtest_onefile.c168 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 Dtest_vfstrace.c72 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 Dfunc.c1192 char *zErrMsg = 0; local
1199 if( zFile && sqlite3_load_extension(db, zFile, zProc, &zErrMsg) ){
1200 sqlite3_result_error(context, zErrMsg, -1);
1201 sqlite3_free(zErrMsg);
H A Dtest6.c662 static void cfDlError(sqlite3_vfs *pCfVfs, int nByte, char *zErrMsg){ argument
664 pVfs->xDlError(pVfs, nByte, zErrMsg);
H A DvdbeInt.h284 char *zErrMsg; /* Error message written here */ member in struct:Vdbe
H A Dbuild.c234 char *zErrMsg = 0; local
250 sqlite3RunParser(pParse, zSql, &zErrMsg);
251 sqlite3DbFree(db, zErrMsg);
291 ** error message in pParse->zErrMsg.
294 ** routine leaves an error message in pParse->zErrMsg where
1741 ** of errors. If an error is seen leave an error message in pParse->zErrMsg.
H A Dmain.c2288 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 Dshell.c960 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 Dtest_osinst.c164 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 Dtest_vfs.c179 static void tvfsDlError(sqlite3_vfs*, int nByte, char *zErrMsg);
678 ** Populate the buffer zErrMsg (size nByte bytes) with a human readable
682 static void tvfsDlError(sqlite3_vfs *pVfs, int nByte, char *zErrMsg){ argument
683 sqlite3OsDlError(PARENTVFS(pVfs), nByte, zErrMsg); local
H A Dtclsqlite.c2862 char *zErrMsg; local
2953 zErrMsg = 0;
2965 zErrMsg = sqlite3_mprintf("%s", sqlite3_errmsg(p->db));
2975 Tcl_SetResult(interp, zErrMsg, TCL_VOLATILE);
2977 sqlite3_free(zErrMsg);
H A DsqliteInt.h795 ** The member variables sqlite.errCode, sqlite.zErrMsg and sqlite.zErrMsg16
853 char *zErrMsg; /* Most recent error message (UTF-8 encoded) */ member in struct:sqlite3
2171 char *zErrMsg; /* An error message */ member in struct:Parse
/external/chromium_org/third_party/sqlite/src/test/
H A Dthreadtest1.c105 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/ext/async/
H A Dsqlite3async.c1269 static void asyncDlError(sqlite3_vfs *pAsyncVfs, int nByte, char *zErrMsg){ argument
1271 pVfs->xDlError(pVfs, nByte, zErrMsg);
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.h929 void (*xDlError)(sqlite3_vfs*, int nByte, char *zErrMsg);
4760 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
4762 ** prior to assigning a new string to zErrMsg. ^After the error message
4764 ** freed by sqlite3_free() and the zErrMsg field will be zeroed.
4769 char *zErrMsg; /* Error message from sqlite3_mprintf() */ member in struct:sqlite3_vtab
H A Dsqlite3.c1472 void (*xDlError)(sqlite3_vfs*, int nByte, char *zErrMsg);
5303 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
5305 ** prior to assigning a new string to zErrMsg. ^After the error message
5307 ** freed by sqlite3_free() and the zErrMsg field will be zeroed.
5312 char *zErrMsg; /* Error message from sqlite3_mprintf() */ member in struct:sqlite3_vtab
9140 ** The member variables sqlite.errCode, sqlite.zErrMsg and sqlite.zErrMsg16
9198 char *zErrMsg; /* Most recent error message (UTF-8 encoded) */ member in struct:sqlite3
10516 char *zErrMsg; /* An error message */ member in struct:Parse
12498 char *zErrMsg; /* Error message written here */ member in struct:Vdbe
20354 ** Add an error message to pParse->zErrMsg an
77073 char *zErrMsg = 0; local
82891 char *zErrMsg = 0; local
89593 char *zErrMsg = 0; /* Error message */ local
94418 char *zErrMsg; /* Error message text, if an error occurs */ member in struct:TabResult
109533 char *zErrMsg = 0; local
[all...]
/external/sqlite/dist/orig/
H A Dshell.c1071 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...]
H A Dsqlite3.h1157 void (*xDlError)(sqlite3_vfs*, int nByte, char *zErrMsg);
5498 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
5500 ** prior to assigning a new string to zErrMsg. ^After the error message
5502 ** freed by sqlite3_free() and the zErrMsg field will be zeroed.
5507 char *zErrMsg; /* Error message from sqlite3_mprintf() */ member in struct:sqlite3_vtab
/external/sqlite/dist/
H A Dshell.c1076 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...]
H A Dsqlite3.h1157 void (*xDlError)(sqlite3_vfs*, int nByte, char *zErrMsg);
5498 ** string obtained from [sqlite3_mprintf()] to zErrMsg. The method should
5500 ** prior to assigning a new string to zErrMsg. ^After the error message
5502 ** freed by sqlite3_free() and the zErrMsg field will be zeroed.
5507 char *zErrMsg; /* Error message from sqlite3_mprintf() */ member in struct:sqlite3_vtab

Completed in 7385 milliseconds

12