Skip to content

Add a new RegisterBusyHandler method to SQLiteConn to allow access to sqlite3_busy_handler() - #1278

Closed
polyscone wants to merge 1 commit into
mattn:masterfrom
polyscone:feature/busy-handler
Closed

Add a new RegisterBusyHandler method to SQLiteConn to allow access to sqlite3_busy_handler()#1278
polyscone wants to merge 1 commit into
mattn:masterfrom
polyscone:feature/busy-handler

Conversation

@polyscone

@polyscone polyscone commented Oct 1, 2024

Copy link
Copy Markdown

This PR just adds a new RegisterBusyHandler method to the SQLiteConn type to allow use of the sqlite3_busy_handler() function.

I tried to follow the same style as the other Register* methods which use the void* user data args as a way to pass a handle to a Go callback function to a trampoline function defined in C.

I've also updated the _examples folder with a new example file.

Fixes #290

@polyscone polyscone closed this by deleting the head repository Oct 15, 2025
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

Successfully merging this pull request may close these issues.

Implement support for busy handler

1 participant