diff options
author | unknown <konstantin@oak.local> | 2004-03-10 20:12:24 +0300 |
---|---|---|
committer | unknown <konstantin@oak.local> | 2004-03-10 20:12:24 +0300 |
commit | 188535bba0964652678c3ce82b2dae3a1ef8bb25 (patch) | |
tree | 69304247ddae3015341c3c1173b35f5476fd9e88 /libmysql | |
parent | fc654d9ae1e48d55785caf68b406a504a92def9d (diff) | |
download | mariadb-git-188535bba0964652678c3ce82b2dae3a1ef8bb25.tar.gz |
Rename:
read_statistic -> read_statistics
(statistic is adjective)
include/mysql.h:
read_statistic -> read_statistics
libmysql/client_settings.h:
read_statistic -> read_statistics
libmysql/libmysql.c:
read_statistic -> read_statistics
libmysqld/lib_sql.cc:
read_statistic -> read_statistics
sql-common/client.c:
read_statistic -> read_statistics
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/client_settings.h | 2 | ||||
-rw-r--r-- | libmysql/libmysql.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libmysql/client_settings.h b/libmysql/client_settings.h index 9d57bdbca0e..e4475d76958 100644 --- a/libmysql/client_settings.h +++ b/libmysql/client_settings.h @@ -57,7 +57,7 @@ MYSQL_DATA * cli_read_rows(MYSQL *mysql,MYSQL_FIELD *mysql_fields, int cli_stmt_execute(MYSQL_STMT *stmt); MYSQL_DATA * cli_read_binary_rows(MYSQL_STMT *stmt); int cli_unbuffered_fetch(MYSQL *mysql, char **row); -const char * cli_read_statistic(MYSQL *mysql); +const char * cli_read_statistics(MYSQL *mysql); int cli_read_change_user_result(MYSQL *mysql, char *buff, const char *passwd); #ifdef EMBEDDED_LIBRARY diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index 9fd0cb00dd2..cf640294544 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -1126,7 +1126,7 @@ mysql_dump_debug_info(MYSQL *mysql) DBUG_RETURN(simple_command(mysql,COM_DEBUG,0,0,0)); } -const char *cli_read_statistic(MYSQL *mysql) +const char *cli_read_statistics(MYSQL *mysql) { mysql->net.read_pos[mysql->packet_length]=0; /* End of stat string */ if (!mysql->net.read_pos[0]) @@ -1145,7 +1145,7 @@ mysql_stat(MYSQL *mysql) DBUG_ENTER("mysql_stat"); if (simple_command(mysql,COM_STATISTICS,0,0,0)) return mysql->net.last_error; - DBUG_RETURN((*mysql->methods->read_statistic)(mysql)); + DBUG_RETURN((*mysql->methods->read_statistics)(mysql)); } |