aboutsummaryrefslogtreecommitdiff
path: root/src/build.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-11-02 22:09:48 +0000
committerdrh <drh@noemail.net>2013-11-02 22:09:48 +0000
commit63f0eedf10f1b2fa87a8b6c20dd7d3cf96aa3208 (patch)
treee3cf958053f42c882969b59e85a8c73fd00eb9c3 /src/build.c
parentce95d11921f758836b7ab3aed55d0b9d2a7fb9a9 (diff)
downloadsqlite-63f0eedf10f1b2fa87a8b6c20dd7d3cf96aa3208.tar.gz
sqlite-63f0eedf10f1b2fa87a8b6c20dd7d3cf96aa3208.zip
Many new test cases added, that mostly work. Currently 18 errors in
without_rowid3.test. Also there is a hack marked by a /*FIXME*/ comment on at fkey.c:547 that needs fixing. FossilOrigin-Name: 39e32187b66405e00dbd44685f6cdd269c90f5e5
Diffstat (limited to 'src/build.c')
-rw-r--r--src/build.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build.c b/src/build.c
index 666d1b8ba..556264193 100644
--- a/src/build.c
+++ b/src/build.c
@@ -1653,6 +1653,7 @@ static void convertToWithoutRowidTable(Parse *pParse, Table *pTab){
assert( pParse->pNewTable==pTab );
pPk = sqlite3CreateIndex(pParse, 0, 0, 0, pList, pTab->keyConf, 0, 0, 0, 0);
if( pPk==0 ) return;
+ pPk->autoIndex = 2;
pTab->iPKey = -1;
}else{
pPk = sqlite3PrimaryKeyIndex(pTab);