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:
Jussi Saurio
2025-07-22 11:33:49 +03:00
parent f83870731d
commit 022f679fab
59 changed files with 666 additions and 661 deletions

View File

@@ -392,7 +392,7 @@ ifcapable floatingpoint {
ifcapable check {
do_execsql_test func4-3.1 {
CREATE TABLE t1(
CREATE TABLE t1 (
x INTEGER CHECK(tointeger(x) IS NOT NULL)
);
} {}
@@ -494,7 +494,7 @@ ifcapable check {
ifcapable floatingpoint {
do_execsql_test func4-4.1 {
CREATE TABLE t2(
CREATE TABLE t2 (
x REAL CHECK(toreal(x) IS NOT NULL)
);
} {}