1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Method clean up:

- removed unused methods from MYSQL_STMT handle,
  (left over from PHP's mysqlnd)
- Added execute_generate_request method: This will allow
  Connector/Python to prefill the execute buffer without
  numerous GIL acquire/release calls.
This commit is contained in:
Georg Richter
2021-07-25 13:06:01 +02:00
parent c288f7d0b6
commit 73478fd7f4
4 changed files with 47 additions and 51 deletions

View File

@@ -874,6 +874,7 @@ struct st_mariadb_methods {
void (*invalidate_stmts)(MYSQL *mysql, const char *function_name);
struct st_mariadb_api *api;
int (*db_read_execute_response)(MYSQL_STMT *stmt);
unsigned char* (*db_execute_generate_request)(MYSQL_STMT *stmt, size_t *request_len, my_bool internal);
};
/* synonyms/aliases functions */