diff options
author | unknown <hf@deer.(none)> | 2003-09-19 14:05:28 +0500 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2003-09-19 14:05:28 +0500 |
commit | 83e8881a5ad2a0fdfcb1ad06adca3614b6c7e0e4 (patch) | |
tree | 2577ed3a7cb5e2f36f2d4fbcadf4fec7b885e4b9 /sql-common | |
parent | 4c63804846d1530b602a74ff30ad26df7645a94b (diff) | |
download | mariadb-git-83e8881a5ad2a0fdfcb1ad06adca3614b6c7e0e4.tar.gz |
SCRUM
prepared statements in embedded library.
some fixes after testing
include/mysql.h:
virtual method added
libmysql/client_settings.h:
declaration added
libmysql/libmysql.c:
implementation added
mysql_fetch changed to work in both libraries
libmysqld/lib_sql.cc:
implementation added
sql-common/client.c:
added items in methods table
sql/client_settings.h:
decided to remove such defines - i placed single #ifdef in client.c
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/client.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index 5cdfd93158d..cd3763da725 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -1405,11 +1405,14 @@ static MYSQL_METHODS client_methods= cli_advanced_command, cli_read_rows, cli_mysql_use_result, - cli_fetch_lengths, - cli_list_fields, + cli_fetch_lengths +#ifndef MYSQL_SERVER + ,cli_list_fields, cli_read_prepare_result, cli_stmt_execute, - cli_read_binary_rows + cli_read_binary_rows, + cli_unbuffered_fetch +#endif }; MYSQL * STDCALL |