Currently if the call p->zSql = sqlite3DbStrNDup(p->db, z, n);
fails, zSql will stay null without the caller being notified that it failed. sqlite3VdbeSetSql should probably return a bool. With that, sqlite3Prepare could check it and return SQLITE_NOMEM.
Cheers, Rafael _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users