Home | History | Annotate | Download | only in orig

Lines Matching defs:zErrMsg

1071   char *zErrMsg = sqlite3_malloc(nErrMsg);
1072 if( zErrMsg ){
1073 memcpy(zErrMsg, sqlite3_errmsg(db), nErrMsg);
1075 return zErrMsg;
2140 char *zErrMsg = 0;
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 = 0;
2182 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg);
2183 if( zErrMsg ){
2184 fprintf(stderr, "Error: %s\nSQL: [%s]\n", zErrMsg, zSql);
2185 sqlite3_free(zErrMsg);
2186 zErrMsg = 0;
2364 char *zErrMsg = 0;
2373 sqlite3_exec(p->db, "PRAGMA database_list; ", callback, &data, &zErrMsg);
2374 if( zErrMsg ){
2375 fprintf(stderr,"Error: %s\n", zErrMsg);
2376 sqlite3_free(zErrMsg);
2495 char *zErrMsg = 0;
2513 callback, &data, &zErrMsg
2529 callback, &data, &zErrMsg);
2533 shell_callback, &data,&zErrMsg);
2536 shell_callback, &data,&zErrMsg);
2539 shell_callback, &data, &zErrMsg);
2716 char *zErrMsg = 0;
2729 callback, &data, &zErrMsg
2740 callback, &data, &zErrMsg
2748 if( zErrMsg ){
2749 fprintf(stderr,"Error: %s\n", zErrMsg);
2750 sqlite3_free(zErrMsg);
2784 char *zErrMsg = 0;
2793 rc = sqlite3_load_extension(p->db, zFile, zProc, &zErrMsg);
2795 fprintf(stderr, "Error: %s\n", zErrMsg);
2796 sqlite3_free(zErrMsg);
3010 char *zErrMsg = 0;
3056 callback, &data, &zErrMsg);
3067 callback, &data, &zErrMsg
3074 if( zErrMsg ){
3075 fprintf(stderr,"Error: %s\n", zErrMsg);
3076 sqlite3_free(zErrMsg);
3550 char *zErrMsg; /* Error message returned */
3613 rc = shell_exec(p->db, zSql, shell_callback, p, &zErrMsg);
3615 if( rc || zErrMsg ){
3623 if( zErrMsg!=0 ){
3624 fprintf(stderr, "%s %s\n", zPrefix, zErrMsg);
3625 sqlite3_free(zErrMsg);
3626 zErrMsg = 0;
3852 char *zErrMsg = 0;
4061 rc = shell_exec(data.db, z, shell_callback, &data, &zErrMsg);
4062 if( zErrMsg!=0 ){
4063 fprintf(stderr,"Error: %s\n", zErrMsg);
4085 rc = shell_exec(data.db, zFirstCmd, shell_callback, &data, &zErrMsg);
4086 if( zErrMsg!=0 ){
4087 fprintf(stderr,"Error: %s\n", zErrMsg);