summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2003-09-19 14:05:28 +0500
committerunknown <hf@deer.(none)>2003-09-19 14:05:28 +0500
commit83e8881a5ad2a0fdfcb1ad06adca3614b6c7e0e4 (patch)
tree2577ed3a7cb5e2f36f2d4fbcadf4fec7b885e4b9 /include
parent4c63804846d1530b602a74ff30ad26df7645a94b (diff)
downloadmariadb-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 'include')
-rw-r--r--include/mysql.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mysql.h b/include/mysql.h
index f9f7342bc6d..2e9147894ca 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -557,10 +557,13 @@ typedef struct st_mysql_methods
MYSQL_RES * (STDCALL *use_result)(MYSQL *mysql);
void (STDCALL *fetch_lengths)(unsigned long *to,
MYSQL_ROW column, unsigned int field_count);
+#if !defined(MYSQL_SERVER) || defined(EMBEDDED_LIBRARY)
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);
+ int (STDCALL *unbuffered_fetch)(MYSQL *mysql, char **row);
+#endif
} MYSQL_METHODS;