From b012018b7a126eec08867b0726b7fad5b31a153f Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 14 Feb 2004 20:26:21 +0400 Subject: Fix for #2212 (mysql_change_user doesn't work in embedded library) now it's working include/mysql.h: read_change_user_result 'virtual' method added libmysql/client_settings.h: cli_read_change_user_result interface libmysql/libmysql.c: cli_read_change_user_result implementation libmysqld/lib_sql.cc: emb_read_change_user_result implementation sql-common/client.c: cli_read_change_user_result added to the method's table sql/sql_parse.cc: fixes to make mysql_change_user working in embedded library --- include/mysql.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/mysql.h') diff --git a/include/mysql.h b/include/mysql.h index cd5d01d6f44..35d9aa62040 100644 --- a/include/mysql.h +++ b/include/mysql.h @@ -575,6 +575,7 @@ typedef struct st_mysql_methods void (*free_embedded_thd)(MYSQL *mysql); const char *(*read_statistic)(MYSQL *mysql); int (*next_result)(MYSQL *mysql); + int (*read_change_user_result)(MYSQL *mysql, char *buff, const char *passwd); #endif } MYSQL_METHODS; -- cgit v1.2.1