1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

chore(tests) lowercase database name due different distro settings

This commit is contained in:
Leonid Fedorov
2025-04-11 11:38:27 +00:00
committed by Leonid Fedorov
parent aa5f4fc5e7
commit c294c64bb0
2 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
DROP DATABASE IF EXISTS MCOL5890; DROP DATABASE IF EXISTS mcol5890;
CREATE DATABASE MCOL5890; CREATE DATABASE mcol5890;
USE MCOL5890; USE mcol5890;
# Test 1: DROP TABLE IF EXISTS on non-existent table # Test 1: DROP TABLE IF EXISTS on non-existent table
DROP TABLE IF EXISTS test.does_not_exist; DROP TABLE IF EXISTS test.does_not_exist;
Warnings: Warnings:
@ -12,5 +12,5 @@ ERROR 42S02: Unknown table 'test.does_not_exist'
CREATE TABLE t1 (id INT) ENGINE=ColumnStore; CREATE TABLE t1 (id INT) ENGINE=ColumnStore;
DROP TABLE IF EXISTS t1; DROP TABLE IF EXISTS t1;
SELECT * FROM t1; SELECT * FROM t1;
ERROR 42S02: Table 'MCOL5890.t1' doesn't exist ERROR 42S02: Table 'mcol5890.t1' doesn't exist
DROP DATABASE MCOL5890; DROP DATABASE mcol5890;

View File

@ -2,9 +2,9 @@
# Setup: Create a test database # Setup: Create a test database
--disable_warnings --disable_warnings
DROP DATABASE IF EXISTS MCOL5890; DROP DATABASE IF EXISTS mcol5890;
CREATE DATABASE MCOL5890; CREATE DATABASE mcol5890;
USE MCOL5890; USE mcol5890;
--enable_warnings --enable_warnings
# Test 1: DROP TABLE IF EXISTS on a non-existent table should succeed silently # Test 1: DROP TABLE IF EXISTS on a non-existent table should succeed silently
@ -26,4 +26,4 @@ DROP TABLE IF EXISTS t1;
SELECT * FROM t1; SELECT * FROM t1;
# Cleanup # Cleanup
DROP DATABASE MCOL5890; DROP DATABASE mcol5890;