diff options
author | unknown <hf@deer.(none)> | 2003-09-17 20:48:53 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-09-17 20:48:53 +0500 |
commit | 194f6725d42a111e31fbdff2707095abd7cd1b05 (patch) | |
tree | 883748d65cbe22427001e2d6bd03ea8386ee3593 /include/mysql.h | |
parent | 11d36fa83101f6490f22da74f1a2b81588683f4b (diff) | |
download | mariadb-git-194f6725d42a111e31fbdff2707095abd7cd1b05.tar.gz |
SCRUM:
prepared statements in embedded library
include/mysql.h:
Another 'virtual' method
libmysql/client_settings.h:
client implementation declared
libmysql/libmysql.c:
mysql_execute edited to work with embedded implementation
libmysqld/lib_sql.cc:
one error fixed (we do need parameter's buffer in embedded library)
embedded recordset transfer methods implementations added
sql-common/client.c:
method added to the table
sql/client_settings.h:
no prepared statements in mimiclient
sql/mysql_priv.h:
these functions became global
sql/protocol.cc:
the stub added
sql/protocol.h:
had to change Protocol's interface for embedded library
sql/sql_class.h:
i changed this only for embedded case, but i think it's better to do the
same for remote server also
sql/sql_prepare.cc:
parts of code #ifndef-ed
Diffstat (limited to 'include/mysql.h')
-rw-r--r-- | include/mysql.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h index 6ec64220706..a2da4f353f7 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -561,6 +561,8 @@ typedef struct st_mysql_methods MYSQL_FIELD * (STDCALL *list_fields)(MYSQL *mysql); my_bool (STDCALL *read_prepare_result)(MYSQL *mysql, MYSQL_STMT *stmt); int (STDCALL *stmt_execute)(MYSQL_STMT *stmt); + MYSQL_DATA *(STDCALL *read_binary_rows)(MYSQL_STMT *stmt); + } MYSQL_METHODS; MYSQL_STMT * STDCALL mysql_prepare(MYSQL * mysql, const char *query, |