summaryrefslogtreecommitdiff
path: root/mysql-test/t/information_schema.test
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2005-03-24 16:32:11 +0300
committerunknown <gluh@gluh.mysql.r18.ru>2005-03-24 16:32:11 +0300
commita7f5977c3ca9ff15b754183e47f39785d9ae52f1 (patch)
treee0221d9157620ce7446c2c6c571f7aec72efc5d7 /mysql-test/t/information_schema.test
parent704b8576f744800f50bc3d56e87a8ee4f7617531 (diff)
downloadmariadb-git-a7f5977c3ca9ff15b754183e47f39785d9ae52f1.tar.gz
Bug #9317: Wrong count for tables in INFORMATION_SCHEMA
there was no check of result of table->file->write_row() function. When count of rows was more than table max_rows(HEAP table) the following recodrs were not inserted to the table -'schema_table_store_record' function is added. The function checks result of write_row function and convert HEAP table to MyISAM if necessary - Result check after write_row is added into all I_S function which store the records to I_S tables mysql-test/r/information_schema.result: Bug #9317: Wrong count for tables in INFORMATION_SCHEMA mysql-test/t/information_schema.test: Bug #9317: Wrong count for tables in INFORMATION_SCHEMA sql/sql_select.cc: Bug #9317: Wrong count for tables in INFORMATION_SCHEMA sql/sql_show.cc: Bug #9317: Wrong count for tables in INFORMATION_SCHEMA sql/table.h: Bug #9317: Wrong count for tables in INFORMATION_SCHEMA
Diffstat (limited to 'mysql-test/t/information_schema.test')
-rw-r--r--mysql-test/t/information_schema.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/information_schema.test b/mysql-test/t/information_schema.test
index 209755a0dcc..f4d47fa68aa 100644
--- a/mysql-test/t/information_schema.test
+++ b/mysql-test/t/information_schema.test
@@ -403,6 +403,7 @@ while ($tab_count)
--disable_result_log
SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES;
--enable_result_log
+SELECT count(*) FROM INFORMATION_SCHEMA.TABLES;
let $tab_count= 65;
while ($tab_count)
{