mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fix some testcases, to enable mtr --mysqld=--lower_case_table_name=0
Add include/have_lowercase{0,1}.inc where test case require it.
Reason: lower_case_table_names setting in the corresponding .opt files
is insufficient, if it is overwritten with --mysqld setting in MTR.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# test cases for strmov(tmp_db, db) -> strnmov replacement in sql_acl.cc
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_lowercase1.inc
|
||||
|
||||
#
|
||||
# http://seclists.org/fulldisclosure/2012/Dec/4
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# i.e. lower_case_filesystem=OFF
|
||||
#
|
||||
-- source include/have_case_sensitive_file_system.inc
|
||||
-- source include/have_lowercase0.inc
|
||||
-- source include/not_embedded.inc
|
||||
-- source include/have_perfschema.inc
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
--source include/have_lowercase1.inc
|
||||
#
|
||||
# Test of --lower-case-table-names
|
||||
#
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# Don't test with embedded server
|
||||
-- source include/not_embedded.inc
|
||||
-- source include/have_lowercase1.inc
|
||||
|
||||
# Test of grants when lower_case_table_names is on
|
||||
use mysql;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#
|
||||
# Test of query cache with --lower-case-table-names
|
||||
#
|
||||
-- source include/have_lowercase1.inc
|
||||
-- source include/no_view_protocol.inc
|
||||
|
||||
set @save_query_cache_size=@@query_cache_size;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
--source include/have_lowercase1.inc
|
||||
#
|
||||
# Bug#25830 SHOW TABLE STATUS behaves differently depending on table name
|
||||
#
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
--source include/have_lowercase1.inc
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists t1Aa,t2Aa,v1Aa,v2Aa;
|
||||
drop view if exists t1Aa,t2Aa,v1Aa,v2Aa;
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
# we do the windows specific relative directory testing
|
||||
|
||||
--source include/windows.inc
|
||||
--source include/have_lowercase1.inc
|
||||
--source include/have_case_insensitive_file_system.inc
|
||||
|
||||
CREATE TABLE t1 (c1 longtext);
|
||||
INSERT INTO t1 values ('a');
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# Windows-specific tests
|
||||
--source include/windows.inc
|
||||
--source include/have_lowercase1.inc
|
||||
|
||||
#
|
||||
# Bug 9148: Denial of service
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# The embedded server does not support restarting.
|
||||
--source include/not_embedded.inc
|
||||
--source include/have_case_sensitive_file_system.inc
|
||||
--source include/have_lowercase0.inc
|
||||
|
||||
--echo #
|
||||
--echo # Bug #20476395 DICT_LOAD_FOREIGNS() FAILED IN
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
--source include/have_innodb.inc
|
||||
--source include/have_case_sensitive_file_system.inc
|
||||
--source include/have_lowercase0.inc
|
||||
|
||||
--echo #
|
||||
--echo # MDEV-28802 DROP DATABASE in InnoDB still is case-insensitive
|
||||
|
||||
Reference in New Issue
Block a user