用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
839 B

5 months ago
#
# BUG#18923685: PROPERLY INITIALIZE DB OPTION HASH TABLE
#
CREATE DATABASE FoO COLLATE ascii_bin;
CREATE DATABASE Foo COLLATE utf8_unicode_ci;
Warnings:
Warning 3778 'utf8_unicode_ci' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
USE FoO;
CREATE TABLE t1(a INT);
# t1 should inherit ascii_bin
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=ascii COLLATE=ascii_bin
DROP TABLE t1;
USE Foo;
CREATE TABLE t1(a INT);
# t1 should inherit utf8_unicode_ci
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` int(11) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
DROP TABLE t1;
DROP DATABASE FoO;
DROP DATABASE Foo;
USE test;
# End of 5.6 tests