You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rewrite sync_column_key_info as EXISTS-based (fixes Bug A / 6-7 tests)
The previous IFNULL form kept the aggregate-without-GROUP-BY construct
combined with a bare correlated column (ELSE c.is_nullable). That
relies on SQLite's "bare column alongside aggregate" extension which
Turso does not implement — empirically corrupts is_nullable in both
directions: NOT NULL columns flip to DEFAULT NULL, and vice versa.
EXISTS is a pure boolean predicate with no aggregate bare-column
coupling; Turso handles it correctly. Six SHOW CREATE TABLE tests
(testShowCreateTable1/Quoted/WithComments/PreservesDoubleUnderscore/
PreservesKeyLengths) and likely testReconstructTableFromMysqlDataTypesCache
should flip to passing. The six Translation_Tests will still diff
against expectation strings but that's an assertion artefact, not
behavior.
0 commit comments