Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix unitialised variable in sqlite3VdbeFinalize(). (CVS 1747) |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
9501587944f1009aa0b4fa431bb19e7e |
User & Date: | danielk1977 2004-06-27 23:50:22.000 |
Context
2004-06-28
| ||
00:17 | Fix a seg-fault caused by a malloc() failure. (CVS 1748) (check-in: e28d42cb5e user: danielk1977 tags: trunk) | |
2004-06-27
| ||
23:50 | Fix unitialised variable in sqlite3VdbeFinalize(). (CVS 1747) (check-in: 9501587944 user: danielk1977 tags: trunk) | |
21:31 | Remove unused routines from vdbeaux.c. Improve test coverage. (CVS 1746) (check-in: 792b3c75e7 user: drh tags: trunk) | |
Changes
Changes to src/vdbeaux.c.
︙ | ︙ | |||
1251 1252 1253 1254 1255 1256 1257 | /* ** Clean up and delete a VDBE after execution. Return an integer which is ** the result code. Write any error message text into *pzErrMsg. */ int sqlite3VdbeFinalize(Vdbe *p){ int rc = SQLITE_OK; | | | 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 | /* ** Clean up and delete a VDBE after execution. Return an integer which is ** the result code. Write any error message text into *pzErrMsg. */ int sqlite3VdbeFinalize(Vdbe *p){ int rc = SQLITE_OK; sqlite *db = p->db; if( p->magic==VDBE_MAGIC_RUN || p->magic==VDBE_MAGIC_HALT ){ rc = sqlite3VdbeReset(p); }else if( p->magic!=VDBE_MAGIC_INIT ){ /* sqlite3Error(p->db, SQLITE_MISUSE, 0); */ return SQLITE_MISUSE; } |
︙ | ︙ |