Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify column name representation in stored schema, support all repres…
…entations when parsing At the moment, CREATE TABLE statements normalize column names to use double quotes and they are stored as such in sqlite_master and returned by get_sqlite_create_table(). However, the else branch of CHANGE COLUMN statements was using backticks instead, which caused incorrect parsing for the next ALTER COLUMN statements now, when some CHANGE statements without column definition are supported (SET/DROP DEFAULT). This commit fixes both — 1) the name representation to use double quotes instead of backticks, and 2) the parsing to support all column name representation (double quotes, backticks, nothing).
- Loading branch information