-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CONC-348: Add callback support for prepared statements
Client application can now register callback functions for either sending or retrieving data: - typedef void (*ps_result_callback)(MYSQL_STMT *stmt, unsigned int column, unsigned char **row); - typedef my_bool *(*ps_param_callback)(MYSQL_STMT *stmt, MYSQL_BIND *bind, unsigned int row_nr); These functions will be registerd via mysql_stmt_attr_set call by specifying options STMT_ATTR_CB_PARAM or STMT_ATTR_CB_RESULT.
- Loading branch information
Showing
2 changed files
with
49 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters