mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
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
This commit is contained in:
parent
fc654d9ae1
commit
188535bba0
5 changed files with 7 additions and 7 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue