diff options
author | unknown <gluh@gluh.mysql.r18.ru> | 2005-03-24 16:32:11 +0300 |
---|---|---|
committer | unknown <gluh@gluh.mysql.r18.ru> | 2005-03-24 16:32:11 +0300 |
commit | a7f5977c3ca9ff15b754183e47f39785d9ae52f1 (patch) | |
tree | e0221d9157620ce7446c2c6c571f7aec72efc5d7 /sql/table.h | |
parent | 704b8576f744800f50bc3d56e87a8ee4f7617531 (diff) | |
download | mariadb-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 'sql/table.h')
-rw-r--r-- | sql/table.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index 4312e09cfe3..fd299759678 100644 --- a/sql/table.h +++ b/sql/table.h @@ -322,6 +322,7 @@ typedef struct st_schema_table struct st_lex; class select_union; +class TMP_TABLE_PARAM; struct Field_translator { @@ -370,6 +371,7 @@ typedef struct st_table_list ST_SCHEMA_TABLE *schema_table; /* Information_schema table */ st_select_lex *schema_select_lex; bool schema_table_reformed; + TMP_TABLE_PARAM *schema_table_param; /* link to select_lex where this table was used */ st_select_lex *select_lex; st_lex *view; /* link on VIEW lex for merging */ |