diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-05-27 11:48:54 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-05-27 11:48:54 +0200 |
| commit | d83db69821cc937b8f1ae878c524361d8c96241a (patch) | |
| tree | 71c6f67c3e28736ac79a96b61499c18c204fe514 | |
| parent | 7b407e36e650aeae986218a0e213b2d8248c008d (diff) | |
| download | PROJ-d83db69821cc937b8f1ae878c524361d8c96241a.tar.gz PROJ-d83db69821cc937b8f1ae878c524361d8c96241a.zip | |
build_db.py: add hack to minimize diff now that we use WITHOUT ROWID
| -rwxr-xr-x | scripts/build_db.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/build_db.py b/scripts/build_db.py index c9f6960b..ec4b7397 100755 --- a/scripts/build_db.py +++ b/scripts/build_db.py @@ -53,6 +53,9 @@ def ingest_sqlite_dump(cursor, filename): # generated .sql files line = line.replace('INTEGER_OR_TEXT', 'TEXT') + # Same for WITHOUT ROWID + line = line.replace('WITHOUT ROWID', '') + sql += line if sqlite3.complete_statement(sql): sql = sql.strip() |
