Lines Matching full:zerrmsg
1001 char *zErrMsg = sqlite3_malloc(nErrMsg);
1002 if( zErrMsg ){
1003 memcpy(zErrMsg, sqlite3_errmsg(db), nErrMsg);
1005 return zErrMsg;
1605 char *zErrMsg = 0;
1614 sqlite3_exec(p->db, "PRAGMA database_list; ", callback, &data, &zErrMsg);
1615 if( zErrMsg ){
1616 fprintf(stderr,"Error: %s\n", zErrMsg);
1617 sqlite3_free(zErrMsg);
1855 char *zErrMsg = 0;
1868 callback, &data, &zErrMsg
1879 callback, &data, &zErrMsg
1883 if( zErrMsg ){
1884 fprintf(stderr,"Error: %s\n", zErrMsg);
1885 sqlite3_free(zErrMsg);
1919 char *zErrMsg = 0;
1923 rc = sqlite3_load_extension(p->db, zFile, zProc, &zErrMsg);
1925 fprintf(stderr, "Error: %s\n", zErrMsg);
1926 sqlite3_free(zErrMsg);
2093 char *zErrMsg = 0;
2139 callback, &data, &zErrMsg);
2150 callback, &data, &zErrMsg
2153 if( zErrMsg ){
2154 fprintf(stderr,"Error: %s\n", zErrMsg);
2155 sqlite3_free(zErrMsg);
2199 char *zErrMsg;
2209 &azResult, &nRow, 0, &zErrMsg
2220 &azResult, &nRow, 0, &zErrMsg
2224 if( zErrMsg ){
2225 fprintf(stderr,"Error: %s\n", zErrMsg);
2226 sqlite3_free(zErrMsg);
2498 char *zErrMsg;
2560 rc = shell_exec(p->db, zSql, shell_callback, p, &zErrMsg);
2562 if( rc || zErrMsg ){
2570 if( zErrMsg!=0 ){
2571 fprintf(stderr, "%s %s\n", zPrefix, zErrMsg);
2572 sqlite3_free(zErrMsg);
2573 zErrMsg = 0;
2761 char *zErrMsg = 0;
2979 rc = shell_exec(data.db, z, shell_callback, &data, &zErrMsg);
2980 if( zErrMsg!=0 ){
2981 fprintf(stderr,"Error: %s\n", zErrMsg);
3002 rc = shell_exec(data.db, zFirstCmd, shell_callback, &data, &zErrMsg);
3003 if( zErrMsg!=0 ){
3004 fprintf(stderr,"Error: %s\n", zErrMsg);