diff options
author | drh <drh@noemail.net> | 2018-01-24 14:40:01 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-01-24 14:40:01 +0000 |
commit | a8519d79b953b4249de75781d11f0cf4aafb57a1 (patch) | |
tree | a71e42f7480b0169ec10f6fc0f6d565d2b91b25e /src | |
parent | 4d6d872c4937bdbb62d4758e8a80e46bfbf02ef9 (diff) | |
download | sqlite-a8519d79b953b4249de75781d11f0cf4aafb57a1.tar.gz sqlite-a8519d79b953b4249de75781d11f0cf4aafb57a1.zip |
Interchange the numeric codes for CURSOR_VALID and CURSOR_INVALID to obtain
a small size decrease and performance increase.
FossilOrigin-Name: e0f192ea6dda4fa0b243d58c8ce41932519141bcae0689a90318b4f866f54edd
Diffstat (limited to 'src')
-rw-r--r-- | src/btreeInt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/btreeInt.h b/src/btreeInt.h index ac7a3c0a2..87d3247e1 100644 --- a/src/btreeInt.h +++ b/src/btreeInt.h @@ -566,8 +566,8 @@ struct BtCursor { ** Do nothing else with this cursor. Any attempt to use the cursor ** should return the error code stored in BtCursor.skipNext */ -#define CURSOR_INVALID 0 -#define CURSOR_VALID 1 +#define CURSOR_VALID 0 +#define CURSOR_INVALID 1 #define CURSOR_SKIPNEXT 2 #define CURSOR_REQUIRESEEK 3 #define CURSOR_FAULT 4 |