diff options
Diffstat (limited to 'libmysqld/libmysqld.c')
-rw-r--r-- | libmysqld/libmysqld.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libmysqld/libmysqld.c b/libmysqld/libmysqld.c index f403400812f..8629312949a 100644 --- a/libmysqld/libmysqld.c +++ b/libmysqld/libmysqld.c @@ -211,7 +211,11 @@ emb_list_fields(MYSQL *mysql, const char *table, const char *wild) DBUG_RETURN(result); } - +my_bool STDCALL emb_read_prepare_result(MYSQL *mysql, MYSQL_STMT *stmt) +{ + stmt->fields= mysql->result->fields; + stmt->alloc; +} /* ** Note that the mysql argument must be initialized with mysql_init() |