1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00
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
This commit is contained in:
hf@deer.(none)
2003-09-18 18:28:42 +05:00
parent aa7fd6f4a3
commit 0e059dcb74
5 changed files with 23 additions and 13 deletions

View File

@ -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);
}