mariadb/mysql-test/suite/galera/r/galera_unicode_identifiers.result
2014-09-30 18:06:15 -04:00

46 lines
1.6 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

SET GLOBAL wsrep_sync_wait = 7;
SET GLOBAL wsrep_sync_wait = 7;
CREATE DATABASE `database with space`;
USE `database with space`;
CREATE TABLE `table with space` (
`column with space` INTEGER AUTO_INCREMENT PRIMARY KEY,
`second column with space` INTEGER,
UNIQUE `index name with space` (`second column with space`)
) ENGINE=INNODB;
INSERT INTO `table with space` VALUES (DEFAULT, 1);
CREATE DATABASE `база`;
USE `база`;
CREATE TABLE `таблица` (
`първаолона` INTEGER PRIMARY KEY,
`втораолона` INTEGER,
UNIQUE `индекс` (`втораолона`)
) ENGINE=INNODB;
INSERT INTO `таблица` VALUES (1, 1);
CREATE DATABASE `втора база`;
USE `втора база`;
CREATE TABLE `втора таблица` (
`първа колона` INTEGER,
`втора колона` INTEGER,
KEY `първи индекс` (`първа колона`)
) ENGINE=INNODB;
INSERT INTO `втора таблица` VALUES (1, 1);
USE `database with space`;
SELECT * FROM `table with space`;
column with space second column with space
1 1
USE `база`;
SELECT * FROM `таблица`;
първаолона втораолона
1 1
USE `втора база`;
SELECT * FROM `втора таблица`;
първа колона втора колона
1 1
SET GLOBAL wsrep_sync_wait = (SELECT @@wsrep_sync_wait);
DROP TABLE `database with space`.`table with space`;
DROP TABLE `база`.`таблица`;
DROP TABLE `втора база`.`втора таблица`;
DROP DATABASE `database with space`;
DROP DATABASE `база`;
DROP DATABASE `втора база`;
SET GLOBAL wsrep_sync_wait = (SELECT @@wsrep_sync_wait);