Lines Matching defs:zErrMsg

1209   char *zErrMsg = sqlite3_malloc64(nErrMsg);
1210 if( zErrMsg ){
1211 memcpy(zErrMsg, sqlite3_errmsg(db), nErrMsg);
1213 return zErrMsg;
2423 char *zErrMsg = 0;
2438 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg);
2439 if( zErrMsg ){
2440 fprintf(stderr, "Error: %s\nSQL: [%s]\n", zErrMsg, zSql);
2441 sqlite3_free(zErrMsg);
2442 zErrMsg = 0;
2465 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg);
2466 if( zErrMsg ){
2467 fprintf(stderr, "Error: %s\nSQL: [%s]\n", zErrMsg, zSql);
2468 sqlite3_free(zErrMsg);
2469 zErrMsg = 0;
2771 char *zErrMsg = 0;
2780 sqlite3_exec(p->db, "PRAGMA database_list; ", callback, &data, &zErrMsg);
2781 if( zErrMsg ){
2782 fprintf(stderr,"Error: %s\n", zErrMsg);
2783 sqlite3_free(zErrMsg);
2906 char *zErrMsg = 0;
2924 callback, &data, &zErrMsg
2940 callback, &data, &zErrMsg);
2944 shell_callback, &data,&zErrMsg);
2947 shell_callback, &data,&zErrMsg);
2950 shell_callback, &data, &zErrMsg);
3168 char *zErrMsg = 0;
3181 callback, &data, &zErrMsg
3192 callback, &data, &zErrMsg
3200 if( zErrMsg ){
3201 fprintf(stderr,"Error: %s\n", zErrMsg);
3202 sqlite3_free(zErrMsg);
3294 char *zErrMsg = 0;
3303 rc = sqlite3_load_extension(p->db, zFile, zProc, &zErrMsg);
3305 fprintf(stderr, "Error: %s\n", zErrMsg);
3306 sqlite3_free(zErrMsg);
3543 char *zErrMsg = 0;
3589 callback, &data, &zErrMsg);
3600 callback, &data, &zErrMsg
3607 if( zErrMsg ){
3608 fprintf(stderr,"Error: %s\n", zErrMsg);
3609 sqlite3_free(zErrMsg);
4175 char *zErrMsg; /* Error message returned */
4239 rc = shell_exec(p->db, zSql, shell_callback, p, &zErrMsg);
4241 if( rc || zErrMsg ){
4249 if( zErrMsg!=0 ){
4250 fprintf(stderr, "%s %s\n", zPrefix, zErrMsg);
4251 sqlite3_free(zErrMsg);
4252 zErrMsg = 0;
4482 char *zErrMsg = 0;
4754 rc = shell_exec(data.db, z, shell_callback, &data, &zErrMsg);
4755 if( zErrMsg!=0 ){
4756 fprintf(stderr,"Error: %s\n", zErrMsg);
4781 rc = shell_exec(data.db, azCmd[i], shell_callback, &data, &zErrMsg);
4782 if( zErrMsg!=0 ){
4783 fprintf(stderr,"Error: %s\n", zErrMsg);