diff options
author | unknown <msvensson@neptunus.(none)> | 2005-04-13 12:22:20 +0200 |
---|---|---|
committer | unknown <msvensson@neptunus.(none)> | 2005-04-13 12:22:20 +0200 |
commit | 2189e5e7bd8530eeb1f866a6304651f54cdcad75 (patch) | |
tree | 0c4e2952b0743607c4188361b2f0b86fca004c16 /sql-common | |
parent | 5630f0731ab020471108c67e7ae962ba6eaef625 (diff) | |
download | mariadb-git-2189e5e7bd8530eeb1f866a6304651f54cdcad75.tar.gz |
BUG#9391 mysqlshow prints incorrect "rows" information
- Removed use of mysql->extra_info
- Removed unused function send_records_num
VC++Files/winmysqladmin/mysql.h:
Comment extra_info as not used anymore
client/mysqlshow.c:
Remove use of extra info. Instead read number of records in table using SELECT COUNT(*)
include/mysql.h:
Comment extra_info as not used anymore
libmysqld/lib_sql.cc:
Removed unused function send_records_num
sql-common/client.c:
Remove use of extra_info since number of records is not sent in the protocol anymore
sql/protocol.cc:
Removed unused function send_records_num
sql/protocol.h:
Removed unused function send_records_num
Diffstat (limited to 'sql-common')
-rw-r--r-- | sql-common/client.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql-common/client.c b/sql-common/client.c index df7a3fe4974..59e27e4090a 100644 --- a/sql-common/client.c +++ b/sql-common/client.c @@ -2446,8 +2446,6 @@ get_info: if (!(mysql->server_status & SERVER_STATUS_AUTOCOMMIT)) mysql->server_status|= SERVER_STATUS_IN_TRANS; - mysql->extra_info= net_field_length_ll(&pos); /* Maybe number of rec */ - if (!(fields=(*mysql->methods->read_rows)(mysql,(MYSQL_FIELD*)0, protocol_41(mysql) ? 7 : 5))) DBUG_RETURN(1); |