Home | History | Annotate | Download | only in dist

Lines Matching defs:zErrMsg

1076   char *zErrMsg = sqlite3_malloc(nErrMsg);
1077 if( zErrMsg ){
1078 memcpy(zErrMsg, sqlite3_errmsg(db), nErrMsg);
1080 return zErrMsg;
2160 char *zErrMsg = 0;
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 = 0;
2202 sqlite3_exec(newDb, (const char*)zSql, 0, 0, &zErrMsg);
2203 if( zErrMsg ){
2204 fprintf(stderr, "Error: %s\nSQL: [%s]\n", zErrMsg, zSql);
2205 sqlite3_free(zErrMsg);
2206 zErrMsg = 0;
2384 char *zErrMsg = 0;
2393 sqlite3_exec(p->db, "PRAGMA database_list; ", callback, &data, &zErrMsg);
2394 if( zErrMsg ){
2395 fprintf(stderr,"Error: %s\n", zErrMsg);
2396 sqlite3_free(zErrMsg);
2515 char *zErrMsg = 0;
2533 callback, &data, &zErrMsg
2549 callback, &data, &zErrMsg);
2553 shell_callback, &data,&zErrMsg);
2556 shell_callback, &data,&zErrMsg);
2559 shell_callback, &data, &zErrMsg);
2736 char *zErrMsg = 0;
2749 callback, &data, &zErrMsg
2760 callback, &data, &zErrMsg
2768 if( zErrMsg ){
2769 fprintf(stderr,"Error: %s\n", zErrMsg);
2770 sqlite3_free(zErrMsg);
2804 char *zErrMsg = 0;
2813 rc = sqlite3_load_extension(p->db, zFile, zProc, &zErrMsg);
2815 fprintf(stderr, "Error: %s\n", zErrMsg);
2816 sqlite3_free(zErrMsg);
3030 char *zErrMsg = 0;
3076 callback, &data, &zErrMsg);
3087 callback, &data, &zErrMsg
3094 if( zErrMsg ){
3095 fprintf(stderr,"Error: %s\n", zErrMsg);
3096 sqlite3_free(zErrMsg);
3570 char *zErrMsg; /* Error message returned */
3633 rc = shell_exec(p->db, zSql, shell_callback, p, &zErrMsg);
3635 if( rc || zErrMsg ){
3643 if( zErrMsg!=0 ){
3644 fprintf(stderr, "%s %s\n", zPrefix, zErrMsg);
3645 sqlite3_free(zErrMsg);
3646 zErrMsg = 0;
3872 char *zErrMsg = 0;
4081 rc = shell_exec(data.db, z, shell_callback, &data, &zErrMsg);
4082 if( zErrMsg!=0 ){
4083 fprintf(stderr,"Error: %s\n", zErrMsg);
4105 rc = shell_exec(data.db, zFirstCmd, shell_callback, &data, &zErrMsg);
4106 if( zErrMsg!=0 ){
4107 fprintf(stderr,"Error: %s\n", zErrMsg);