summaryrefslogtreecommitdiff
path: root/libmysql/client_settings.h
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-03-28 17:22:04 +0400
committerkonstantin@mysql.com <>2004-03-28 17:22:04 +0400
commit889790a15ca552477441ccf457aca461674ac63b (patch)
tree5bf725b1d8706c37d5a6850017ab0655d21bae3e /libmysql/client_settings.h
parent6406285849be78c45397fe6321e7687e516f06be (diff)
downloadmariadb-git-889790a15ca552477441ccf457aca461674ac63b.tar.gz
Simplification: MYSQL_RES *result replaced with MYSQL_DATA result;
No need to check for result existence any more, store_result functions now are shorter. cli_read_binary_rows rewritten to handle MYSQL_DATA directly.
Diffstat (limited to 'libmysql/client_settings.h')
-rw-r--r--libmysql/client_settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/client_settings.h b/libmysql/client_settings.h
index 3fdadf29dea..a9695801e65 100644
--- a/libmysql/client_settings.h
+++ b/libmysql/client_settings.h
@@ -54,7 +54,7 @@ my_bool cli_read_prepare_result(MYSQL *mysql, MYSQL_STMT *stmt);
MYSQL_DATA * cli_read_rows(MYSQL *mysql,MYSQL_FIELD *mysql_fields,
uint fields);
int cli_stmt_execute(MYSQL_STMT *stmt);
-MYSQL_DATA * cli_read_binary_rows(MYSQL_STMT *stmt);
+int cli_read_binary_rows(MYSQL_STMT *stmt);
int cli_unbuffered_fetch(MYSQL *mysql, char **row);
const char * cli_read_statistics(MYSQL *mysql);
int cli_read_change_user_result(MYSQL *mysql, char *buff, const char *passwd);