| Index: third_party/sqlite/src/test/capi3c.test
|
| diff --git a/third_party/sqlite/src/test/capi3c.test b/third_party/sqlite/src/test/capi3c.test
|
| index 15307a7f7ac90bc4fe5d92375b3788c2a21fb870..57cf146c73dd1a081ee7ef3073c022ec3a479786 100644
|
| --- a/third_party/sqlite/src/test/capi3c.test
|
| +++ b/third_party/sqlite/src/test/capi3c.test
|
| @@ -865,19 +865,20 @@ do_test capi3c-11.9.3 {
|
| do_test capi3c-11.10 {
|
| sqlite3_step $STMT
|
| } {SQLITE_ROW}
|
| -ifcapable !autoreset {
|
| - # If SQLITE_OMIT_AUTORESET is defined, then the statement must be
|
| - # reset() before it can be passed to step() again.
|
| - do_test capi3-11.11a { sqlite3_step $STMT } {SQLITE_MISUSE}
|
| - do_test capi3-11.11b { sqlite3_reset $STMT } {SQLITE_ABORT}
|
| -}
|
| do_test capi3c-11.11 {
|
| sqlite3_step $STMT
|
| } {SQLITE_DONE}
|
| -do_test capi3c-11.12 {
|
| - sqlite3_step $STMT
|
| - sqlite3_step $STMT
|
| -} {SQLITE_ROW}
|
| +ifcapable !autoreset {
|
| + do_test capi3c-11.12armor {
|
| + sqlite3_step $STMT
|
| + sqlite3_step $STMT
|
| + } {SQLITE_MISUSE}
|
| +} else {
|
| + do_test capi3c-11.12 {
|
| + sqlite3_step $STMT
|
| + sqlite3_step $STMT
|
| + } {SQLITE_ROW}
|
| +}
|
| do_test capi3c-11.13 {
|
| sqlite3_finalize $STMT
|
| } {SQLITE_OK}
|
|
|