diff options
author | drh <drh@noemail.net> | 2008-07-11 21:02:53 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-07-11 21:02:53 +0000 |
commit | a34605859d16febe0b51db0231827cd0458f55b3 (patch) | |
tree | 122be86383110e49ba55ec92fade12274fc4c643 /src/test_btree.c | |
parent | f46080903008c923aaba6936590ab27ad80d0e4b (diff) | |
download | sqlite-a34605859d16febe0b51db0231827cd0458f55b3.tar.gz sqlite-a34605859d16febe0b51db0231827cd0458f55b3.zip |
Detect and handles the case where a row is modified or deleted while it
is being read during SELECT processing. (CVS 5399)
FossilOrigin-Name: c80a5d09935c60a2a50bc262c172a94073355f0d
Diffstat (limited to 'src/test_btree.c')
-rw-r--r-- | src/test_btree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_btree.c b/src/test_btree.c index 615c9601d..1b33ef9b0 100644 --- a/src/test_btree.c +++ b/src/test_btree.c @@ -13,7 +13,7 @@ ** is not included in the SQLite library. It is used for automated ** testing of the SQLite library. ** -** $Id: test_btree.c,v 1.4 2008/07/10 00:32:42 drh Exp $ +** $Id: test_btree.c,v 1.5 2008/07/11 21:02:54 drh Exp $ */ #include "btreeInt.h" #include <tcl.h> @@ -87,7 +87,7 @@ int sqlite3BtreeCursorInfo(BtCursor *pCur, int *aResult, int upCnt){ int rc; if( pCur->eState==CURSOR_REQUIRESEEK ){ - rc = sqlite3BtreeRestoreOrClearCursorPosition(pCur); + rc = sqlite3BtreeRestoreCursorPosition(pCur); if( rc!=SQLITE_OK ){ return rc; } |