-
-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
cr-sqlite appears to fail with an unhelpful "Runtime error: SQL logic error" when converting a table with more than 63 columns.
To reproduce (this case will succeed if you remove the final column, bringing the column count to 63):
.load ./crsqlite.so sqlite3_crsqlite_init
.mode qbox
create table TypedBaseItems (id PRIMARY KEY NOT NULL, cmuA Int NULL, JlSc Int NULL, hFkW Int NULL, oMQA Int NULL, ZGGf Int NULL, rnNp Int NULL, vPdQ Int NULL, NzDE Int NULL, tKtn Int NULL, PQgo Int NULL, HQKt Int NULL, LYhd Int NULL, XKvH Int NULL, wsEB Int NULL, tenT Int NULL, UVyY Int NULL, oAED Int NULL, uQgb Int NULL, bDLl Int NULL, qRmK Int NULL, btyQ Int NULL, jlgH Int NULL, Aagy Int NULL, PsQL Int NULL, ANTc Int NULL, LpeM Int NULL, gGoX Int NULL, HCHX Int NULL, TBFu Int NULL, KhVe Int NULL, VDVI Int NULL, RECg Int NULL, TBDj Int NULL, neMc Int NULL, tKgB Int NULL, KOFf Int NULL, FmAU Int NULL, rEuC Int NULL, idAs Int NULL, vmpm Int NULL, RbPY Int NULL, lGDe Int NULL, LEWJ Int NULL, zyRv Int NULL, JAaA Int NULL, ezvK Int NULL, yJef Int NULL, PDrd Int NULL, qzHC Int NULL, iHOn Int NULL, EsdX Int NULL, OAPz Int NULL, jDNL Int NULL, QTgC Int NULL, RvQm Int NULL, rBwu Int NULL, IzDI Int NULL, xDed Int NULL, StGo Int NULL, Tvnx Int NULL, NjXf Int NULL, VVXF
Int NULL, aMJV Int NULL);
select crsql_as_crr('TypedBaseItems');
keredson
Metadata
Metadata
Assignees
Labels
No labels