Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | A proposed change to the sqlite3_step() API such that it will only auto-reset following an SQLITE_BUSY or SQLITE_LOCKED error. Calls after any other result other than SQLITE_ROW will return SQLITE_MISUSE. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | step-autoreset |
Files: | files | file ages | folders |
SHA1: |
d1b3c54f42b1765e7565aeff517835c2 |
User & Date: | drh 2011-01-11 01:42:47.257 |
Original Comment: | A proposed change to the sqlite3_step() API such that it will only auto-reset following an SQLITE_BUSY or SQLITE_LOCKED error. Calls after any other result other than SQLITE_ROW will return SQLITE_MISUSE. |
Context
2011-01-11
| ||
01:42 | A proposed change to the sqlite3_step() API such that it will only auto-reset following an SQLITE_BUSY or SQLITE_LOCKED error. Calls after any other result other than SQLITE_ROW will return SQLITE_MISUSE. (Closed-Leaf check-in: d1b3c54f42 user: drh tags: step-autoreset) | |
2011-01-10
| ||
21:01 | Update pager requirements to account for the ZIPVFS extension. (check-in: d94e59b514 user: drh tags: trunk) | |
Changes
install-sh became executable.
︙ |
Changes to src/sqlite.h.in.
︙ | |||
3067 3068 3069 3070 3071 3072 3073 | 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 | - + - - - + + + + + + + + | ** [SQLITE_MISUSE] means that the this routine was called inappropriately. ** Perhaps it was called on a [prepared statement] that has ** already been [sqlite3_finalize | finalized] or on one that had ** previously returned [SQLITE_ERROR] or [SQLITE_DONE]. Or it could ** be the case that the same database connection is being used by two or ** more threads at the same moment in time. ** |
︙ |
Changes to src/vdbeapi.c.
︙ | |||
340 341 342 343 344 345 346 | 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 | + - - - - - - + + + + + + + + + + + | */ static int sqlite3Step(Vdbe *p){ sqlite3 *db; int rc; assert(p); if( p->magic!=VDBE_MAGIC_RUN ){ if( p->rc==SQLITE_BUSY || p->rc==SQLITE_LOCKED ){ |
︙ |
Changes to test/capi2.test.
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | - - - - + | } {name rowid text INTEGER} do_test capi2-1.6 { sqlite3_step $VM } {SQLITE_DONE} do_test capi2-1.7 { list [sqlite3_column_count $VM] [get_row_values $VM] [get_column_names $VM] } {2 {} {name rowid text INTEGER}} |
︙ |
Changes to test/fkey2.test.
︙ | |||
1412 1413 1414 1415 1416 1417 1418 | 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 | - + | } {1} do_test fkey2-17.1.2 { set STMT [sqlite3_prepare_v2 db "INSERT INTO two VALUES(4, 5, 6)" -1 dummy] sqlite3_step $STMT } {SQLITE_CONSTRAINT} do_test fkey2-17.1.3 { sqlite3_step $STMT |
︙ |
test/progress.test became a regular file.
︙ |
tool/mkopts.tcl became a regular file.
︙ |