Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite driver: support tables WITHOUT ROWID #3884

Closed
rouault opened this issue May 25, 2021 · 0 comments
Closed

SQLite driver: support tables WITHOUT ROWID #3884

rouault opened this issue May 25, 2021 · 0 comments

Comments

@rouault
Copy link
Member

rouault commented May 25, 2021

When opening a SQLite database with tables created WITHOUT ROWID (such as proj.db of PROJ master now), we emit errors like "ERROR 1: Unable to query table axis for column definitions : no such column: rowid.". We shouldn't do that, and we should generate a pure OGR incremented FID on them. A downside of without rowid tables is that OLCRandomRead shouldn't be advertized and GetFeature() will be slow, but that's OK.

@rouault rouault closed this as completed in c2d86fc Sep 5, 2021
rouault added a commit that referenced this issue Sep 5, 2021
SQLite: support reading tables WITHOUT ROWID (fixes #3884)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant