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/protocol.h | |
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/protocol.h')
-rw-r--r-- | sql/protocol.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/protocol.h b/sql/protocol.h index ad2593d3ab7..de379db541b 100644 --- a/sql/protocol.h +++ b/sql/protocol.h @@ -54,7 +54,6 @@ public: enum { SEND_NUM_ROWS= 1, SEND_DEFAULTS= 2, SEND_EOF= 4 }; virtual bool send_fields(List<Item> *list, uint flags); - bool send_records_num(List<Item> *list, ulonglong records); bool store(I_List<i_string> *str_list); bool store(const char *from, CHARSET_INFO *cs); String *storage_packet() { return packet; } |