mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge next-mr -> next-4284.
Fix Bug#50555 "handler commands crash server in my_hash_first()" as a post-merge fix (the new handler tests are not passing otherwise). - in hash.c, don't call calc_hash if ! my_hash_inited(). - add tests and results for the test case for Bug#50555 mysys/hash.c: Assert that the hash is initialized when it's used. sql/set_var.cc: Check that the hash is initalized before using it (Bug#50555)
This commit is contained in:
@ -1491,3 +1491,12 @@ disconnect con1;
|
||||
--source include/wait_until_disconnected.inc
|
||||
--echo # -> connection default
|
||||
connection default;
|
||||
|
||||
--echo #
|
||||
--echo # A test for Bug#50555 "handler commands crash server in
|
||||
--echo # my_hash_first()".
|
||||
--echo #
|
||||
--error ER_UNKNOWN_TABLE
|
||||
handler no_such_table read no_such_index first;
|
||||
--error ER_UNKNOWN_TABLE
|
||||
handler no_such_table close;
|
||||
|
Reference in New Issue
Block a user