Skip to content

Port clsql-sqlite3 to CFFI without cffi-uffi-compat #4

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

Open
dieggsy opened this issue Mar 6, 2025 · 2 comments
Open

Port clsql-sqlite3 to CFFI without cffi-uffi-compat #4

dieggsy opened this issue Mar 6, 2025 · 2 comments
Assignees

Comments

@dieggsy
Copy link
Collaborator

dieggsy commented Mar 6, 2025

See parent issue #2

@dieggsy dieggsy self-assigned this Mar 11, 2025
@dieggsy
Copy link
Collaborator Author

dieggsy commented Mar 12, 2025

Work started on cffi-sqlite3 branch. One thing I noticed is CLSQL does not show detailed sqlite3 error messages. Working on improving that.

@dieggsy
Copy link
Collaborator Author

dieggsy commented Mar 15, 2025

In my opinion the sqlite3 module's handling of pointers is more convoluted than it needs to be. It tracks db/stmt pointers using hash tables, but this seems like unnecessary overhead. I am thinking of making some changes that should keep the top level backward compatible, but might make the sqlite3 low level ff API backwards incompatible.

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