summaryrefslogtreecommitdiff
path: root/sql-common
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2003-10-04 19:28:08 +0500
committerunknown <hf@deer.(none)>2003-10-04 19:28:08 +0500
commit0bb1e434b692c8104d56eb760e669c2a82a2ccf1 (patch)
treefc0a7f5d6971cd34c41f30f95658060011cf1f4f /sql-common
parent0a413218db6b70f231b52800b8789fcbb7c70da5 (diff)
downloadmariadb-git-0bb1e434b692c8104d56eb760e669c2a82a2ccf1.tar.gz
Fix for bugs #1437, #1446
include/mysql.h: read_statistic added to virtual methods libmysql/client_settings.h: interface for cli_read_statistic added libmysql/libmysql.c: read_statistic and mysql_stat code changes libmysqld/lib_sql.cc: emb_read_statistic implemented server_version initialized sql-common/client.c: cli_read_statistic added to the table sql/sql_parse.cc: storage of result of COM_STATISTIC changed in embedded library
Diffstat (limited to 'sql-common')
-rw-r--r--sql-common/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql-common/client.c b/sql-common/client.c
index 77aa733fe0c..cedfac67328 100644
--- a/sql-common/client.c
+++ b/sql-common/client.c
@@ -1410,7 +1410,8 @@ static MYSQL_METHODS client_methods=
cli_stmt_execute,
cli_read_binary_rows,
cli_unbuffered_fetch,
- NULL
+ NULL,
+ cli_read_statistic
#endif
};