mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 00:45:37 +01:00
chore: make every CREATE TABLE stmt in entire repo have 1 space after tbl name
`BTreeTable::to_sql` makes us incompatible with SQLite by losing e.g. the original whitespace provided during the CREATE TABLE command. For now let's fix our tests by regex-replacing every CREATE TABLE in the entire repo to have exactly 1 space after the table name in the CREATE TABLE statement.
This commit is contained in:
@@ -36,8 +36,8 @@ proc uses_temp_table {sql} {
|
||||
do_test insert5-1.0 {
|
||||
forcedelete test2.db test2.db-journal
|
||||
execsql {
|
||||
CREATE TABLE MAIN(Id INTEGER, Id1 INTEGER);
|
||||
CREATE TABLE B(Id INTEGER, Id1 INTEGER);
|
||||
CREATE TABLE MAIN (Id INTEGER, Id1 INTEGER);
|
||||
CREATE TABLE B (Id INTEGER, Id1 INTEGER);
|
||||
CREATE VIEW v1 AS SELECT * FROM B;
|
||||
CREATE VIEW v2 AS SELECT * FROM MAIN;
|
||||
INSERT INTO MAIN(Id,Id1) VALUES(2,3);
|
||||
|
||||
Reference in New Issue
Block a user