1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

More test cases are added

Fixed bug 'using of alias with information schema tables in views'
removed compiler warnings


mysql-test/r/information_schema.result:
  More test cases are added
mysql-test/t/information_schema.test:
  More test cases are added
sql/sql_select.cc:
  Fixed bug 'using of alias with information schema tables in views'
sql/sql_show.cc:
  Fixed bug 'using of alias with information schema tables in views'
  Changed length of some columns
sql/table.h:
  Fixed bug 'using of alias with information schema tables in views'
tests/client_test.c:
  Changed length of some columns
This commit is contained in:
unknown
2004-11-23 17:41:39 +03:00
parent 8941ac5685
commit 3afa86dc34
6 changed files with 64 additions and 12 deletions

View File

@ -12885,8 +12885,9 @@ void st_table_list::print(THD *thd, String *str)
str->append('.');
if (schema_table)
{
append_identifier(thd, str, alias, strlen(alias));
cmp_name= alias;
append_identifier(thd, str, schema_table_name,
strlen(schema_table_name));
cmp_name= schema_table_name;
}
else
{