diff options
author | hf@deer.(none) <> | 2003-09-18 18:28:42 +0500 |
---|---|---|
committer | hf@deer.(none) <> | 2003-09-18 18:28:42 +0500 |
commit | 0e059dcb74eddc89049104f4c9962d6591efeb97 (patch) | |
tree | 593ba69d5c29894f275cbfb3fd65924fcde6fef3 /libmysqld | |
parent | aa7fd6f4a3d84c2954eb4cae39ce30f476852d00 (diff) | |
download | mariadb-git-0e059dcb74eddc89049104f4c9962d6591efeb97.tar.gz |
SCRUM:
embedded library
I decided to get rid of #define mysql_some_function in mysql.h
It puzzles users and makes problems with dynamic libraries
Finally, there are only two functions left, that are covered with
the #define-s and it won't hurt performance at all
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/libmysqld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/libmysqld.c b/libmysqld/libmysqld.c index 67dc00e4c1b..4862800f0a2 100644 --- a/libmysqld/libmysqld.c +++ b/libmysqld/libmysqld.c @@ -221,7 +221,7 @@ mysql_real_connect(MYSQL *mysql,const char *host, const char *user, goto error; if (mysql->fields) { - if (!(res= mysql_use_result(mysql))) + if (!(res= (*mysql->methods->use_result)(mysql))) goto error; mysql_free_result(res); } |