1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Update a comment in btree.c to account for WITHOUT ROWID tables. No code

changes.

FossilOrigin-Name: fa20dcb03b92be3bb32f8e3d6f88681ace3f6c84
This commit is contained in:
drh
2016-03-09 03:29:27 +00:00
parent 2f1e02e8a7
commit c1fb2b87bd
3 changed files with 10 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
C Change\sa\sbranch\smade\sobsolete\sby\srecent\sparser\senhancements\sinto\san\sassert(). C Update\sa\scomment\sin\sbtree.c\sto\saccount\sfor\sWITHOUT\sROWID\stables.\s\sNo\scode\nchanges.
D 2016-03-09T02:12:44.430 D 2016-03-09T03:29:27.407
F Makefile.in f53429fb2f313c099283659d0df6f20f932c861f F Makefile.in f53429fb2f313c099283659d0df6f20f932c861f
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434 F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc df0bf9ff7f8b3f4dd9fb4cc43f92fe58f6ec5c66 F Makefile.msc df0bf9ff7f8b3f4dd9fb4cc43f92fe58f6ec5c66
@@ -293,7 +293,7 @@ F src/auth.c b56c78ebe40a2110fd361379f7e8162d23f92240
F src/backup.c f60f0aa55d25d853ffde53d0b0370a7bb7ee41ce F src/backup.c f60f0aa55d25d853ffde53d0b0370a7bb7ee41ce
F src/bitvec.c 3ee4c8b2c94ed3a7377256e18199e6ff5cf33f63 F src/bitvec.c 3ee4c8b2c94ed3a7377256e18199e6ff5cf33f63
F src/btmutex.c bc87dd3b062cc26edfe79918de2200ccb8d41e73 F src/btmutex.c bc87dd3b062cc26edfe79918de2200ccb8d41e73
F src/btree.c 2712f087351f5c4ff0e71631b1e67b461611b99d F src/btree.c 6eee126fe9d1f57118de9be2be840a4c6e691828
F src/btree.h a5008b9afe56e8e54ade6c436a910f112defcca9 F src/btree.h a5008b9afe56e8e54ade6c436a910f112defcca9
F src/btreeInt.h c18b7d2a3494695133e4e60ee36061d37f45d9a5 F src/btreeInt.h c18b7d2a3494695133e4e60ee36061d37f45d9a5
F src/build.c 213cbf84e99dd834e6ea46615633656d7ef79321 F src/build.c 213cbf84e99dd834e6ea46615633656d7ef79321
@@ -1455,7 +1455,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 069337a922867ad0d023f5bf36e13ea46e047000 P ee486ef742557244f532e8d3b3604ff04e024b8a
R 3e57a4be2efca34c86d71580042aa5c5 R 58c822ca96b5496f25a8c479ed6f41b8
U drh U drh
Z 969405448d01de3e3b82aafcc7d6fe5a Z 14a12081690d2b5a8e4723ef05aa614c

View File

@@ -1 +1 @@
ee486ef742557244f532e8d3b3604ff04e024b8a fa20dcb03b92be3bb32f8e3d6f88681ace3f6c84

View File

@@ -7572,9 +7572,9 @@ static int balance_nonroot(
** any cell). But it is important to pass the correct size to ** any cell). But it is important to pass the correct size to
** insertCell(), so reparse the cell now. ** insertCell(), so reparse the cell now.
** **
** Note that this can never happen in an SQLite data file, as all ** This can only happen for b-trees used to evaluate "IN (SELECT ...)"
** cells are at least 4 bytes. It only happens in b-trees used ** and WITHOUT ROWID tables with exactly one column which is the
** to evaluate "IN (SELECT ...)" and similar clauses. ** primary key.
*/ */
if( b.szCell[j]==4 ){ if( b.szCell[j]==4 ){
assert(leafCorrection==4); assert(leafCorrection==4);