1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

A fix (bug #6089: FOUND_ROWS returns wrong values when no table/view is used).

This commit is contained in:
ram@gw.mysql.r18.ru
2004-10-27 14:51:17 +05:00
parent cce8f5449d
commit 07743423f7
5 changed files with 45 additions and 2 deletions

View File

@ -177,6 +177,7 @@ THD::THD()
lock=locked_tables=0;
used_tables=0;
cuted_fields= sent_row_count= 0L;
limit_found_rows= 0;
statement_id_counter= 0UL;
// Must be reset to handle error with THD's created for init of mysqld
lex->current_select= 0;