Commit a0091f64 authored by unknown's avatar unknown

Additional fix for bug N26402:

An attempt to open file with name '????????.frm'
can produce different errors:
- ER_NO_SUCH_TABLE on Unix
- ER_FILE_NOT_FOUND on Windows
because QUESTION MARK has special meaning on Windows.
Make sure that any of these two errors happens.


mysql-test/r/show_check.result:
  Additional fix for bug N26402
mysql-test/t/show_check.test:
  Additional fix for bug N26402
parent 1805b34e
...@@ -753,5 +753,5 @@ Tables_in_test Table_type ...@@ -753,5 +753,5 @@ Tables_in_test Table_type
drop table `été`; drop table `été`;
set names latin1; set names latin1;
show columns from `#mysql50#????????`; show columns from `#mysql50#????????`;
ERROR 42S02: Table 'test.#mysql50#????????' doesn't exist Got one of the listed errors
End of 5.1 tests End of 5.1 tests
...@@ -596,7 +596,7 @@ set names latin1; ...@@ -596,7 +596,7 @@ set names latin1;
# #
# Bug#26402 Server crashes with old-style named table # Bug#26402 Server crashes with old-style named table
# #
--error ER_NO_SUCH_TABLE --error ER_NO_SUCH_TABLE,ER_FILE_NOT_FOUND
show columns from `#mysql50#????????`; show columns from `#mysql50#????????`;
--echo End of 5.1 tests --echo End of 5.1 tests
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment