mirror of
https://github.com/MariaDB/server.git
synced 2025-09-09 18:40:27 +03:00
In commit 49e2c8f0a6
(MDEV-25743)
we made dict_sys_t::find() incompatible with the rest of the
table name hash table operations in case the table name contains
non-ASCII octets (using a compatibility mode that facilitates the
upgrade into the MySQL 5.0 filename-safe encoding) and the target
platform implements signed char.
ut_fold_string(): Remove; replace with my_crc32c(). This also makes
table name hash value calculations independent on whether char
is unsigned or signed.
17 lines
398 B
Plaintext
17 lines
398 B
Plaintext
--source include/have_innodb.inc
|
|
|
|
SET NAMES utf8;
|
|
call mtr.add_suppression("Invalid .old.. table or database name");
|
|
|
|
--echo #
|
|
--echo # Bug #19929435 DROP DATABASE HANGS WITH MALFORMED TABLE
|
|
--echo #
|
|
|
|
set session default_storage_engine=innodb;
|
|
create database `b`;
|
|
use `b`;
|
|
--error ER_WRONG_TABLE_NAME
|
|
create table `#mysql50#q.q` select 1;
|
|
create table `#mysql50#q·q` select 1;
|
|
drop database `b`;
|