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

/osnet-11/usr/src/lib/libsqlite/src/
H A Dtable.c32 char *zErrMsg; member in struct:TabResult
90 sqliteSetString(&p->zErrMsg,
142 res.zErrMsg = 0;
160 if( res.zErrMsg ){
163 *pzErrMsg = res.zErrMsg;
166 sqliteFree(res.zErrMsg);
171 sqliteFree(res.zErrMsg);
H A Dinsert.c807 char zErrMsg[200]; local
808 strcpy(zErrMsg, pIdx->nColumn>1 ? "columns " : "column ");
809 n1 = strlen(zErrMsg);
810 for(j=0; j<pIdx->nColumn && n1<sizeof(zErrMsg)-30; j++){
814 strcpy(&zErrMsg[n1], ", ");
817 if( n1+n2>sizeof(zErrMsg)-30 ){
818 strcpy(&zErrMsg[n1], "...");
822 strcpy(&zErrMsg[n1], zCol);
826 strcpy(&zErrMsg[n1],
828 sqliteVdbeOp3(v, OP_Halt, SQLITE_CONSTRAINT, onError, zErrMsg,
[all...]
H A Dvacuum.c95 char *zErrMsg = 0; local
99 rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg);
100 if( zErrMsg ){
101 sqliteSetString(pzErrMsg, zErrMsg, (char*)0);
102 sqlite_freemem(zErrMsg);
154 char *zErrMsg = 0; local
159 rc = sqlite_exec(p->dbOld, p->s1.z, vacuumCallback2, p, &zErrMsg);
160 if( zErrMsg ){
161 sqliteSetString(p->pzErrMsg, zErrMsg, (char*)0);
162 sqlite_freemem(zErrMsg);
229 char *zErrMsg; /* Error message */ local
[all...]
H A Dtclsqlite.c775 char *zErrMsg; local
802 zErrMsg = 0;
805 rc = sqlite_exec(pDb->db, zSql, DbEvalCallback, &cbData, &zErrMsg);
812 rc = sqlite_exec(pDb->db, zSql, DbEvalCallback2, pList, &zErrMsg);
817 if( zErrMsg ) free(zErrMsg);
819 }else if( zErrMsg ){
820 Tcl_SetResult(interp, zErrMsg, TCL_VOLATILE);
821 free(zErrMsg);
895 char *zErrMsg local
1031 char *zErrMsg; local
[all...]
H A Dtest1.c850 char *zErrMsg = 0; local
857 rc = sqlite_finalize(vm, &zErrMsg);
861 Tcl_AppendResult(interp, zBuf, zErrMsg, 0);
862 sqlite_freemem(zErrMsg);
881 char *zErrMsg = 0; local
888 rc = sqlite_reset(vm, &zErrMsg);
892 Tcl_AppendResult(interp, zBuf, zErrMsg, 0);
893 sqlite_freemem(zErrMsg);
H A DvdbeInt.h282 char *zErrMsg; /* Error message written here */ member in struct:Vdbe
H A Dbtree.c3175 char *zErrMsg; /* An error message. NULL of no errors seen. */ member in struct:IntegrityCk
3182 if( pCheck->zErrMsg ){
3183 char *zOld = pCheck->zErrMsg;
3184 pCheck->zErrMsg = 0;
3185 sqliteSetString(&pCheck->zErrMsg, zOld, "\n", zMsg1, zMsg2, (char*)0);
3188 sqliteSetString(&pCheck->zErrMsg, zMsg1, zMsg2, (char*)0);
3194 ** reference to the page, add an error message to pCheck->zErrMsg.
3452 sCheck.zErrMsg = 0;
3491 return sCheck.zErrMsg;
H A DsqliteInt.h915 char *zErrMsg; /* An error message */ member in struct:Parse
/osnet-11/usr/src/lib/libsqlite/test/
H A Dthreadtest1.c108 char *zErrMsg = 0; local
117 rc = sqlite_exec(db, zSql, db_query_callback, &sResult, &zErrMsg);
119 if( zErrMsg ) free(zErrMsg);
120 rc = sqlite_exec(db, zSql, db_query_callback, &sResult, &zErrMsg);
123 if( zErrMsg ){
124 fprintf(stdout,"%s: query failed: %s - %s\n", zFile, zSql, zErrMsg);
125 free(zErrMsg);
143 char *zErrMsg = 0; local
149 rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg);
[all...]

Completed in 64 milliseconds