summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhf@deer.(none) <>2004-07-22 20:54:25 +0500
committerhf@deer.(none) <>2004-07-22 20:54:25 +0500
commit94bfeb839399486eb90f2fc5dd25cdb4761d71bd (patch)
treeecfe787be62082cf510021730f7750916b699945 /include
parent5eadafe56960a5df27007ae382c1c5445cc1ed9a (diff)
downloadmariadb-git-94bfeb839399486eb90f2fc5dd25cdb4761d71bd.tar.gz
Fixes for bugs in embedded library:
#4700 (Unsigned value returned as signed) just no appropriate checking #4701 (Errors returned earlier than expected) all errors returned from send_command() #4702 (Result isn't freed properly if there's no retrieval) flush_use_result has only 'client' version and should be made 'virtual'
Diffstat (limited to 'include')
-rw-r--r--include/mysql.h1
-rw-r--r--include/sql_common.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/mysql.h b/include/mysql.h
index 0f3fdc90548..b339b839ab3 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -627,6 +627,7 @@ typedef struct st_mysql_methods
MYSQL_RES * (*use_result)(MYSQL *mysql);
void (*fetch_lengths)(unsigned long *to,
MYSQL_ROW column, unsigned int field_count);
+ void (*flush_use_result)(MYSQL *mysql);
#if !defined(MYSQL_SERVER) || defined(EMBEDDED_LIBRARY)
MYSQL_FIELD * (*list_fields)(MYSQL *mysql);
my_bool (*read_prepare_result)(MYSQL *mysql, MYSQL_STMT *stmt);
diff --git a/include/sql_common.h b/include/sql_common.h
index 3f50008a922..cde53786f83 100644
--- a/include/sql_common.h
+++ b/include/sql_common.h
@@ -25,7 +25,6 @@ extern "C" {
MYSQL_FIELD *unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,
my_bool default_value, uint server_capabilities);
void free_rows(MYSQL_DATA *cur);
-void flush_use_result(MYSQL *mysql);
my_bool mysql_autenticate(MYSQL *mysql, const char *passwd);
void free_old_query(MYSQL *mysql);
void end_server(MYSQL *mysql);