|
|
# Bug#37938 Test "mysqldump" lacks various insert statements
|
|
|
# Turn off concurrent inserts to avoid random errors
|
|
|
# NOTE: We reset the variable back to saved value at the end of test
|
|
|
SET @OLD_CONCURRENT_INSERT = @@GLOBAL.CONCURRENT_INSERT;
|
|
|
SET @@GLOBAL.CONCURRENT_INSERT = 0;
|
|
|
DROP TABLE IF EXISTS t1, `"t"1`, t1aa, t2, t2aa, t3;
|
|
|
drop database if exists mysqldump_test_db;
|
|
|
drop database if exists db1;
|
|
|
drop database if exists db2;
|
|
|
drop view if exists v1, v2, v3;
|
|
|
set global innodb_file_per_table=1;
|
|
|
CREATE TABLE t1(a INT, KEY (a)) ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=1 ENGINE=Innodb;
|
|
|
INSERT INTO t1 VALUES (1), (2);
|
|
|
<?xml version="1.0"?>
|
|
|
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<database name="test">
|
|
|
<table_structure name="t1">
|
|
|
<field Field="a" Type="int(11)" Null="YES" Key="MUL" Extra="" Comment="" />
|
|
|
<key Table="t1" Non_unique="1" Key_name="a" Seq_in_index="1" Column_name="a" Collation="A" Cardinality="filtered" Null="YES" Index_type="BTREE" Comment="" Index_comment="" Visible="YES" />
|
|
|
<options Name="t1" Engine="InnoDB" Version="10" Row_format="Compressed" Rows="2" Avg_row_length="512" Data_length="1024" Max_data_length="0" Index_length="1024" Data_free="0" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="row_format=COMPRESSED KEY_BLOCK_SIZE=1" Comment="" />
|
|
|
</table_structure>
|
|
|
<table_data name="t1">
|
|
|
<row>
|
|
|
<field name="a">1</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="a">2</field>
|
|
|
</row>
|
|
|
</table_data>
|
|
|
</database>
|
|
|
</mysqldump>
|
|
|
DROP TABLE t1;
|
|
|
SET GLOBAL innodb_file_per_table=1;
|
|
|
#
|
|
|
# Bug#2005 Long decimal comparison bug.
|
|
|
#
|
|
|
CREATE TABLE t1 (a decimal(64, 20));
|
|
|
INSERT INTO t1 VALUES ("1234567890123456789012345678901234567890"),
|
|
|
("0987654321098765432109876543210987654321");
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` decimal(64,20) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
INSERT INTO `t1` VALUES (1234567890123456789012345678901234567890.00000000000000000000),(987654321098765432109876543210987654321.00000000000000000000);
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#2055 mysqldump should replace "-inf" numeric field values with "NULL"
|
|
|
#
|
|
|
CREATE TABLE t1 (a double);
|
|
|
INSERT IGNORE INTO t1 VALUES ('-9e999999');
|
|
|
Warnings:
|
|
|
Warning 1264 Out of range value for column 'a' at row 1
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` double DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
INSERT INTO `t1` VALUES (-1.7976931348623157e308);
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#3361 mysqldump quotes DECIMAL values inconsistently
|
|
|
#
|
|
|
CREATE TABLE t1 (a DECIMAL(10,5), b FLOAT);
|
|
|
INSERT INTO t1 VALUES (1.2345, 2.3456);
|
|
|
INSERT INTO t1 VALUES ('1.2345', 2.3456);
|
|
|
INSERT INTO t1 VALUES ("1.2345", 2.3456);
|
|
|
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='ANSI_QUOTES';
|
|
|
INSERT INTO t1 VALUES (1.2345, 2.3456);
|
|
|
INSERT INTO t1 VALUES ('1.2345', 2.3456);
|
|
|
INSERT INTO t1 VALUES ("1.2345", 2.3456);
|
|
|
ERROR 42S22: Unknown column '1.2345' in 'field list'
|
|
|
SET SQL_MODE=@OLD_SQL_MODE;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` decimal(10,5) DEFAULT NULL,
|
|
|
`b` float DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
INSERT INTO `t1` VALUES (1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456),(1.23450,2.3456);
|
|
|
DROP TABLE t1;
|
|
|
CREATE TABLE t1(a int, b text, c varchar(3));
|
|
|
INSERT INTO t1 VALUES (1, "test", "tes"), (2, "TEST", "TES");
|
|
|
<?xml version="1.0"?>
|
|
|
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<database name="test">
|
|
|
<table_structure name="t1">
|
|
|
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<field Field="b" Type="text" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<field Field="c" Type="varchar(3)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t1" Engine="InnoDB" Version="10" Row_format="Dynamic" Rows="2" Avg_row_length="8192" Data_length="16384" Max_data_length="0" Index_length="0" Data_free="0" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
<table_data name="t1">
|
|
|
<row>
|
|
|
<field name="a">1</field>
|
|
|
<field name="b">test</field>
|
|
|
<field name="c">tes</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="a">2</field>
|
|
|
<field name="b">TEST</field>
|
|
|
<field name="c">TES</field>
|
|
|
</row>
|
|
|
</table_data>
|
|
|
</database>
|
|
|
</mysqldump>
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#1707 mysqldump -X does't quote field and table names
|
|
|
#
|
|
|
CREATE TABLE t1 (`a"b"` char(2));
|
|
|
INSERT INTO t1 VALUES ("1\""), ("\"2");
|
|
|
<?xml version="1.0"?>
|
|
|
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<database name="test">
|
|
|
<table_structure name="t1">
|
|
|
<field Field="a"b"" Type="char(2)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t1" Engine="InnoDB" Version="10" Row_format="Dynamic" Rows="2" Avg_row_length="8192" Data_length="16384" Max_data_length="0" Index_length="0" Data_free="0" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
<table_data name="t1">
|
|
|
<row>
|
|
|
<field name="a"b"">1"</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="a"b"">"2</field>
|
|
|
</row>
|
|
|
</table_data>
|
|
|
</database>
|
|
|
</mysqldump>
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#1994 mysqldump does not correctly dump UCS2 data
|
|
|
# Bug#4261 mysqldump 10.7 (mysql 4.1.2) --skip-extended-insert drops NULL from inserts
|
|
|
#
|
|
|
CREATE TABLE t1 (a VARCHAR(255)) DEFAULT CHARSET koi8r;
|
|
|
INSERT INTO t1 VALUES (_koi8r x'C1C2C3C4C5'), (NULL);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` varchar(255) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=koi8r;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES ('абцде');
|
|
|
INSERT INTO `t1` VALUES (NULL);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#2592 mysqldump doesn't quote "tricky" names correctly
|
|
|
#
|
|
|
create table ```a` (i int);
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE ```a` (
|
|
|
`i` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
drop table ```a`;
|
|
|
#
|
|
|
# Bug#2591 mysqldump quotes names inconsistently
|
|
|
#
|
|
|
create table t1(a int);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ANSI' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS "t1";
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE "t1" (
|
|
|
"a" int(11) DEFAULT NULL
|
|
|
);
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES "t1" WRITE;
|
|
|
/*!40000 ALTER TABLE "t1" DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE "t1" ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
set global sql_mode='ANSI_QUOTES';
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ANSI' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS "t1";
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE "t1" (
|
|
|
"a" int(11) DEFAULT NULL
|
|
|
);
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES "t1" WRITE;
|
|
|
/*!40000 ALTER TABLE "t1" DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE "t1" ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
set global sql_mode=DEFAULT;
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Bug#2705 mysqldump --tab extra output
|
|
|
#
|
|
|
create table t1(a int);
|
|
|
insert into t1 values (1),(2),(3);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
1
|
|
|
2
|
|
|
3
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Bug#6101 create database problem
|
|
|
#
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `test`;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
create database mysqldump_test_db character set latin2 collate latin2_bin;
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqldump_test_db` /*!40100 DEFAULT CHARACTER SET latin2 COLLATE latin2_bin */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `mysqldump_test_db`;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop database mysqldump_test_db;
|
|
|
#
|
|
|
# Bug#7020 mysqldump --compatible=mysql40 should set --skip-set-charset --default-char...
|
|
|
# Check that we don't dump in UTF8 in compatible mode by default,
|
|
|
# but use the default compiled values, or the values given in
|
|
|
# --default-character-set=xxx. However, we should dump in UTF8
|
|
|
# if it is explicitely set.
|
|
|
CREATE TABLE t1 (a CHAR(10));
|
|
|
INSERT INTO t1 VALUES (_latin1 x'C4D6DCDF');
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` char(10) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES ('ÄÖÜß');
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# WL#2319 Exclude Tables from dump
|
|
|
#
|
|
|
CREATE TABLE t1 (a int);
|
|
|
CREATE TABLE t2 (a int);
|
|
|
INSERT INTO t1 VALUES (1),(2),(3);
|
|
|
INSERT INTO t2 VALUES (4),(5),(6);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t2`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t2` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t2` WRITE;
|
|
|
/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
|
|
|
INSERT INTO `t2` VALUES (4),(5),(6);
|
|
|
/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE t1;
|
|
|
DROP TABLE t2;
|
|
|
#
|
|
|
# Bug#8830 mysqldump --skip-extended-insert causes --hex-blob to dump wrong values
|
|
|
#
|
|
|
CREATE TABLE t1 (`b` blob);
|
|
|
INSERT INTO `t1` VALUES (0x602010000280100005E71A);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`b` blob
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (0x602010000280100005E71A);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Test for --insert-ignore
|
|
|
#
|
|
|
CREATE TABLE t1 (a INT);
|
|
|
INSERT INTO t1 VALUES (1),(2),(3);
|
|
|
INSERT INTO t1 VALUES (4),(5),(6);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT IGNORE INTO `t1` VALUES (1),(2),(3),(4),(5),(6);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#10286 mysqldump -c crashes on table that has many fields with long
|
|
|
# names
|
|
|
#
|
|
|
create table t1 (
|
|
|
F_c4ca4238a0b923820dcc509a6f75849b int,
|
|
|
F_c81e728d9d4c2f636f067f89cc14862c int,
|
|
|
F_eccbc87e4b5ce2fe28308fd9f2a7baf3 int,
|
|
|
F_a87ff679a2f3e71d9181a67b7542122c int,
|
|
|
F_e4da3b7fbbce2345d7772b0674a318d5 int,
|
|
|
F_1679091c5a880faf6fb5e6087eb1b2dc int,
|
|
|
F_8f14e45fceea167a5a36dedd4bea2543 int,
|
|
|
F_c9f0f895fb98ab9159f51fd0297e236d int,
|
|
|
F_45c48cce2e2d7fbdea1afc51c7c6ad26 int,
|
|
|
F_d3d9446802a44259755d38e6d163e820 int,
|
|
|
F_6512bd43d9caa6e02c990b0a82652dca int,
|
|
|
F_c20ad4d76fe97759aa27a0c99bff6710 int,
|
|
|
F_c51ce410c124a10e0db5e4b97fc2af39 int,
|
|
|
F_aab3238922bcc25a6f606eb525ffdc56 int,
|
|
|
F_9bf31c7ff062936a96d3c8bd1f8f2ff3 int,
|
|
|
F_c74d97b01eae257e44aa9d5bade97baf int,
|
|
|
F_70efdf2ec9b086079795c442636b55fb int,
|
|
|
F_6f4922f45568161a8cdf4ad2299f6d23 int,
|
|
|
F_1f0e3dad99908345f7439f8ffabdffc4 int,
|
|
|
F_98f13708210194c475687be6106a3b84 int,
|
|
|
F_3c59dc048e8850243be8079a5c74d079 int,
|
|
|
F_b6d767d2f8ed5d21a44b0e5886680cb9 int,
|
|
|
F_37693cfc748049e45d87b8c7d8b9aacd int,
|
|
|
F_1ff1de774005f8da13f42943881c655f int,
|
|
|
F_8e296a067a37563370ded05f5a3bf3ec int,
|
|
|
F_4e732ced3463d06de0ca9a15b6153677 int,
|
|
|
F_02e74f10e0327ad868d138f2b4fdd6f0 int,
|
|
|
F_33e75ff09dd601bbe69f351039152189 int,
|
|
|
F_6ea9ab1baa0efb9e19094440c317e21b int,
|
|
|
F_34173cb38f07f89ddbebc2ac9128303f int,
|
|
|
F_c16a5320fa475530d9583c34fd356ef5 int,
|
|
|
F_6364d3f0f495b6ab9dcf8d3b5c6e0b01 int,
|
|
|
F_182be0c5cdcd5072bb1864cdee4d3d6e int,
|
|
|
F_e369853df766fa44e1ed0ff613f563bd int,
|
|
|
F_1c383cd30b7c298ab50293adfecb7b18 int,
|
|
|
F_19ca14e7ea6328a42e0eb13d585e4c22 int,
|
|
|
F_a5bfc9e07964f8dddeb95fc584cd965d int,
|
|
|
F_a5771bce93e200c36f7cd9dfd0e5deaa int,
|
|
|
F_d67d8ab4f4c10bf22aa353e27879133c int,
|
|
|
F_d645920e395fedad7bbbed0eca3fe2e0 int,
|
|
|
F_3416a75f4cea9109507cacd8e2f2aefc int,
|
|
|
F_a1d0c6e83f027327d8461063f4ac58a6 int,
|
|
|
F_17e62166fc8586dfa4d1bc0e1742c08b int,
|
|
|
F_f7177163c833dff4b38fc8d2872f1ec6 int,
|
|
|
F_6c8349cc7260ae62e3b1396831a8398f int,
|
|
|
F_d9d4f495e875a2e075a1a4a6e1b9770f int,
|
|
|
F_67c6a1e7ce56d3d6fa748ab6d9af3fd7 int,
|
|
|
F_642e92efb79421734881b53e1e1b18b6 int,
|
|
|
F_f457c545a9ded88f18ecee47145a72c0 int,
|
|
|
F_c0c7c76d30bd3dcaefc96f40275bdc0a int,
|
|
|
F_2838023a778dfaecdc212708f721b788 int,
|
|
|
F_9a1158154dfa42caddbd0694a4e9bdc8 int,
|
|
|
F_d82c8d1619ad8176d665453cfb2e55f0 int,
|
|
|
F_a684eceee76fc522773286a895bc8436 int,
|
|
|
F_b53b3a3d6ab90ce0268229151c9bde11 int,
|
|
|
F_9f61408e3afb633e50cdf1b20de6f466 int,
|
|
|
F_72b32a1f754ba1c09b3695e0cb6cde7f int,
|
|
|
F_66f041e16a60928b05a7e228a89c3799 int,
|
|
|
F_093f65e080a295f8076b1c5722a46aa2 int,
|
|
|
F_072b030ba126b2f4b2374f342be9ed44 int,
|
|
|
F_7f39f8317fbdb1988ef4c628eba02591 int,
|
|
|
F_44f683a84163b3523afe57c2e008bc8c int,
|
|
|
F_03afdbd66e7929b125f8597834fa83a4 int,
|
|
|
F_ea5d2f1c4608232e07d3aa3d998e5135 int,
|
|
|
F_fc490ca45c00b1249bbe3554a4fdf6fb int,
|
|
|
F_3295c76acbf4caaed33c36b1b5fc2cb1 int,
|
|
|
F_735b90b4568125ed6c3f678819b6e058 int,
|
|
|
F_a3f390d88e4c41f2747bfa2f1b5f87db int,
|
|
|
F_14bfa6bb14875e45bba028a21ed38046 int,
|
|
|
F_7cbbc409ec990f19c78c75bd1e06f215 int,
|
|
|
F_e2c420d928d4bf8ce0ff2ec19b371514 int,
|
|
|
F_32bb90e8976aab5298d5da10fe66f21d int,
|
|
|
F_d2ddea18f00665ce8623e36bd4e3c7c5 int,
|
|
|
F_ad61ab143223efbc24c7d2583be69251 int,
|
|
|
F_d09bf41544a3365a46c9077ebb5e35c3 int,
|
|
|
F_fbd7939d674997cdb4692d34de8633c4 int,
|
|
|
F_28dd2c7955ce926456240b2ff0100bde int,
|
|
|
F_35f4a8d465e6e1edc05f3d8ab658c551 int,
|
|
|
F_d1fe173d08e959397adf34b1d77e88d7 int,
|
|
|
F_f033ab37c30201f73f142449d037028d int,
|
|
|
F_43ec517d68b6edd3015b3edc9a11367b int,
|
|
|
F_9778d5d219c5080b9a6a17bef029331c int,
|
|
|
F_fe9fc289c3ff0af142b6d3bead98a923 int,
|
|
|
F_68d30a9594728bc39aa24be94b319d21 int,
|
|
|
F_3ef815416f775098fe977004015c6193 int,
|
|
|
F_93db85ed909c13838ff95ccfa94cebd9 int,
|
|
|
F_c7e1249ffc03eb9ded908c236bd1996d int,
|
|
|
F_2a38a4a9316c49e5a833517c45d31070 int,
|
|
|
F_7647966b7343c29048673252e490f736 int,
|
|
|
F_8613985ec49eb8f757ae6439e879bb2a int,
|
|
|
F_54229abfcfa5649e7003b83dd4755294 int,
|
|
|
F_92cc227532d17e56e07902b254dfad10 int,
|
|
|
F_98dce83da57b0395e163467c9dae521b int,
|
|
|
F_f4b9ec30ad9f68f89b29639786cb62ef int,
|
|
|
F_812b4ba287f5ee0bc9d43bbf5bbe87fb int,
|
|
|
F_26657d5ff9020d2abefe558796b99584 int,
|
|
|
F_e2ef524fbf3d9fe611d5a8e90fefdc9c int,
|
|
|
F_ed3d2c21991e3bef5e069713af9fa6ca int,
|
|
|
F_ac627ab1ccbdb62ec96e702f07f6425b int,
|
|
|
F_f899139df5e1059396431415e770c6dd int,
|
|
|
F_38b3eff8baf56627478ec76a704e9b52 int,
|
|
|
F_ec8956637a99787bd197eacd77acce5e int,
|
|
|
F_6974ce5ac660610b44d9b9fed0ff9548 int,
|
|
|
F_c9e1074f5b3f9fc8ea15d152add07294 int,
|
|
|
F_65b9eea6e1cc6bb9f0cd2a47751a186f int,
|
|
|
F_f0935e4cd5920aa6c7c996a5ee53a70f int,
|
|
|
F_a97da629b098b75c294dffdc3e463904 int,
|
|
|
F_a3c65c2974270fd093ee8a9bf8ae7d0b int,
|
|
|
F_2723d092b63885e0d7c260cc007e8b9d int,
|
|
|
F_5f93f983524def3dca464469d2cf9f3e int,
|
|
|
F_698d51a19d8a121ce581499d7b701668 int,
|
|
|
F_7f6ffaa6bb0b408017b62254211691b5 int,
|
|
|
F_73278a4a86960eeb576a8fd4c9ec6997 int,
|
|
|
F_5fd0b37cd7dbbb00f97ba6ce92bf5add int,
|
|
|
F_2b44928ae11fb9384c4cf38708677c48 int,
|
|
|
F_c45147dee729311ef5b5c3003946c48f int,
|
|
|
F_eb160de1de89d9058fcb0b968dbbbd68 int,
|
|
|
F_5ef059938ba799aaa845e1c2e8a762bd int,
|
|
|
F_07e1cd7dca89a1678042477183b7ac3f int,
|
|
|
F_da4fb5c6e93e74d3df8527599fa62642 int,
|
|
|
F_4c56ff4ce4aaf9573aa5dff913df997a int,
|
|
|
F_a0a080f42e6f13b3a2df133f073095dd int,
|
|
|
F_202cb962ac59075b964b07152d234b70 int,
|
|
|
F_c8ffe9a587b126f152ed3d89a146b445 int,
|
|
|
F_3def184ad8f4755ff269862ea77393dd int,
|
|
|
F_069059b7ef840f0c74a814ec9237b6ec int,
|
|
|
F_ec5decca5ed3d6b8079e2e7e7bacc9f2 int,
|
|
|
F_76dc611d6ebaafc66cc0879c71b5db5c int,
|
|
|
F_d1f491a404d6854880943e5c3cd9ca25 int,
|
|
|
F_9b8619251a19057cff70779273e95aa6 int,
|
|
|
F_1afa34a7f984eeabdbb0a7d494132ee5 int,
|
|
|
F_65ded5353c5ee48d0b7d48c591b8f430 int,
|
|
|
F_9fc3d7152ba9336a670e36d0ed79bc43 int,
|
|
|
F_02522a2b2726fb0a03bb19f2d8d9524d int,
|
|
|
F_7f1de29e6da19d22b51c68001e7e0e54 int,
|
|
|
F_42a0e188f5033bc65bf8d78622277c4e int,
|
|
|
F_3988c7f88ebcb58c6ce932b957b6f332 int,
|
|
|
F_013d407166ec4fa56eb1e1f8cbe183b9 int,
|
|
|
F_e00da03b685a0dd18fb6a08af0923de0 int,
|
|
|
F_1385974ed5904a438616ff7bdb3f7439 int,
|
|
|
F_0f28b5d49b3020afeecd95b4009adf4c int,
|
|
|
F_a8baa56554f96369ab93e4f3bb068c22 int,
|
|
|
F_903ce9225fca3e988c2af215d4e544d3 int,
|
|
|
F_0a09c8844ba8f0936c20bd791130d6b6 int,
|
|
|
F_2b24d495052a8ce66358eb576b8912c8 int,
|
|
|
F_a5e00132373a7031000fd987a3c9f87b int,
|
|
|
F_8d5e957f297893487bd98fa830fa6413 int,
|
|
|
F_47d1e990583c9c67424d369f3414728e int,
|
|
|
F_f2217062e9a397a1dca429e7d70bc6ca int,
|
|
|
F_7ef605fc8dba5425d6965fbd4c8fbe1f int,
|
|
|
F_a8f15eda80c50adb0e71943adc8015cf int,
|
|
|
F_37a749d808e46495a8da1e5352d03cae int,
|
|
|
F_b3e3e393c77e35a4a3f3cbd1e429b5dc int,
|
|
|
F_1d7f7abc18fcb43975065399b0d1e48e int,
|
|
|
F_2a79ea27c279e471f4d180b08d62b00a int,
|
|
|
F_1c9ac0159c94d8d0cbedc973445af2da int,
|
|
|
F_6c4b761a28b734fe93831e3fb400ce87 int,
|
|
|
F_06409663226af2f3114485aa4e0a23b4 int,
|
|
|
F_140f6969d5213fd0ece03148e62e461e int,
|
|
|
F_b73ce398c39f506af761d2277d853a92 int,
|
|
|
F_bd4c9ab730f5513206b999ec0d90d1fb int,
|
|
|
F_82aa4b0af34c2313a562076992e50aa3 int,
|
|
|
F_0777d5c17d4066b82ab86dff8a46af6f int,
|
|
|
F_fa7cdfad1a5aaf8370ebeda47a1ff1c3 int,
|
|
|
F_9766527f2b5d3e95d4a733fcfb77bd7e int,
|
|
|
F_7e7757b1e12abcb736ab9a754ffb617a int,
|
|
|
F_5878a7ab84fb43402106c575658472fa int,
|
|
|
F_006f52e9102a8d3be2fe5614f42ba989 int,
|
|
|
F_3636638817772e42b59d74cff571fbb3 int,
|
|
|
F_149e9677a5989fd342ae44213df68868 int,
|
|
|
F_a4a042cf4fd6bfb47701cbc8a1653ada int,
|
|
|
F_1ff8a7b5dc7a7d1f0ed65aaa29c04b1e int,
|
|
|
F_f7e6c85504ce6e82442c770f7c8606f0 int,
|
|
|
F_bf8229696f7a3bb4700cfddef19fa23f int,
|
|
|
F_82161242827b703e6acf9c726942a1e4 int,
|
|
|
F_38af86134b65d0f10fe33d30dd76442e int,
|
|
|
F_96da2f590cd7246bbde0051047b0d6f7 int,
|
|
|
F_8f85517967795eeef66c225f7883bdcb int,
|
|
|
F_8f53295a73878494e9bc8dd6c3c7104f int,
|
|
|
F_045117b0e0a11a242b9765e79cbf113f int,
|
|
|
F_fc221309746013ac554571fbd180e1c8 int,
|
|
|
F_4c5bde74a8f110656874902f07378009 int,
|
|
|
F_cedebb6e872f539bef8c3f919874e9d7 int,
|
|
|
F_6cdd60ea0045eb7a6ec44c54d29ed402 int,
|
|
|
F_eecca5b6365d9607ee5a9d336962c534 int,
|
|
|
F_9872ed9fc22fc182d371c3e9ed316094 int,
|
|
|
F_31fefc0e570cb3860f2a6d4b38c6490d int,
|
|
|
F_9dcb88e0137649590b755372b040afad int,
|
|
|
F_a2557a7b2e94197ff767970b67041697 int,
|
|
|
F_cfecdb276f634854f3ef915e2e980c31 int,
|
|
|
F_0aa1883c6411f7873cb83dacb17b0afc int,
|
|
|
F_58a2fc6ed39fd083f55d4182bf88826d int,
|
|
|
F_bd686fd640be98efaae0091fa301e613 int,
|
|
|
F_a597e50502f5ff68e3e25b9114205d4a int,
|
|
|
F_0336dcbab05b9d5ad24f4333c7658a0e int,
|
|
|
F_084b6fbb10729ed4da8c3d3f5a3ae7c9 int,
|
|
|
F_85d8ce590ad8981ca2c8286f79f59954 int,
|
|
|
F_0e65972dce68dad4d52d063967f0a705 int,
|
|
|
F_84d9ee44e457ddef7f2c4f25dc8fa865 int,
|
|
|
F_3644a684f98ea8fe223c713b77189a77 int,
|
|
|
F_757b505cfd34c64c85ca5b5690ee5293 int,
|
|
|
F_854d6fae5ee42911677c739ee1734486 int,
|
|
|
F_e2c0be24560d78c5e599c2a9c9d0bbd2 int,
|
|
|
F_274ad4786c3abca69fa097b85867d9a4 int,
|
|
|
F_eae27d77ca20db309e056e3d2dcd7d69 int,
|
|
|
F_7eabe3a1649ffa2b3ff8c02ebfd5659f int,
|
|
|
F_69adc1e107f7f7d035d7baf04342e1ca int,
|
|
|
F_091d584fced301b442654dd8c23b3fc9 int,
|
|
|
F_b1d10e7bafa4421218a51b1e1f1b0ba2 int,
|
|
|
F_6f3ef77ac0e3619e98159e9b6febf557 int,
|
|
|
F_eb163727917cbba1eea208541a643e74 int,
|
|
|
F_1534b76d325a8f591b52d302e7181331 int,
|
|
|
F_979d472a84804b9f647bc185a877a8b5 int,
|
|
|
F_ca46c1b9512a7a8315fa3c5a946e8265 int,
|
|
|
F_3b8a614226a953a8cd9526fca6fe9ba5 int,
|
|
|
F_45fbc6d3e05ebd93369ce542e8f2322d int,
|
|
|
F_63dc7ed1010d3c3b8269faf0ba7491d4 int,
|
|
|
F_e96ed478dab8595a7dbda4cbcbee168f int,
|
|
|
F_c0e190d8267e36708f955d7ab048990d int,
|
|
|
F_ec8ce6abb3e952a85b8551ba726a1227 int,
|
|
|
F_060ad92489947d410d897474079c1477 int,
|
|
|
F_bcbe3365e6ac95ea2c0343a2395834dd int,
|
|
|
F_115f89503138416a242f40fb7d7f338e int,
|
|
|
F_13fe9d84310e77f13a6d184dbf1232f3 int,
|
|
|
F_d1c38a09acc34845c6be3a127a5aacaf int,
|
|
|
F_9cfdf10e8fc047a44b08ed031e1f0ed1 int,
|
|
|
F_705f2172834666788607efbfca35afb3 int,
|
|
|
F_74db120f0a8e5646ef5a30154e9f6deb int,
|
|
|
F_57aeee35c98205091e18d1140e9f38cf int,
|
|
|
F_6da9003b743b65f4c0ccd295cc484e57 int,
|
|
|
F_9b04d152845ec0a378394003c96da594 int,
|
|
|
F_be83ab3ecd0db773eb2dc1b0a17836a1 int,
|
|
|
F_e165421110ba03099a1c0393373c5b43 int,
|
|
|
F_289dff07669d7a23de0ef88d2f7129e7 int,
|
|
|
F_577ef1154f3240ad5b9b413aa7346a1e int,
|
|
|
F_01161aaa0b6d1345dd8fe4e481144d84 int,
|
|
|
F_539fd53b59e3bb12d203f45a912eeaf2 int,
|
|
|
F_ac1dd209cbcc5e5d1c6e28598e8cbbe8 int,
|
|
|
F_555d6702c950ecb729a966504af0a635 int,
|
|
|
F_335f5352088d7d9bf74191e006d8e24c int,
|
|
|
F_f340f1b1f65b6df5b5e3f94d95b11daf int,
|
|
|
F_e4a6222cdb5b34375400904f03d8e6a5 int,
|
|
|
F_cb70ab375662576bd1ac5aaf16b3fca4 int,
|
|
|
F_9188905e74c28e489b44e954ec0b9bca int,
|
|
|
F_0266e33d3f546cb5436a10798e657d97 int,
|
|
|
F_38db3aed920cf82ab059bfccbd02be6a int,
|
|
|
F_3cec07e9ba5f5bb252d13f5f431e4bbb int,
|
|
|
F_621bf66ddb7c962aa0d22ac97d69b793 int,
|
|
|
F_077e29b11be80ab57e1a2ecabb7da330 int,
|
|
|
F_6c9882bbac1c7093bd25041881277658 int,
|
|
|
F_19f3cd308f1455b3fa09a282e0d496f4 int,
|
|
|
F_03c6b06952c750899bb03d998e631860 int,
|
|
|
F_c24cd76e1ce41366a4bbe8a49b02a028 int,
|
|
|
F_c52f1bd66cc19d05628bd8bf27af3ad6 int,
|
|
|
F_fe131d7f5a6b38b23cc967316c13dae2 int,
|
|
|
F_f718499c1c8cef6730f9fd03c8125cab int,
|
|
|
F_d96409bf894217686ba124d7356686c9 int,
|
|
|
F_502e4a16930e414107ee22b6198c578f int,
|
|
|
F_cfa0860e83a4c3a763a7e62d825349f7 int,
|
|
|
F_a4f23670e1833f3fdb077ca70bbd5d66 int,
|
|
|
F_b1a59b315fc9a3002ce38bbe070ec3f5 int,
|
|
|
F_36660e59856b4de58a219bcf4e27eba3 int,
|
|
|
F_8c19f571e251e61cb8dd3612f26d5ecf int,
|
|
|
F_d6baf65e0b240ce177cf70da146c8dc8 int,
|
|
|
F_e56954b4f6347e897f954495eab16a88 int,
|
|
|
F_f7664060cc52bc6f3d620bcedc94a4b6 int,
|
|
|
F_eda80a3d5b344bc40f3bc04f65b7a357 int,
|
|
|
F_8f121ce07d74717e0b1f21d122e04521 int,
|
|
|
F_06138bc5af6023646ede0e1f7c1eac75 int,
|
|
|
F_39059724f73a9969845dfe4146c5660e int,
|
|
|
F_7f100b7b36092fb9b06dfb4fac360931 int,
|
|
|
F_7a614fd06c325499f1680b9896beedeb int,
|
|
|
F_4734ba6f3de83d861c3176a6273cac6d int,
|
|
|
F_d947bf06a885db0d477d707121934ff8 int,
|
|
|
F_63923f49e5241343aa7acb6a06a751e7 int,
|
|
|
F_db8e1af0cb3aca1ae2d0018624204529 int,
|
|
|
F_20f07591c6fcb220ffe637cda29bb3f6 int,
|
|
|
F_07cdfd23373b17c6b337251c22b7ea57 int,
|
|
|
F_d395771085aab05244a4fb8fd91bf4ee int,
|
|
|
F_92c8c96e4c37100777c7190b76d28233 int,
|
|
|
F_e3796ae838835da0b6f6ea37bcf8bcb7 int,
|
|
|
F_6a9aeddfc689c1d0e3b9ccc3ab651bc5 int,
|
|
|
F_0f49c89d1e7298bb9930789c8ed59d48 int,
|
|
|
F_46ba9f2a6976570b0353203ec4474217 int,
|
|
|
F_0e01938fc48a2cfb5f2217fbfb00722d int,
|
|
|
F_16a5cdae362b8d27a1d8f8c7b78b4330 int,
|
|
|
F_918317b57931b6b7a7d29490fe5ec9f9 int,
|
|
|
F_48aedb8880cab8c45637abc7493ecddd int,
|
|
|
F_839ab46820b524afda05122893c2fe8e int,
|
|
|
F_f90f2aca5c640289d0a29417bcb63a37 int,
|
|
|
F_9c838d2e45b2ad1094d42f4ef36764f6 int,
|
|
|
F_1700002963a49da13542e0726b7bb758 int,
|
|
|
F_53c3bce66e43be4f209556518c2fcb54 int,
|
|
|
F_6883966fd8f918a4aa29be29d2c386fb int,
|
|
|
F_49182f81e6a13cf5eaa496d51fea6406 int,
|
|
|
F_d296c101daa88a51f6ca8cfc1ac79b50 int,
|
|
|
F_9fd81843ad7f202f26c1a174c7357585 int,
|
|
|
F_26e359e83860db1d11b6acca57d8ea88 int,
|
|
|
F_ef0d3930a7b6c95bd2b32ed45989c61f int,
|
|
|
F_94f6d7e04a4d452035300f18b984988c int,
|
|
|
F_34ed066df378efacc9b924ec161e7639 int,
|
|
|
F_577bcc914f9e55d5e4e4f82f9f00e7d4 int,
|
|
|
F_11b9842e0a271ff252c1903e7132cd68 int,
|
|
|
F_37bc2f75bf1bcfe8450a1a41c200364c int,
|
|
|
F_496e05e1aea0a9c4655800e8a7b9ea28 int,
|
|
|
F_b2eb7349035754953b57a32e2841bda5 int,
|
|
|
F_8e98d81f8217304975ccb23337bb5761 int,
|
|
|
F_a8c88a0055f636e4a163a5e3d16adab7 int,
|
|
|
F_eddea82ad2755b24c4e168c5fc2ebd40 int,
|
|
|
F_06eb61b839a0cefee4967c67ccb099dc int,
|
|
|
F_9dfcd5e558dfa04aaf37f137a1d9d3e5 int,
|
|
|
F_950a4152c2b4aa3ad78bdd6b366cc179 int,
|
|
|
F_158f3069a435b314a80bdcb024f8e422 int,
|
|
|
F_758874998f5bd0c393da094e1967a72b int,
|
|
|
F_ad13a2a07ca4b7642959dc0c4c740ab6 int,
|
|
|
F_3fe94a002317b5f9259f82690aeea4cd int,
|
|
|
F_5b8add2a5d98b1a652ea7fd72d942dac int,
|
|
|
F_432aca3a1e345e339f35a30c8f65edce int,
|
|
|
F_8d3bba7425e7c98c50f52ca1b52d3735 int,
|
|
|
F_320722549d1751cf3f247855f937b982 int,
|
|
|
F_caf1a3dfb505ffed0d024130f58c5cfa int,
|
|
|
F_5737c6ec2e0716f3d8a7a5c4e0de0d9a int,
|
|
|
F_bc6dc48b743dc5d013b1abaebd2faed2 int,
|
|
|
F_f2fc990265c712c49d51a18a32b39f0c int,
|
|
|
F_89f0fd5c927d466d6ec9a21b9ac34ffa int,
|
|
|
F_a666587afda6e89aec274a3657558a27 int,
|
|
|
F_b83aac23b9528732c23cc7352950e880 int,
|
|
|
F_cd00692c3bfe59267d5ecfac5310286c int,
|
|
|
F_6faa8040da20ef399b63a72d0e4ab575 int,
|
|
|
F_fe73f687e5bc5280214e0486b273a5f9 int);
|
|
|
insert into t1 (F_8d3bba7425e7c98c50f52ca1b52d3735) values (1);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`F_c4ca4238a0b923820dcc509a6f75849b` int(11) DEFAULT NULL,
|
|
|
`F_c81e728d9d4c2f636f067f89cc14862c` int(11) DEFAULT NULL,
|
|
|
`F_eccbc87e4b5ce2fe28308fd9f2a7baf3` int(11) DEFAULT NULL,
|
|
|
`F_a87ff679a2f3e71d9181a67b7542122c` int(11) DEFAULT NULL,
|
|
|
`F_e4da3b7fbbce2345d7772b0674a318d5` int(11) DEFAULT NULL,
|
|
|
`F_1679091c5a880faf6fb5e6087eb1b2dc` int(11) DEFAULT NULL,
|
|
|
`F_8f14e45fceea167a5a36dedd4bea2543` int(11) DEFAULT NULL,
|
|
|
`F_c9f0f895fb98ab9159f51fd0297e236d` int(11) DEFAULT NULL,
|
|
|
`F_45c48cce2e2d7fbdea1afc51c7c6ad26` int(11) DEFAULT NULL,
|
|
|
`F_d3d9446802a44259755d38e6d163e820` int(11) DEFAULT NULL,
|
|
|
`F_6512bd43d9caa6e02c990b0a82652dca` int(11) DEFAULT NULL,
|
|
|
`F_c20ad4d76fe97759aa27a0c99bff6710` int(11) DEFAULT NULL,
|
|
|
`F_c51ce410c124a10e0db5e4b97fc2af39` int(11) DEFAULT NULL,
|
|
|
`F_aab3238922bcc25a6f606eb525ffdc56` int(11) DEFAULT NULL,
|
|
|
`F_9bf31c7ff062936a96d3c8bd1f8f2ff3` int(11) DEFAULT NULL,
|
|
|
`F_c74d97b01eae257e44aa9d5bade97baf` int(11) DEFAULT NULL,
|
|
|
`F_70efdf2ec9b086079795c442636b55fb` int(11) DEFAULT NULL,
|
|
|
`F_6f4922f45568161a8cdf4ad2299f6d23` int(11) DEFAULT NULL,
|
|
|
`F_1f0e3dad99908345f7439f8ffabdffc4` int(11) DEFAULT NULL,
|
|
|
`F_98f13708210194c475687be6106a3b84` int(11) DEFAULT NULL,
|
|
|
`F_3c59dc048e8850243be8079a5c74d079` int(11) DEFAULT NULL,
|
|
|
`F_b6d767d2f8ed5d21a44b0e5886680cb9` int(11) DEFAULT NULL,
|
|
|
`F_37693cfc748049e45d87b8c7d8b9aacd` int(11) DEFAULT NULL,
|
|
|
`F_1ff1de774005f8da13f42943881c655f` int(11) DEFAULT NULL,
|
|
|
`F_8e296a067a37563370ded05f5a3bf3ec` int(11) DEFAULT NULL,
|
|
|
`F_4e732ced3463d06de0ca9a15b6153677` int(11) DEFAULT NULL,
|
|
|
`F_02e74f10e0327ad868d138f2b4fdd6f0` int(11) DEFAULT NULL,
|
|
|
`F_33e75ff09dd601bbe69f351039152189` int(11) DEFAULT NULL,
|
|
|
`F_6ea9ab1baa0efb9e19094440c317e21b` int(11) DEFAULT NULL,
|
|
|
`F_34173cb38f07f89ddbebc2ac9128303f` int(11) DEFAULT NULL,
|
|
|
`F_c16a5320fa475530d9583c34fd356ef5` int(11) DEFAULT NULL,
|
|
|
`F_6364d3f0f495b6ab9dcf8d3b5c6e0b01` int(11) DEFAULT NULL,
|
|
|
`F_182be0c5cdcd5072bb1864cdee4d3d6e` int(11) DEFAULT NULL,
|
|
|
`F_e369853df766fa44e1ed0ff613f563bd` int(11) DEFAULT NULL,
|
|
|
`F_1c383cd30b7c298ab50293adfecb7b18` int(11) DEFAULT NULL,
|
|
|
`F_19ca14e7ea6328a42e0eb13d585e4c22` int(11) DEFAULT NULL,
|
|
|
`F_a5bfc9e07964f8dddeb95fc584cd965d` int(11) DEFAULT NULL,
|
|
|
`F_a5771bce93e200c36f7cd9dfd0e5deaa` int(11) DEFAULT NULL,
|
|
|
`F_d67d8ab4f4c10bf22aa353e27879133c` int(11) DEFAULT NULL,
|
|
|
`F_d645920e395fedad7bbbed0eca3fe2e0` int(11) DEFAULT NULL,
|
|
|
`F_3416a75f4cea9109507cacd8e2f2aefc` int(11) DEFAULT NULL,
|
|
|
`F_a1d0c6e83f027327d8461063f4ac58a6` int(11) DEFAULT NULL,
|
|
|
`F_17e62166fc8586dfa4d1bc0e1742c08b` int(11) DEFAULT NULL,
|
|
|
`F_f7177163c833dff4b38fc8d2872f1ec6` int(11) DEFAULT NULL,
|
|
|
`F_6c8349cc7260ae62e3b1396831a8398f` int(11) DEFAULT NULL,
|
|
|
`F_d9d4f495e875a2e075a1a4a6e1b9770f` int(11) DEFAULT NULL,
|
|
|
`F_67c6a1e7ce56d3d6fa748ab6d9af3fd7` int(11) DEFAULT NULL,
|
|
|
`F_642e92efb79421734881b53e1e1b18b6` int(11) DEFAULT NULL,
|
|
|
`F_f457c545a9ded88f18ecee47145a72c0` int(11) DEFAULT NULL,
|
|
|
`F_c0c7c76d30bd3dcaefc96f40275bdc0a` int(11) DEFAULT NULL,
|
|
|
`F_2838023a778dfaecdc212708f721b788` int(11) DEFAULT NULL,
|
|
|
`F_9a1158154dfa42caddbd0694a4e9bdc8` int(11) DEFAULT NULL,
|
|
|
`F_d82c8d1619ad8176d665453cfb2e55f0` int(11) DEFAULT NULL,
|
|
|
`F_a684eceee76fc522773286a895bc8436` int(11) DEFAULT NULL,
|
|
|
`F_b53b3a3d6ab90ce0268229151c9bde11` int(11) DEFAULT NULL,
|
|
|
`F_9f61408e3afb633e50cdf1b20de6f466` int(11) DEFAULT NULL,
|
|
|
`F_72b32a1f754ba1c09b3695e0cb6cde7f` int(11) DEFAULT NULL,
|
|
|
`F_66f041e16a60928b05a7e228a89c3799` int(11) DEFAULT NULL,
|
|
|
`F_093f65e080a295f8076b1c5722a46aa2` int(11) DEFAULT NULL,
|
|
|
`F_072b030ba126b2f4b2374f342be9ed44` int(11) DEFAULT NULL,
|
|
|
`F_7f39f8317fbdb1988ef4c628eba02591` int(11) DEFAULT NULL,
|
|
|
`F_44f683a84163b3523afe57c2e008bc8c` int(11) DEFAULT NULL,
|
|
|
`F_03afdbd66e7929b125f8597834fa83a4` int(11) DEFAULT NULL,
|
|
|
`F_ea5d2f1c4608232e07d3aa3d998e5135` int(11) DEFAULT NULL,
|
|
|
`F_fc490ca45c00b1249bbe3554a4fdf6fb` int(11) DEFAULT NULL,
|
|
|
`F_3295c76acbf4caaed33c36b1b5fc2cb1` int(11) DEFAULT NULL,
|
|
|
`F_735b90b4568125ed6c3f678819b6e058` int(11) DEFAULT NULL,
|
|
|
`F_a3f390d88e4c41f2747bfa2f1b5f87db` int(11) DEFAULT NULL,
|
|
|
`F_14bfa6bb14875e45bba028a21ed38046` int(11) DEFAULT NULL,
|
|
|
`F_7cbbc409ec990f19c78c75bd1e06f215` int(11) DEFAULT NULL,
|
|
|
`F_e2c420d928d4bf8ce0ff2ec19b371514` int(11) DEFAULT NULL,
|
|
|
`F_32bb90e8976aab5298d5da10fe66f21d` int(11) DEFAULT NULL,
|
|
|
`F_d2ddea18f00665ce8623e36bd4e3c7c5` int(11) DEFAULT NULL,
|
|
|
`F_ad61ab143223efbc24c7d2583be69251` int(11) DEFAULT NULL,
|
|
|
`F_d09bf41544a3365a46c9077ebb5e35c3` int(11) DEFAULT NULL,
|
|
|
`F_fbd7939d674997cdb4692d34de8633c4` int(11) DEFAULT NULL,
|
|
|
`F_28dd2c7955ce926456240b2ff0100bde` int(11) DEFAULT NULL,
|
|
|
`F_35f4a8d465e6e1edc05f3d8ab658c551` int(11) DEFAULT NULL,
|
|
|
`F_d1fe173d08e959397adf34b1d77e88d7` int(11) DEFAULT NULL,
|
|
|
`F_f033ab37c30201f73f142449d037028d` int(11) DEFAULT NULL,
|
|
|
`F_43ec517d68b6edd3015b3edc9a11367b` int(11) DEFAULT NULL,
|
|
|
`F_9778d5d219c5080b9a6a17bef029331c` int(11) DEFAULT NULL,
|
|
|
`F_fe9fc289c3ff0af142b6d3bead98a923` int(11) DEFAULT NULL,
|
|
|
`F_68d30a9594728bc39aa24be94b319d21` int(11) DEFAULT NULL,
|
|
|
`F_3ef815416f775098fe977004015c6193` int(11) DEFAULT NULL,
|
|
|
`F_93db85ed909c13838ff95ccfa94cebd9` int(11) DEFAULT NULL,
|
|
|
`F_c7e1249ffc03eb9ded908c236bd1996d` int(11) DEFAULT NULL,
|
|
|
`F_2a38a4a9316c49e5a833517c45d31070` int(11) DEFAULT NULL,
|
|
|
`F_7647966b7343c29048673252e490f736` int(11) DEFAULT NULL,
|
|
|
`F_8613985ec49eb8f757ae6439e879bb2a` int(11) DEFAULT NULL,
|
|
|
`F_54229abfcfa5649e7003b83dd4755294` int(11) DEFAULT NULL,
|
|
|
`F_92cc227532d17e56e07902b254dfad10` int(11) DEFAULT NULL,
|
|
|
`F_98dce83da57b0395e163467c9dae521b` int(11) DEFAULT NULL,
|
|
|
`F_f4b9ec30ad9f68f89b29639786cb62ef` int(11) DEFAULT NULL,
|
|
|
`F_812b4ba287f5ee0bc9d43bbf5bbe87fb` int(11) DEFAULT NULL,
|
|
|
`F_26657d5ff9020d2abefe558796b99584` int(11) DEFAULT NULL,
|
|
|
`F_e2ef524fbf3d9fe611d5a8e90fefdc9c` int(11) DEFAULT NULL,
|
|
|
`F_ed3d2c21991e3bef5e069713af9fa6ca` int(11) DEFAULT NULL,
|
|
|
`F_ac627ab1ccbdb62ec96e702f07f6425b` int(11) DEFAULT NULL,
|
|
|
`F_f899139df5e1059396431415e770c6dd` int(11) DEFAULT NULL,
|
|
|
`F_38b3eff8baf56627478ec76a704e9b52` int(11) DEFAULT NULL,
|
|
|
`F_ec8956637a99787bd197eacd77acce5e` int(11) DEFAULT NULL,
|
|
|
`F_6974ce5ac660610b44d9b9fed0ff9548` int(11) DEFAULT NULL,
|
|
|
`F_c9e1074f5b3f9fc8ea15d152add07294` int(11) DEFAULT NULL,
|
|
|
`F_65b9eea6e1cc6bb9f0cd2a47751a186f` int(11) DEFAULT NULL,
|
|
|
`F_f0935e4cd5920aa6c7c996a5ee53a70f` int(11) DEFAULT NULL,
|
|
|
`F_a97da629b098b75c294dffdc3e463904` int(11) DEFAULT NULL,
|
|
|
`F_a3c65c2974270fd093ee8a9bf8ae7d0b` int(11) DEFAULT NULL,
|
|
|
`F_2723d092b63885e0d7c260cc007e8b9d` int(11) DEFAULT NULL,
|
|
|
`F_5f93f983524def3dca464469d2cf9f3e` int(11) DEFAULT NULL,
|
|
|
`F_698d51a19d8a121ce581499d7b701668` int(11) DEFAULT NULL,
|
|
|
`F_7f6ffaa6bb0b408017b62254211691b5` int(11) DEFAULT NULL,
|
|
|
`F_73278a4a86960eeb576a8fd4c9ec6997` int(11) DEFAULT NULL,
|
|
|
`F_5fd0b37cd7dbbb00f97ba6ce92bf5add` int(11) DEFAULT NULL,
|
|
|
`F_2b44928ae11fb9384c4cf38708677c48` int(11) DEFAULT NULL,
|
|
|
`F_c45147dee729311ef5b5c3003946c48f` int(11) DEFAULT NULL,
|
|
|
`F_eb160de1de89d9058fcb0b968dbbbd68` int(11) DEFAULT NULL,
|
|
|
`F_5ef059938ba799aaa845e1c2e8a762bd` int(11) DEFAULT NULL,
|
|
|
`F_07e1cd7dca89a1678042477183b7ac3f` int(11) DEFAULT NULL,
|
|
|
`F_da4fb5c6e93e74d3df8527599fa62642` int(11) DEFAULT NULL,
|
|
|
`F_4c56ff4ce4aaf9573aa5dff913df997a` int(11) DEFAULT NULL,
|
|
|
`F_a0a080f42e6f13b3a2df133f073095dd` int(11) DEFAULT NULL,
|
|
|
`F_202cb962ac59075b964b07152d234b70` int(11) DEFAULT NULL,
|
|
|
`F_c8ffe9a587b126f152ed3d89a146b445` int(11) DEFAULT NULL,
|
|
|
`F_3def184ad8f4755ff269862ea77393dd` int(11) DEFAULT NULL,
|
|
|
`F_069059b7ef840f0c74a814ec9237b6ec` int(11) DEFAULT NULL,
|
|
|
`F_ec5decca5ed3d6b8079e2e7e7bacc9f2` int(11) DEFAULT NULL,
|
|
|
`F_76dc611d6ebaafc66cc0879c71b5db5c` int(11) DEFAULT NULL,
|
|
|
`F_d1f491a404d6854880943e5c3cd9ca25` int(11) DEFAULT NULL,
|
|
|
`F_9b8619251a19057cff70779273e95aa6` int(11) DEFAULT NULL,
|
|
|
`F_1afa34a7f984eeabdbb0a7d494132ee5` int(11) DEFAULT NULL,
|
|
|
`F_65ded5353c5ee48d0b7d48c591b8f430` int(11) DEFAULT NULL,
|
|
|
`F_9fc3d7152ba9336a670e36d0ed79bc43` int(11) DEFAULT NULL,
|
|
|
`F_02522a2b2726fb0a03bb19f2d8d9524d` int(11) DEFAULT NULL,
|
|
|
`F_7f1de29e6da19d22b51c68001e7e0e54` int(11) DEFAULT NULL,
|
|
|
`F_42a0e188f5033bc65bf8d78622277c4e` int(11) DEFAULT NULL,
|
|
|
`F_3988c7f88ebcb58c6ce932b957b6f332` int(11) DEFAULT NULL,
|
|
|
`F_013d407166ec4fa56eb1e1f8cbe183b9` int(11) DEFAULT NULL,
|
|
|
`F_e00da03b685a0dd18fb6a08af0923de0` int(11) DEFAULT NULL,
|
|
|
`F_1385974ed5904a438616ff7bdb3f7439` int(11) DEFAULT NULL,
|
|
|
`F_0f28b5d49b3020afeecd95b4009adf4c` int(11) DEFAULT NULL,
|
|
|
`F_a8baa56554f96369ab93e4f3bb068c22` int(11) DEFAULT NULL,
|
|
|
`F_903ce9225fca3e988c2af215d4e544d3` int(11) DEFAULT NULL,
|
|
|
`F_0a09c8844ba8f0936c20bd791130d6b6` int(11) DEFAULT NULL,
|
|
|
`F_2b24d495052a8ce66358eb576b8912c8` int(11) DEFAULT NULL,
|
|
|
`F_a5e00132373a7031000fd987a3c9f87b` int(11) DEFAULT NULL,
|
|
|
`F_8d5e957f297893487bd98fa830fa6413` int(11) DEFAULT NULL,
|
|
|
`F_47d1e990583c9c67424d369f3414728e` int(11) DEFAULT NULL,
|
|
|
`F_f2217062e9a397a1dca429e7d70bc6ca` int(11) DEFAULT NULL,
|
|
|
`F_7ef605fc8dba5425d6965fbd4c8fbe1f` int(11) DEFAULT NULL,
|
|
|
`F_a8f15eda80c50adb0e71943adc8015cf` int(11) DEFAULT NULL,
|
|
|
`F_37a749d808e46495a8da1e5352d03cae` int(11) DEFAULT NULL,
|
|
|
`F_b3e3e393c77e35a4a3f3cbd1e429b5dc` int(11) DEFAULT NULL,
|
|
|
`F_1d7f7abc18fcb43975065399b0d1e48e` int(11) DEFAULT NULL,
|
|
|
`F_2a79ea27c279e471f4d180b08d62b00a` int(11) DEFAULT NULL,
|
|
|
`F_1c9ac0159c94d8d0cbedc973445af2da` int(11) DEFAULT NULL,
|
|
|
`F_6c4b761a28b734fe93831e3fb400ce87` int(11) DEFAULT NULL,
|
|
|
`F_06409663226af2f3114485aa4e0a23b4` int(11) DEFAULT NULL,
|
|
|
`F_140f6969d5213fd0ece03148e62e461e` int(11) DEFAULT NULL,
|
|
|
`F_b73ce398c39f506af761d2277d853a92` int(11) DEFAULT NULL,
|
|
|
`F_bd4c9ab730f5513206b999ec0d90d1fb` int(11) DEFAULT NULL,
|
|
|
`F_82aa4b0af34c2313a562076992e50aa3` int(11) DEFAULT NULL,
|
|
|
`F_0777d5c17d4066b82ab86dff8a46af6f` int(11) DEFAULT NULL,
|
|
|
`F_fa7cdfad1a5aaf8370ebeda47a1ff1c3` int(11) DEFAULT NULL,
|
|
|
`F_9766527f2b5d3e95d4a733fcfb77bd7e` int(11) DEFAULT NULL,
|
|
|
`F_7e7757b1e12abcb736ab9a754ffb617a` int(11) DEFAULT NULL,
|
|
|
`F_5878a7ab84fb43402106c575658472fa` int(11) DEFAULT NULL,
|
|
|
`F_006f52e9102a8d3be2fe5614f42ba989` int(11) DEFAULT NULL,
|
|
|
`F_3636638817772e42b59d74cff571fbb3` int(11) DEFAULT NULL,
|
|
|
`F_149e9677a5989fd342ae44213df68868` int(11) DEFAULT NULL,
|
|
|
`F_a4a042cf4fd6bfb47701cbc8a1653ada` int(11) DEFAULT NULL,
|
|
|
`F_1ff8a7b5dc7a7d1f0ed65aaa29c04b1e` int(11) DEFAULT NULL,
|
|
|
`F_f7e6c85504ce6e82442c770f7c8606f0` int(11) DEFAULT NULL,
|
|
|
`F_bf8229696f7a3bb4700cfddef19fa23f` int(11) DEFAULT NULL,
|
|
|
`F_82161242827b703e6acf9c726942a1e4` int(11) DEFAULT NULL,
|
|
|
`F_38af86134b65d0f10fe33d30dd76442e` int(11) DEFAULT NULL,
|
|
|
`F_96da2f590cd7246bbde0051047b0d6f7` int(11) DEFAULT NULL,
|
|
|
`F_8f85517967795eeef66c225f7883bdcb` int(11) DEFAULT NULL,
|
|
|
`F_8f53295a73878494e9bc8dd6c3c7104f` int(11) DEFAULT NULL,
|
|
|
`F_045117b0e0a11a242b9765e79cbf113f` int(11) DEFAULT NULL,
|
|
|
`F_fc221309746013ac554571fbd180e1c8` int(11) DEFAULT NULL,
|
|
|
`F_4c5bde74a8f110656874902f07378009` int(11) DEFAULT NULL,
|
|
|
`F_cedebb6e872f539bef8c3f919874e9d7` int(11) DEFAULT NULL,
|
|
|
`F_6cdd60ea0045eb7a6ec44c54d29ed402` int(11) DEFAULT NULL,
|
|
|
`F_eecca5b6365d9607ee5a9d336962c534` int(11) DEFAULT NULL,
|
|
|
`F_9872ed9fc22fc182d371c3e9ed316094` int(11) DEFAULT NULL,
|
|
|
`F_31fefc0e570cb3860f2a6d4b38c6490d` int(11) DEFAULT NULL,
|
|
|
`F_9dcb88e0137649590b755372b040afad` int(11) DEFAULT NULL,
|
|
|
`F_a2557a7b2e94197ff767970b67041697` int(11) DEFAULT NULL,
|
|
|
`F_cfecdb276f634854f3ef915e2e980c31` int(11) DEFAULT NULL,
|
|
|
`F_0aa1883c6411f7873cb83dacb17b0afc` int(11) DEFAULT NULL,
|
|
|
`F_58a2fc6ed39fd083f55d4182bf88826d` int(11) DEFAULT NULL,
|
|
|
`F_bd686fd640be98efaae0091fa301e613` int(11) DEFAULT NULL,
|
|
|
`F_a597e50502f5ff68e3e25b9114205d4a` int(11) DEFAULT NULL,
|
|
|
`F_0336dcbab05b9d5ad24f4333c7658a0e` int(11) DEFAULT NULL,
|
|
|
`F_084b6fbb10729ed4da8c3d3f5a3ae7c9` int(11) DEFAULT NULL,
|
|
|
`F_85d8ce590ad8981ca2c8286f79f59954` int(11) DEFAULT NULL,
|
|
|
`F_0e65972dce68dad4d52d063967f0a705` int(11) DEFAULT NULL,
|
|
|
`F_84d9ee44e457ddef7f2c4f25dc8fa865` int(11) DEFAULT NULL,
|
|
|
`F_3644a684f98ea8fe223c713b77189a77` int(11) DEFAULT NULL,
|
|
|
`F_757b505cfd34c64c85ca5b5690ee5293` int(11) DEFAULT NULL,
|
|
|
`F_854d6fae5ee42911677c739ee1734486` int(11) DEFAULT NULL,
|
|
|
`F_e2c0be24560d78c5e599c2a9c9d0bbd2` int(11) DEFAULT NULL,
|
|
|
`F_274ad4786c3abca69fa097b85867d9a4` int(11) DEFAULT NULL,
|
|
|
`F_eae27d77ca20db309e056e3d2dcd7d69` int(11) DEFAULT NULL,
|
|
|
`F_7eabe3a1649ffa2b3ff8c02ebfd5659f` int(11) DEFAULT NULL,
|
|
|
`F_69adc1e107f7f7d035d7baf04342e1ca` int(11) DEFAULT NULL,
|
|
|
`F_091d584fced301b442654dd8c23b3fc9` int(11) DEFAULT NULL,
|
|
|
`F_b1d10e7bafa4421218a51b1e1f1b0ba2` int(11) DEFAULT NULL,
|
|
|
`F_6f3ef77ac0e3619e98159e9b6febf557` int(11) DEFAULT NULL,
|
|
|
`F_eb163727917cbba1eea208541a643e74` int(11) DEFAULT NULL,
|
|
|
`F_1534b76d325a8f591b52d302e7181331` int(11) DEFAULT NULL,
|
|
|
`F_979d472a84804b9f647bc185a877a8b5` int(11) DEFAULT NULL,
|
|
|
`F_ca46c1b9512a7a8315fa3c5a946e8265` int(11) DEFAULT NULL,
|
|
|
`F_3b8a614226a953a8cd9526fca6fe9ba5` int(11) DEFAULT NULL,
|
|
|
`F_45fbc6d3e05ebd93369ce542e8f2322d` int(11) DEFAULT NULL,
|
|
|
`F_63dc7ed1010d3c3b8269faf0ba7491d4` int(11) DEFAULT NULL,
|
|
|
`F_e96ed478dab8595a7dbda4cbcbee168f` int(11) DEFAULT NULL,
|
|
|
`F_c0e190d8267e36708f955d7ab048990d` int(11) DEFAULT NULL,
|
|
|
`F_ec8ce6abb3e952a85b8551ba726a1227` int(11) DEFAULT NULL,
|
|
|
`F_060ad92489947d410d897474079c1477` int(11) DEFAULT NULL,
|
|
|
`F_bcbe3365e6ac95ea2c0343a2395834dd` int(11) DEFAULT NULL,
|
|
|
`F_115f89503138416a242f40fb7d7f338e` int(11) DEFAULT NULL,
|
|
|
`F_13fe9d84310e77f13a6d184dbf1232f3` int(11) DEFAULT NULL,
|
|
|
`F_d1c38a09acc34845c6be3a127a5aacaf` int(11) DEFAULT NULL,
|
|
|
`F_9cfdf10e8fc047a44b08ed031e1f0ed1` int(11) DEFAULT NULL,
|
|
|
`F_705f2172834666788607efbfca35afb3` int(11) DEFAULT NULL,
|
|
|
`F_74db120f0a8e5646ef5a30154e9f6deb` int(11) DEFAULT NULL,
|
|
|
`F_57aeee35c98205091e18d1140e9f38cf` int(11) DEFAULT NULL,
|
|
|
`F_6da9003b743b65f4c0ccd295cc484e57` int(11) DEFAULT NULL,
|
|
|
`F_9b04d152845ec0a378394003c96da594` int(11) DEFAULT NULL,
|
|
|
`F_be83ab3ecd0db773eb2dc1b0a17836a1` int(11) DEFAULT NULL,
|
|
|
`F_e165421110ba03099a1c0393373c5b43` int(11) DEFAULT NULL,
|
|
|
`F_289dff07669d7a23de0ef88d2f7129e7` int(11) DEFAULT NULL,
|
|
|
`F_577ef1154f3240ad5b9b413aa7346a1e` int(11) DEFAULT NULL,
|
|
|
`F_01161aaa0b6d1345dd8fe4e481144d84` int(11) DEFAULT NULL,
|
|
|
`F_539fd53b59e3bb12d203f45a912eeaf2` int(11) DEFAULT NULL,
|
|
|
`F_ac1dd209cbcc5e5d1c6e28598e8cbbe8` int(11) DEFAULT NULL,
|
|
|
`F_555d6702c950ecb729a966504af0a635` int(11) DEFAULT NULL,
|
|
|
`F_335f5352088d7d9bf74191e006d8e24c` int(11) DEFAULT NULL,
|
|
|
`F_f340f1b1f65b6df5b5e3f94d95b11daf` int(11) DEFAULT NULL,
|
|
|
`F_e4a6222cdb5b34375400904f03d8e6a5` int(11) DEFAULT NULL,
|
|
|
`F_cb70ab375662576bd1ac5aaf16b3fca4` int(11) DEFAULT NULL,
|
|
|
`F_9188905e74c28e489b44e954ec0b9bca` int(11) DEFAULT NULL,
|
|
|
`F_0266e33d3f546cb5436a10798e657d97` int(11) DEFAULT NULL,
|
|
|
`F_38db3aed920cf82ab059bfccbd02be6a` int(11) DEFAULT NULL,
|
|
|
`F_3cec07e9ba5f5bb252d13f5f431e4bbb` int(11) DEFAULT NULL,
|
|
|
`F_621bf66ddb7c962aa0d22ac97d69b793` int(11) DEFAULT NULL,
|
|
|
`F_077e29b11be80ab57e1a2ecabb7da330` int(11) DEFAULT NULL,
|
|
|
`F_6c9882bbac1c7093bd25041881277658` int(11) DEFAULT NULL,
|
|
|
`F_19f3cd308f1455b3fa09a282e0d496f4` int(11) DEFAULT NULL,
|
|
|
`F_03c6b06952c750899bb03d998e631860` int(11) DEFAULT NULL,
|
|
|
`F_c24cd76e1ce41366a4bbe8a49b02a028` int(11) DEFAULT NULL,
|
|
|
`F_c52f1bd66cc19d05628bd8bf27af3ad6` int(11) DEFAULT NULL,
|
|
|
`F_fe131d7f5a6b38b23cc967316c13dae2` int(11) DEFAULT NULL,
|
|
|
`F_f718499c1c8cef6730f9fd03c8125cab` int(11) DEFAULT NULL,
|
|
|
`F_d96409bf894217686ba124d7356686c9` int(11) DEFAULT NULL,
|
|
|
`F_502e4a16930e414107ee22b6198c578f` int(11) DEFAULT NULL,
|
|
|
`F_cfa0860e83a4c3a763a7e62d825349f7` int(11) DEFAULT NULL,
|
|
|
`F_a4f23670e1833f3fdb077ca70bbd5d66` int(11) DEFAULT NULL,
|
|
|
`F_b1a59b315fc9a3002ce38bbe070ec3f5` int(11) DEFAULT NULL,
|
|
|
`F_36660e59856b4de58a219bcf4e27eba3` int(11) DEFAULT NULL,
|
|
|
`F_8c19f571e251e61cb8dd3612f26d5ecf` int(11) DEFAULT NULL,
|
|
|
`F_d6baf65e0b240ce177cf70da146c8dc8` int(11) DEFAULT NULL,
|
|
|
`F_e56954b4f6347e897f954495eab16a88` int(11) DEFAULT NULL,
|
|
|
`F_f7664060cc52bc6f3d620bcedc94a4b6` int(11) DEFAULT NULL,
|
|
|
`F_eda80a3d5b344bc40f3bc04f65b7a357` int(11) DEFAULT NULL,
|
|
|
`F_8f121ce07d74717e0b1f21d122e04521` int(11) DEFAULT NULL,
|
|
|
`F_06138bc5af6023646ede0e1f7c1eac75` int(11) DEFAULT NULL,
|
|
|
`F_39059724f73a9969845dfe4146c5660e` int(11) DEFAULT NULL,
|
|
|
`F_7f100b7b36092fb9b06dfb4fac360931` int(11) DEFAULT NULL,
|
|
|
`F_7a614fd06c325499f1680b9896beedeb` int(11) DEFAULT NULL,
|
|
|
`F_4734ba6f3de83d861c3176a6273cac6d` int(11) DEFAULT NULL,
|
|
|
`F_d947bf06a885db0d477d707121934ff8` int(11) DEFAULT NULL,
|
|
|
`F_63923f49e5241343aa7acb6a06a751e7` int(11) DEFAULT NULL,
|
|
|
`F_db8e1af0cb3aca1ae2d0018624204529` int(11) DEFAULT NULL,
|
|
|
`F_20f07591c6fcb220ffe637cda29bb3f6` int(11) DEFAULT NULL,
|
|
|
`F_07cdfd23373b17c6b337251c22b7ea57` int(11) DEFAULT NULL,
|
|
|
`F_d395771085aab05244a4fb8fd91bf4ee` int(11) DEFAULT NULL,
|
|
|
`F_92c8c96e4c37100777c7190b76d28233` int(11) DEFAULT NULL,
|
|
|
`F_e3796ae838835da0b6f6ea37bcf8bcb7` int(11) DEFAULT NULL,
|
|
|
`F_6a9aeddfc689c1d0e3b9ccc3ab651bc5` int(11) DEFAULT NULL,
|
|
|
`F_0f49c89d1e7298bb9930789c8ed59d48` int(11) DEFAULT NULL,
|
|
|
`F_46ba9f2a6976570b0353203ec4474217` int(11) DEFAULT NULL,
|
|
|
`F_0e01938fc48a2cfb5f2217fbfb00722d` int(11) DEFAULT NULL,
|
|
|
`F_16a5cdae362b8d27a1d8f8c7b78b4330` int(11) DEFAULT NULL,
|
|
|
`F_918317b57931b6b7a7d29490fe5ec9f9` int(11) DEFAULT NULL,
|
|
|
`F_48aedb8880cab8c45637abc7493ecddd` int(11) DEFAULT NULL,
|
|
|
`F_839ab46820b524afda05122893c2fe8e` int(11) DEFAULT NULL,
|
|
|
`F_f90f2aca5c640289d0a29417bcb63a37` int(11) DEFAULT NULL,
|
|
|
`F_9c838d2e45b2ad1094d42f4ef36764f6` int(11) DEFAULT NULL,
|
|
|
`F_1700002963a49da13542e0726b7bb758` int(11) DEFAULT NULL,
|
|
|
`F_53c3bce66e43be4f209556518c2fcb54` int(11) DEFAULT NULL,
|
|
|
`F_6883966fd8f918a4aa29be29d2c386fb` int(11) DEFAULT NULL,
|
|
|
`F_49182f81e6a13cf5eaa496d51fea6406` int(11) DEFAULT NULL,
|
|
|
`F_d296c101daa88a51f6ca8cfc1ac79b50` int(11) DEFAULT NULL,
|
|
|
`F_9fd81843ad7f202f26c1a174c7357585` int(11) DEFAULT NULL,
|
|
|
`F_26e359e83860db1d11b6acca57d8ea88` int(11) DEFAULT NULL,
|
|
|
`F_ef0d3930a7b6c95bd2b32ed45989c61f` int(11) DEFAULT NULL,
|
|
|
`F_94f6d7e04a4d452035300f18b984988c` int(11) DEFAULT NULL,
|
|
|
`F_34ed066df378efacc9b924ec161e7639` int(11) DEFAULT NULL,
|
|
|
`F_577bcc914f9e55d5e4e4f82f9f00e7d4` int(11) DEFAULT NULL,
|
|
|
`F_11b9842e0a271ff252c1903e7132cd68` int(11) DEFAULT NULL,
|
|
|
`F_37bc2f75bf1bcfe8450a1a41c200364c` int(11) DEFAULT NULL,
|
|
|
`F_496e05e1aea0a9c4655800e8a7b9ea28` int(11) DEFAULT NULL,
|
|
|
`F_b2eb7349035754953b57a32e2841bda5` int(11) DEFAULT NULL,
|
|
|
`F_8e98d81f8217304975ccb23337bb5761` int(11) DEFAULT NULL,
|
|
|
`F_a8c88a0055f636e4a163a5e3d16adab7` int(11) DEFAULT NULL,
|
|
|
`F_eddea82ad2755b24c4e168c5fc2ebd40` int(11) DEFAULT NULL,
|
|
|
`F_06eb61b839a0cefee4967c67ccb099dc` int(11) DEFAULT NULL,
|
|
|
`F_9dfcd5e558dfa04aaf37f137a1d9d3e5` int(11) DEFAULT NULL,
|
|
|
`F_950a4152c2b4aa3ad78bdd6b366cc179` int(11) DEFAULT NULL,
|
|
|
`F_158f3069a435b314a80bdcb024f8e422` int(11) DEFAULT NULL,
|
|
|
`F_758874998f5bd0c393da094e1967a72b` int(11) DEFAULT NULL,
|
|
|
`F_ad13a2a07ca4b7642959dc0c4c740ab6` int(11) DEFAULT NULL,
|
|
|
`F_3fe94a002317b5f9259f82690aeea4cd` int(11) DEFAULT NULL,
|
|
|
`F_5b8add2a5d98b1a652ea7fd72d942dac` int(11) DEFAULT NULL,
|
|
|
`F_432aca3a1e345e339f35a30c8f65edce` int(11) DEFAULT NULL,
|
|
|
`F_8d3bba7425e7c98c50f52ca1b52d3735` int(11) DEFAULT NULL,
|
|
|
`F_320722549d1751cf3f247855f937b982` int(11) DEFAULT NULL,
|
|
|
`F_caf1a3dfb505ffed0d024130f58c5cfa` int(11) DEFAULT NULL,
|
|
|
`F_5737c6ec2e0716f3d8a7a5c4e0de0d9a` int(11) DEFAULT NULL,
|
|
|
`F_bc6dc48b743dc5d013b1abaebd2faed2` int(11) DEFAULT NULL,
|
|
|
`F_f2fc990265c712c49d51a18a32b39f0c` int(11) DEFAULT NULL,
|
|
|
`F_89f0fd5c927d466d6ec9a21b9ac34ffa` int(11) DEFAULT NULL,
|
|
|
`F_a666587afda6e89aec274a3657558a27` int(11) DEFAULT NULL,
|
|
|
`F_b83aac23b9528732c23cc7352950e880` int(11) DEFAULT NULL,
|
|
|
`F_cd00692c3bfe59267d5ecfac5310286c` int(11) DEFAULT NULL,
|
|
|
`F_6faa8040da20ef399b63a72d0e4ab575` int(11) DEFAULT NULL,
|
|
|
`F_fe73f687e5bc5280214e0486b273a5f9` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` (`F_c4ca4238a0b923820dcc509a6f75849b`, `F_c81e728d9d4c2f636f067f89cc14862c`, `F_eccbc87e4b5ce2fe28308fd9f2a7baf3`, `F_a87ff679a2f3e71d9181a67b7542122c`, `F_e4da3b7fbbce2345d7772b0674a318d5`, `F_1679091c5a880faf6fb5e6087eb1b2dc`, `F_8f14e45fceea167a5a36dedd4bea2543`, `F_c9f0f895fb98ab9159f51fd0297e236d`, `F_45c48cce2e2d7fbdea1afc51c7c6ad26`, `F_d3d9446802a44259755d38e6d163e820`, `F_6512bd43d9caa6e02c990b0a82652dca`, `F_c20ad4d76fe97759aa27a0c99bff6710`, `F_c51ce410c124a10e0db5e4b97fc2af39`, `F_aab3238922bcc25a6f606eb525ffdc56`, `F_9bf31c7ff062936a96d3c8bd1f8f2ff3`, `F_c74d97b01eae257e44aa9d5bade97baf`, `F_70efdf2ec9b086079795c442636b55fb`, `F_6f4922f45568161a8cdf4ad2299f6d23`, `F_1f0e3dad99908345f7439f8ffabdffc4`, `F_98f13708210194c475687be6106a3b84`, `F_3c59dc048e8850243be8079a5c74d079`, `F_b6d767d2f8ed5d21a44b0e5886680cb9`, `F_37693cfc748049e45d87b8c7d8b9aacd`, `F_1ff1de774005f8da13f42943881c655f`, `F_8e296a067a37563370ded05f5a3bf3ec`, `F_4e732ced3463d06de0ca9a15b6153677`, `F_02e74f10e0327ad868d138f2b4fdd6f0`, `F_33e75ff09dd601bbe69f351039152189`, `F_6ea9ab1baa0efb9e19094440c317e21b`, `F_34173cb38f07f89ddbebc2ac9128303f`, `F_c16a5320fa475530d9583c34fd356ef5`, `F_6364d3f0f495b6ab9dcf8d3b5c6e0b01`, `F_182be0c5cdcd5072bb1864cdee4d3d6e`, `F_e369853df766fa44e1ed0ff613f563bd`, `F_1c383cd30b7c298ab50293adfecb7b18`, `F_19ca14e7ea6328a42e0eb13d585e4c22`, `F_a5bfc9e07964f8dddeb95fc584cd965d`, `F_a5771bce93e200c36f7cd9dfd0e5deaa`, `F_d67d8ab4f4c10bf22aa353e27879133c`, `F_d645920e395fedad7bbbed0eca3fe2e0`, `F_3416a75f4cea9109507cacd8e2f2aefc`, `F_a1d0c6e83f027327d8461063f4ac58a6`, `F_17e62166fc8586dfa4d1bc0e1742c08b`, `F_f7177163c833dff4b38fc8d2872f1ec6`, `F_6c8349cc7260ae62e3b1396831a8398f`, `F_d9d4f495e875a2e075a1a4a6e1b9770f`, `F_67c6a1e7ce56d3d6fa748ab6d9af3fd7`, `F_642e92efb79421734881b53e1e1b18b6`, `F_f457c545a9ded88f18ecee47145a72c0`, `F_c0c7c76d30bd3dcaefc96f40275bdc0a`, `F_2838023a778dfaecdc212708f721b788`, `F_9a1158154dfa42caddbd0694a4e9bdc8`, `F_d82c8d1619ad8176d665453cfb2e55f0`, `F_a684eceee76fc522773286a895bc8436`, `F_b53b3a3d6ab90ce0268229151c9bde11`, `F_9f61408e3afb633e50cdf1b20de6f466`, `F_72b32a1f754ba1c09b3695e0cb6cde7f`, `F_66f041e16a60928b05a7e228a89c3799`, `F_093f65e080a295f8076b1c5722a46aa2`, `F_072b030ba126b2f4b2374f342be9ed44`, `F_7f39f8317fbdb1988ef4c628eba02591`, `F_44f683a84163b3523afe57c2e008bc8c`, `F_03afdbd66e7929b125f8597834fa83a4`, `F_ea5d2f1c4608232e07d3aa3d998e5135`, `F_fc490ca45c00b1249bbe3554a4fdf6fb`, `F_3295c76acbf4caaed33c36b1b5fc2cb1`, `F_735b90b4568125ed6c3f678819b6e058`, `F_a3f390d88e4c41f2747bfa2f1b5f87db`, `F_14bfa6bb14875e45bba028a21ed38046`, `F_7cbbc409ec990f19c78c75bd1e06f215`, `F_e2c420d928d4bf8ce0ff2ec19b371514`, `F_32bb90e8976aab5298d5da10fe66f21d`, `F_d2ddea18f00665ce8623e36bd4e3c7c5`, `F_ad61ab143223efbc24c7d2583be69251`, `F_d09bf41544a3365a46c9077ebb5e35c3`, `F_fbd7939d674997cdb4692d34de8633c4`, `F_28dd2c7955ce926456240b2ff0100bde`, `F_35f4a8d465e6e1edc05f3d8ab658c551`, `F_d1fe173d08e959397adf34b1d77e88d7`, `F_f033ab37c30201f73f142449d037028d`, `F_43ec517d68b6edd3015b3edc9a11367b`, `F_9778d5d219c5080b9a6a17bef029331c`, `F_fe9fc289c3ff0af142b6d3bead98a923`, `F_68d30a9594728bc39aa24be94b319d21`, `F_3ef815416f775098fe977004015c6193`, `F_93db85ed909c13838ff95ccfa94cebd9`, `F_c7e1249ffc03eb9ded908c236bd1996d`, `F_2a38a4a9316c49e5a833517c45d31070`, `F_7647966b7343c29048673252e490f736`, `F_8613985ec49eb8f757ae6439e879bb2a`, `F_54229abfcfa5649e7003b83dd4755294`, `F_92cc227532d17e56e07902b254dfad10`, `F_98dce83da57b0395e163467c9dae521b`, `F_f4b9ec30ad9f68f89b29639786cb62ef`, `F_812b4ba287f5ee0bc9d43bbf5bbe87fb`, `F_26657d5ff9020d2abefe558796b99584`, `F_e2ef524fbf3d9fe611d5a8e90fefdc9c`, `F_ed3d2c21991e3bef5e069713af9fa6ca`, `F_ac627ab1ccbdb62ec96e702f07f6425b`, `F_f899139df5e1059396431415e770c6dd`, `F_38b3eff8baf56627478ec76a704e9b52`, `F_ec8956637a99787bd197eacd77acce5e`, `F_6974ce5ac660610b44d9b9fed0ff9548`, `F_c9e1074f5b3f9fc8ea15d152add07294`, `F_65b9eea6e1cc6bb9f0cd2a47751a186f`, `F_f0935e4cd5920aa6c7c996a5ee53a70f`, `F_a97da629b098b75c294dffdc3e463904`, `F_a3c65c2974270fd093ee8a9bf8ae7d0b`, `F_2723d092b63885e0d7c260cc007e8b9d`, `F_5f93f983524def3dca464469d2cf9f3e`, `F_698d51a19d8a121ce581499d7b701668`, `F_7f6ffaa6bb0b408017b62254211691b5`, `F_73278a4a86960eeb576a8fd4c9ec6997`, `F_5fd0b37cd7dbbb00f97ba6ce92bf5add`, `F_2b44928ae11fb9384c4cf38708677c48`, `F_c45147dee729311ef5b5c3003946c48f`, `F_eb160de1de89d9058fcb0b968dbbbd68`, `F_5ef059938ba799aaa845e1c2e8a762bd`, `F_07e1cd7dca89a1678042477183b7ac3f`, `F_da4fb5c6e93e74d3df8527599fa62642`, `F_4c56ff4ce4aaf9573aa5dff913df997a`, `F_a0a080f42e6f13b3a2df133f073095dd`, `F_202cb962ac59075b964b07152d234b70`, `F_c8ffe9a587b126f152ed3d89a146b445`, `F_3def184ad8f4755ff269862ea77393dd`, `F_069059b7ef840f0c74a814ec9237b6ec`, `F_ec5decca5ed3d6b8079e2e7e7bacc9f2`, `F_76dc611d6ebaafc66cc0879c71b5db5c`, `F_d1f491a404d6854880943e5c3cd9ca25`, `F_9b8619251a19057cff70779273e95aa6`, `F_1afa34a7f984eeabdbb0a7d494132ee5`, `F_65ded5353c5ee48d0b7d48c591b8f430`, `F_9fc3d7152ba9336a670e36d0ed79bc43`, `F_02522a2b2726fb0a03bb19f2d8d9524d`, `F_7f1de29e6da19d22b51c68001e7e0e54`, `F_42a0e188f5033bc65bf8d78622277c4e`, `F_3988c7f88ebcb58c6ce932b957b6f332`, `F_013d407166ec4fa56eb1e1f8cbe183b9`, `F_e00da03b685a0dd18fb6a08af0923de0`, `F_1385974ed5904a438616ff7bdb3f7439`, `F_0f28b5d49b3020afeecd95b4009adf4c`, `F_a8baa56554f96369ab93e4f3bb068c22`, `F_903ce9225fca3e988c2af215d4e544d3`, `F_0a09c8844ba8f0936c20bd791130d6b6`, `F_2b24d495052a8ce66358eb576b8912c8`, `F_a5e00132373a7031000fd987a3c9f87b`, `F_8d5e957f297893487bd98fa830fa6413`, `F_47d1e990583c9c67424d369f3414728e`, `F_f2217062e9a397a1dca429e7d70bc6ca`, `F_7ef605fc8dba5425d6965fbd4c8fbe1f`, `F_a8f15eda80c50adb0e71943adc8015cf`, `F_37a749d808e46495a8da1e5352d03cae`, `F_b3e3e393c77e35a4a3f3cbd1e429b5dc`, `F_1d7f7abc18fcb43975065399b0d1e48e`, `F_2a79ea27c279e471f4d180b08d62b00a`, `F_1c9ac0159c94d8d0cbedc973445af2da`, `F_6c4b761a28b734fe93831e3fb400ce87`, `F_06409663226af2f3114485aa4e0a23b4`, `F_140f6969d5213fd0ece03148e62e461e`, `F_b73ce398c39f506af761d2277d853a92`, `F_bd4c9ab730f5513206b999ec0d90d1fb`, `F_82aa4b0af34c2313a562076992e50aa3`, `F_0777d5c17d4066b82ab86dff8a46af6f`, `F_fa7cdfad1a5aaf8370ebeda47a1ff1c3`, `F_9766527f2b5d3e95d4a733fcfb77bd7e`, `F_7e7757b1e12abcb736ab9a754ffb617a`, `F_5878a7ab84fb43402106c575658472fa`, `F_006f52e9102a8d3be2fe5614f42ba989`, `F_3636638817772e42b59d74cff571fbb3`, `F_149e9677a5989fd342ae44213df68868`, `F_a4a042cf4fd6bfb47701cbc8a1653ada`, `F_1ff8a7b5dc7a7d1f0ed65aaa29c04b1e`, `F_f7e6c85504ce6e82442c770f7c8606f0`, `F_bf8229696f7a3bb4700cfddef19fa23f`, `F_82161242827b703e6acf9c726942a1e4`, `F_38af86134b65d0f10fe33d30dd76442e`, `F_96da2f590cd7246bbde0051047b0d6f7`, `F_8f85517967795eeef66c225f7883bdcb`, `F_8f53295a73878494e9bc8dd6c3c7104f`, `F_045117b0e0a11a242b9765e79cbf113f`, `F_fc221309746013ac554571fbd180e1c8`, `F_4c5bde74a8f110656874902f07378009`, `F_cedebb6e872f539bef8c3f919874e9d7`, `F_6cdd60ea0045eb7a6ec44c54d29ed402`, `F_eecca5b6365d9607ee5a9d336962c534`, `F_9872ed9fc22fc182d371c3e9ed316094`, `F_31fefc0e570cb3860f2a6d4b38c6490d`, `F_9dcb88e0137649590b755372b040afad`, `F_a2557a7b2e94197ff767970b67041697`, `F_cfecdb276f634854f3ef915e2e980c31`, `F_0aa1883c6411f7873cb83dacb17b0afc`, `F_58a2fc6ed39fd083f55d4182bf88826d`, `F_bd686fd640be98efaae0091fa301e613`, `F_a597e50502f5ff68e3e25b9114205d4a`, `F_0336dcbab05b9d5ad24f4333c7658a0e`, `F_084b6fbb10729ed4da8c3d3f5a3ae7c9`, `F_85d8ce590ad8981ca2c8286f79f59954`, `F_0e65972dce68dad4d52d063967f0a705`, `F_84d9ee44e457ddef7f2c4f25dc8fa865`, `F_3644a684f98ea8fe223c713b77189a77`, `F_757b505cfd34c64c85ca5b5690ee5293`, `F_854d6fae5ee42911677c739ee1734486`, `F_e2c0be24560d78c5e599c2a9c9d0bbd2`, `F_274ad4786c3abca69fa097b85867d9a4`, `F_eae27d77ca20db309e056e3d2dcd7d69`, `F_7eabe3a1649ffa2b3ff8c02ebfd5659f`, `F_69adc1e107f7f7d035d7baf04342e1ca`, `F_091d584fced301b442654dd8c23b3fc9`, `F_b1d10e7bafa4421218a51b1e1f1b0ba2`, `F_6f3ef77ac0e3619e98159e9b6febf557`, `F_eb163727917cbba1eea208541a643e74`, `F_1534b76d325a8f591b52d302e7181331`, `F_979d472a84804b9f647bc185a877a8b5`, `F_ca46c1b9512a7a8315fa3c5a946e8265`, `F_3b8a614226a953a8cd9526fca6fe9ba5`, `F_45fbc6d3e05ebd93369ce542e8f2322d`, `F_63dc7ed1010d3c3b8269faf0ba7491d4`, `F_e96ed478dab8595a7dbda4cbcbee168f`, `F_c0e190d8267e36708f955d7ab048990d`, `F_ec8ce6abb3e952a85b8551ba726a1227`, `F_060ad92489947d410d897474079c1477`, `F_bcbe3365e6ac95ea2c0343a2395834dd`, `F_115f89503138416a242f40fb7d7f338e`, `F_13fe9d84310e77f13a6d184dbf1232f3`, `F_d1c38a09acc34845c6be3a127a5aacaf`, `F_9cfdf10e8fc047a44b08ed031e1f0ed1`, `F_705f2172834666788607efbfca35afb3`, `F_74db120f0a8e5646ef5a30154e9f6deb`, `F_57aeee35c98205091e18d1140e9f38cf`, `F_6da9003b743b65f4c0ccd295cc484e57`, `F_9b04d152845ec0a378394003c96da594`, `F_be83ab3ecd0db773eb2dc1b0a17836a1`, `F_e165421110ba03099a1c0393373c5b43`, `F_289dff07669d7a23de0ef88d2f7129e7`, `F_577ef1154f3240ad5b9b413aa7346a1e`, `F_01161aaa0b6d1345dd8fe4e481144d84`, `F_539fd53b59e3bb12d203f45a912eeaf2`, `F_ac1dd209cbcc5e5d1c6e28598e8cbbe8`, `F_555d6702c950ecb729a966504af0a635`, `F_335f5352088d7d9bf74191e006d8e24c`, `F_f340f1b1f65b6df5b5e3f94d95b11daf`, `F_e4a6222cdb5b34375400904f03d8e6a5`, `F_cb70ab375662576bd1ac5aaf16b3fca4`, `F_9188905e74c28e489b44e954ec0b9bca`, `F_0266e33d3f546cb5436a10798e657d97`, `F_38db3aed920cf82ab059bfccbd02be6a`, `F_3cec07e9ba5f5bb252d13f5f431e4bbb`, `F_621bf66ddb7c962aa0d22ac97d69b793`, `F_077e29b11be80ab57e1a2ecabb7da330`, `F_6c9882bbac1c7093bd25041881277658`, `F_19f3cd308f1455b3fa09a282e0d496f4`, `F_03c6b06952c750899bb03d998e631860`, `F_c24cd76e1ce41366a4bbe8a49b02a028`, `F_c52f1bd66cc19d05628bd8bf27af3ad6`, `F_fe131d7f5a6b38b23cc967316c13dae2`, `F_f718499c1c8cef6730f9fd03c8125cab`, `F_d96409bf894217686ba124d7356686c9`, `F_502e4a16930e414107ee22b6198c578f`, `F_cfa0860e83a4c3a763a7e62d825349f7`, `F_a4f23670e1833f3fdb077ca70bbd5d66`, `F_b1a59b315fc9a3002ce38bbe070ec3f5`, `F_36660e59856b4de58a219bcf4e27eba3`, `F_8c19f571e251e61cb8dd3612f26d5ecf`, `F_d6baf65e0b240ce177cf70da146c8dc8`, `F_e56954b4f6347e897f954495eab16a88`, `F_f7664060cc52bc6f3d620bcedc94a4b6`, `F_eda80a3d5b344bc40f3bc04f65b7a357`, `F_8f121ce07d74717e0b1f21d122e04521`, `F_06138bc5af6023646ede0e1f7c1eac75`, `F_39059724f73a9969845dfe4146c5660e`, `F_7f100b7b36092fb9b06dfb4fac360931`, `F_7a614fd06c325499f1680b9896beedeb`, `F_4734ba6f3de83d861c3176a6273cac6d`, `F_d947bf06a885db0d477d707121934ff8`, `F_63923f49e5241343aa7acb6a06a751e7`, `F_db8e1af0cb3aca1ae2d0018624204529`, `F_20f07591c6fcb220ffe637cda29bb3f6`, `F_07cdfd23373b17c6b337251c22b7ea57`, `F_d395771085aab05244a4fb8fd91bf4ee`, `F_92c8c96e4c37100777c7190b76d28233`, `F_e3796ae838835da0b6f6ea37bcf8bcb7`, `F_6a9aeddfc689c1d0e3b9ccc3ab651bc5`, `F_0f49c89d1e7298bb9930789c8ed59d48`, `F_46ba9f2a6976570b0353203ec4474217`, `F_0e01938fc48a2cfb5f2217fbfb00722d`, `F_16a5cdae362b8d27a1d8f8c7b78b4330`, `F_918317b57931b6b7a7d29490fe5ec9f9`, `F_48aedb8880cab8c45637abc7493ecddd`, `F_839ab46820b524afda05122893c2fe8e`, `F_f90f2aca5c640289d0a29417bcb63a37`, `F_9c838d2e45b2ad1094d42f4ef36764f6`, `F_1700002963a49da13542e0726b7bb758`, `F_53c3bce66e43be4f209556518c2fcb54`, `F_6883966fd8f918a4aa29be29d2c386fb`, `F_49182f81e6a13cf5eaa496d51fea6406`, `F_d296c101daa88a51f6ca8cfc1ac79b50`, `F_9fd81843ad7f202f26c1a174c7357585`, `F_26e359e83860db1d11b6acca57d8ea88`, `F_ef0d3930a7b6c95bd2b32ed45989c61f`, `F_94f6d7e04a4d452035300f18b984988c`, `F_34ed066df378efacc9b924ec161e7639`, `F_577bcc914f9e55d5e4e4f82f9f00e7d4`, `F_11b9842e0a271ff252c1903e7132cd68`, `F_37bc2f75bf1bcfe8450a1a41c200364c`, `F_496e05e1aea0a9c4655800e8a7b9ea28`, `F_b2eb7349035754953b57a32e2841bda5`, `F_8e98d81f8217304975ccb23337bb5761`, `F_a8c88a0055f636e4a163a5e3d16adab7`, `F_eddea82ad2755b24c4e168c5fc2ebd40`, `F_06eb61b839a0cefee4967c67ccb099dc`, `F_9dfcd5e558dfa04aaf37f137a1d9d3e5`, `F_950a4152c2b4aa3ad78bdd6b366cc179`, `F_158f3069a435b314a80bdcb024f8e422`, `F_758874998f5bd0c393da094e1967a72b`, `F_ad13a2a07ca4b7642959dc0c4c740ab6`, `F_3fe94a002317b5f9259f82690aeea4cd`, `F_5b8add2a5d98b1a652ea7fd72d942dac`, `F_432aca3a1e345e339f35a30c8f65edce`, `F_8d3bba7425e7c98c50f52ca1b52d3735`, `F_320722549d1751cf3f247855f937b982`, `F_caf1a3dfb505ffed0d024130f58c5cfa`, `F_5737c6ec2e0716f3d8a7a5c4e0de0d9a`, `F_bc6dc48b743dc5d013b1abaebd2faed2`, `F_f2fc990265c712c49d51a18a32b39f0c`, `F_89f0fd5c927d466d6ec9a21b9ac34ffa`, `F_a666587afda6e89aec274a3657558a27`, `F_b83aac23b9528732c23cc7352950e880`, `F_cd00692c3bfe59267d5ecfac5310286c`, `F_6faa8040da20ef399b63a72d0e4ab575`, `F_fe73f687e5bc5280214e0486b273a5f9`) VALUES (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Test for --add-drop-database
|
|
|
#
|
|
|
CREATE TABLE t1 (a int);
|
|
|
INSERT INTO t1 VALUES (1),(2),(3);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
/*!40000 DROP DATABASE IF EXISTS `test`*/;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `test`;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (1),(2),(3);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#9558 mysqldump --no-data db t1 t2 format still dumps data
|
|
|
#
|
|
|
CREATE DATABASE mysqldump_test_db;
|
|
|
USE mysqldump_test_db;
|
|
|
CREATE TABLE t1 ( a INT );
|
|
|
CREATE TABLE t2 ( a INT );
|
|
|
INSERT INTO t1 VALUES (1), (2);
|
|
|
INSERT INTO t2 VALUES (1), (2);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
DROP TABLE IF EXISTS `t2`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t2` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
DROP TABLE IF EXISTS `t2`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t2` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
<?xml version="1.0"?>
|
|
|
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<database name="mysqldump_test_db">
|
|
|
<table_structure name="t1">
|
|
|
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t1" Engine="InnoDB" Version="10" Row_format="Dynamic" Rows="2" Avg_row_length="8192" Data_length="16384" Max_data_length="0" Index_length="0" Data_free="0" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
<table_structure name="t2">
|
|
|
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t2" Engine="InnoDB" Version="10" Row_format="Dynamic" Rows="2" Avg_row_length="8192" Data_length="16384" Max_data_length="0" Index_length="0" Data_free="0" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
</database>
|
|
|
</mysqldump>
|
|
|
<?xml version="1.0"?>
|
|
|
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<database name="mysqldump_test_db">
|
|
|
<table_structure name="t1">
|
|
|
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t1" Engine="InnoDB" Version="10" Row_format="Dynamic" Rows="2" Avg_row_length="8192" Data_length="16384" Max_data_length="0" Index_length="0" Data_free="0" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
<table_structure name="t2">
|
|
|
<field Field="a" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t2" Engine="InnoDB" Version="10" Row_format="Dynamic" Rows="2" Avg_row_length="8192" Data_length="16384" Max_data_length="0" Index_length="0" Data_free="0" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
</database>
|
|
|
</mysqldump>
|
|
|
DROP TABLE t1, t2;
|
|
|
DROP DATABASE mysqldump_test_db;
|
|
|
#
|
|
|
# Testing with tables and databases that don't exists
|
|
|
# or contains illegal characters
|
|
|
# (Bug#9358 mysqldump crashes if tablename starts with \)
|
|
|
#
|
|
|
create database mysqldump_test_db;
|
|
|
use mysqldump_test_db;
|
|
|
create table t1(a varchar(30) primary key, b int not null);
|
|
|
create table t2(a varchar(30) primary key, b int not null);
|
|
|
create table t3(a varchar(30) primary key, b int not null);
|
|
|
test_sequence
|
|
|
------ Testing with illegal table names ------
|
|
|
mysqldump: Couldn't find table: "\d-2-1.sql"
|
|
|
mysqldump: Couldn't find table: "\t1"
|
|
|
mysqldump: Couldn't find table: "\t1"
|
|
|
mysqldump: Couldn't find table: "\\t1"
|
|
|
mysqldump: Couldn't find table: "t\1"
|
|
|
mysqldump: Couldn't find table: "t\1"
|
|
|
mysqldump: Couldn't find table: "t/1"
|
|
|
mysqldump: Couldn't find table: "T_1"
|
|
|
mysqldump: Couldn't find table: "T%1"
|
|
|
mysqldump: Couldn't find table: "T'1"
|
|
|
mysqldump: Couldn't find table: "T_1"
|
|
|
mysqldump: Couldn't find table: "T_"
|
|
|
test_sequence
|
|
|
------ Testing with illegal database names ------
|
|
|
mysqldump: Got error: 1049: Unknown database 'mysqldump_test_d' when selecting the database
|
|
|
mysqldump: Got error: 1049: Unknown database 'mysqld\ump_test_db' when selecting the database
|
|
|
drop table t1, t2, t3;
|
|
|
drop database mysqldump_test_db;
|
|
|
use test;
|
|
|
#
|
|
|
# Bug#9657 mysqldump xml ( -x ) does not format NULL fields correctly
|
|
|
#
|
|
|
create table t1 (a int(10));
|
|
|
Warnings:
|
|
|
Warning 1681 Integer display width is deprecated and will be removed in a future release.
|
|
|
create table t2 (pk int primary key auto_increment,
|
|
|
a int(10), b varchar(30), c datetime, d blob, e text);
|
|
|
Warnings:
|
|
|
Warning 1681 Integer display width is deprecated and will be removed in a future release.
|
|
|
insert into t1 values (NULL), (10), (20);
|
|
|
insert into t2 (a, b) values (NULL, NULL),(10, NULL),(NULL, "twenty"),(30, "thirty");
|
|
|
<?xml version="1.0"?>
|
|
|
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<database name="test">
|
|
|
<table_data name="t1">
|
|
|
<row>
|
|
|
<field name="a" xsi:nil="true" />
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="a">10</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="a">20</field>
|
|
|
</row>
|
|
|
</table_data>
|
|
|
<table_data name="t2">
|
|
|
<row>
|
|
|
<field name="pk">1</field>
|
|
|
<field name="a" xsi:nil="true" />
|
|
|
<field name="b" xsi:nil="true" />
|
|
|
<field name="c" xsi:nil="true" />
|
|
|
<field name="d" xsi:nil="true" />
|
|
|
<field name="e" xsi:nil="true" />
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="pk">2</field>
|
|
|
<field name="a">10</field>
|
|
|
<field name="b" xsi:nil="true" />
|
|
|
<field name="c" xsi:nil="true" />
|
|
|
<field name="d" xsi:nil="true" />
|
|
|
<field name="e" xsi:nil="true" />
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="pk">3</field>
|
|
|
<field name="a" xsi:nil="true" />
|
|
|
<field name="b">twenty</field>
|
|
|
<field name="c" xsi:nil="true" />
|
|
|
<field name="d" xsi:nil="true" />
|
|
|
<field name="e" xsi:nil="true" />
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="pk">4</field>
|
|
|
<field name="a">30</field>
|
|
|
<field name="b">thirty</field>
|
|
|
<field name="c" xsi:nil="true" />
|
|
|
<field name="d" xsi:nil="true" />
|
|
|
<field name="e" xsi:nil="true" />
|
|
|
</row>
|
|
|
</table_data>
|
|
|
</database>
|
|
|
</mysqldump>
|
|
|
drop table t1, t2;
|
|
|
#
|
|
|
# Bug#12123 mysqldump --tab results in text file which can't be imported
|
|
|
#
|
|
|
create table t1 (a text character set utf8, b text character set latin1);
|
|
|
Warnings:
|
|
|
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
|
|
|
insert t1 values (0x4F736E616272C3BC636B, 0x4BF66C6E);
|
|
|
select * from t1;
|
|
|
a b
|
|
|
Osnabrück Köln
|
|
|
test.t1: Records: 1 Deleted: 0 Skipped: 0 Warnings: 0
|
|
|
select * from t1;
|
|
|
a b
|
|
|
Osnabrück Köln
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Bug#15328 Segmentation fault occurred if my.cnf is invalid for escape sequence
|
|
|
#
|
|
|
--fields-optionally-enclosed-by="
|
|
|
#
|
|
|
# Bug#19025 mysqldump doesn't correctly dump "auto_increment = [int]"
|
|
|
#
|
|
|
create table `t1` (
|
|
|
t1_name varchar(255) default null,
|
|
|
t1_id int(10) unsigned not null auto_increment,
|
|
|
key (t1_name),
|
|
|
primary key (t1_id)
|
|
|
) auto_increment = 1000 default charset=latin1;
|
|
|
Warnings:
|
|
|
Warning 1681 Integer display width is deprecated and will be removed in a future release.
|
|
|
insert into t1 (t1_name) values('bla');
|
|
|
insert into t1 (t1_name) values('bla');
|
|
|
insert into t1 (t1_name) values('bla');
|
|
|
select * from t1;
|
|
|
t1_name t1_id
|
|
|
bla 1000
|
|
|
bla 1001
|
|
|
bla 1002
|
|
|
show create table `t1`;
|
|
|
Table Create Table
|
|
|
t1 CREATE TABLE `t1` (
|
|
|
`t1_name` varchar(255) DEFAULT NULL,
|
|
|
`t1_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
|
PRIMARY KEY (`t1_id`),
|
|
|
KEY `t1_name` (`t1_name`)
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1003 DEFAULT CHARSET=latin1
|
|
|
DROP TABLE `t1`;
|
|
|
select * from t1;
|
|
|
t1_name t1_id
|
|
|
bla 1000
|
|
|
bla 1001
|
|
|
bla 1002
|
|
|
show create table `t1`;
|
|
|
Table Create Table
|
|
|
t1 CREATE TABLE `t1` (
|
|
|
`t1_name` varchar(255) DEFAULT NULL,
|
|
|
`t1_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
|
PRIMARY KEY (`t1_id`),
|
|
|
KEY `t1_name` (`t1_name`)
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1003 DEFAULT CHARSET=latin1
|
|
|
drop table `t1`;
|
|
|
#
|
|
|
# Bug#18536 wrong table order
|
|
|
#
|
|
|
create table t1(a int);
|
|
|
create table t2(a int);
|
|
|
create table t3(a int);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t3`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t3` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
DROP TABLE IF EXISTS `t2`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t2` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop table t1, t2, t3;
|
|
|
#
|
|
|
# Bug#21288 mysqldump segmentation fault when using --where
|
|
|
#
|
|
|
create table t1 (a int);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
mysqldump: Couldn't execute 'SELECT /*!40001 SQL_NO_CACHE */ * FROM `t1` WHERE xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' at line 1 (1064)
|
|
|
mysqldump: Got error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' at line 1 when retrieving data from server
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Bug#13926 --order-by-primary fails if PKEY contains quote character
|
|
|
#
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a b` INT,
|
|
|
`c"d` INT,
|
|
|
`e``f` INT,
|
|
|
PRIMARY KEY (`a b`, `c"d`, `e``f`)
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
|
|
insert into t1 values (0815, 4711, 2006);
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ANSI' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS "t1";
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE "t1" (
|
|
|
"a b" int(11) NOT NULL,
|
|
|
"c""d" int(11) NOT NULL,
|
|
|
"e`f" int(11) NOT NULL,
|
|
|
PRIMARY KEY ("a b","c""d","e`f")
|
|
|
);
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES "t1" WRITE;
|
|
|
/*!40000 ALTER TABLE "t1" DISABLE KEYS */;
|
|
|
INSERT INTO "t1" VALUES (815,4711,2006);
|
|
|
/*!40000 ALTER TABLE "t1" ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a b` int(11) NOT NULL,
|
|
|
`c"d` int(11) NOT NULL,
|
|
|
`e``f` int(11) NOT NULL,
|
|
|
PRIMARY KEY (`a b`,`c"d`,`e``f`)
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (815,4711,2006);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE `t1`;
|
|
|
End of 4.1 tests
|
|
|
#
|
|
|
# Bug#10213 mysqldump crashes when dumping VIEWs(on MacOS X)
|
|
|
#
|
|
|
create database db1;
|
|
|
use db1;
|
|
|
CREATE TABLE t2 (
|
|
|
a varchar(30) default NULL,
|
|
|
KEY a (a(5))
|
|
|
);
|
|
|
INSERT INTO t2 VALUES ('alfred');
|
|
|
INSERT INTO t2 VALUES ('angie');
|
|
|
INSERT INTO t2 VALUES ('bingo');
|
|
|
INSERT INTO t2 VALUES ('waffle');
|
|
|
INSERT INTO t2 VALUES ('lemon');
|
|
|
create view v2 as select * from t2 where a like 'a%' with check option;
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t2`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t2` (
|
|
|
`a` varchar(30) DEFAULT NULL,
|
|
|
KEY `a` (`a`(5))
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t2` WRITE;
|
|
|
/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
|
|
|
INSERT INTO `t2` VALUES ('alfred'),('angie'),('bingo'),('waffle'),('lemon');
|
|
|
/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
DROP TABLE IF EXISTS `v2`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v2` AS SELECT
|
|
|
1 AS `a`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v2` AS select `t2`.`a` AS `a` from `t2` where (`t2`.`a` like 'a%') */
|
|
|
/*!50002 WITH CASCADED CHECK OPTION */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop table t2;
|
|
|
drop view v2;
|
|
|
drop database db1;
|
|
|
use test;
|
|
|
#
|
|
|
# Bug#10713 mysqldump includes database in create view and referenced tables
|
|
|
#
|
|
|
create database db2;
|
|
|
use db2;
|
|
|
create table t1 (a int);
|
|
|
create table t2 (a int, b varchar(10), primary key(a));
|
|
|
insert into t2 values (1, "on"), (2, "off"), (10, "pol"), (12, "meg");
|
|
|
insert into t1 values (289), (298), (234), (456), (789);
|
|
|
create view v1 as select * from t2;
|
|
|
create view v2 as select * from t1;
|
|
|
drop table t1, t2;
|
|
|
drop view v1, v2;
|
|
|
drop database db2;
|
|
|
use test;
|
|
|
create database db1;
|
|
|
use db1;
|
|
|
show tables;
|
|
|
Tables_in_db1
|
|
|
t1
|
|
|
t2
|
|
|
v1
|
|
|
v2
|
|
|
select * from t2 order by a;
|
|
|
a b
|
|
|
1 on
|
|
|
2 off
|
|
|
10 pol
|
|
|
12 meg
|
|
|
drop table t1, t2;
|
|
|
drop database db1;
|
|
|
use test;
|
|
|
create table t1(a int, b int);
|
|
|
create view v1 as select * from t1;
|
|
|
create view v2 (c, d) as select * from t1;
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL,
|
|
|
`b` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
DROP TABLE IF EXISTS `v1`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v1`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v1` AS SELECT
|
|
|
1 AS `a`,
|
|
|
1 AS `b`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
DROP TABLE IF EXISTS `v2`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v2` AS SELECT
|
|
|
1 AS `c`,
|
|
|
1 AS `d`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v1`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v1` AS select `t1`.`a` AS `a`,`t1`.`b` AS `b` from `t1` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v2` (`c`,`d`) AS select `t1`.`a` AS `a`,`t1`.`b` AS `b` from `t1` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop view v1, v2;
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Bug#10213 mysqldump crashes when dumping VIEWs(on MacOS X)
|
|
|
#
|
|
|
create database mysqldump_test_db;
|
|
|
use mysqldump_test_db;
|
|
|
CREATE TABLE t2 (
|
|
|
a varchar(30) default NULL,
|
|
|
KEY a (a(5))
|
|
|
);
|
|
|
INSERT INTO t2 VALUES ('alfred');
|
|
|
INSERT INTO t2 VALUES ('angie');
|
|
|
INSERT INTO t2 VALUES ('bingo');
|
|
|
INSERT INTO t2 VALUES ('waffle');
|
|
|
INSERT INTO t2 VALUES ('lemon');
|
|
|
create view v2 as select * from t2 where a like 'a%' with check option;
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t2`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t2` (
|
|
|
`a` varchar(30) DEFAULT NULL,
|
|
|
KEY `a` (`a`(5))
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t2` WRITE;
|
|
|
/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
|
|
|
INSERT INTO `t2` VALUES ('alfred'),('angie'),('bingo'),('waffle'),('lemon');
|
|
|
/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
DROP TABLE IF EXISTS `v2`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v2` AS SELECT
|
|
|
1 AS `a`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v2` AS select `t2`.`a` AS `a` from `t2` where (`t2`.`a` like 'a%') */
|
|
|
/*!50002 WITH CASCADED CHECK OPTION */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop table t2;
|
|
|
drop view v2;
|
|
|
drop database mysqldump_test_db;
|
|
|
use test;
|
|
|
#
|
|
|
# Bug#9756 mysql client failing on dumps containing certain \ sequences
|
|
|
#
|
|
|
CREATE TABLE t1 (a char(10));
|
|
|
INSERT INTO t1 VALUES ('\'');
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` char(10) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES ('\'');
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#10927 mysqldump: Can't reload dump with view that consist of other view
|
|
|
#
|
|
|
create table t1(a int, b int, c varchar(30));
|
|
|
insert into t1 values(1, 2, "one"), (2, 4, "two"), (3, 6, "three");
|
|
|
create view v3 as
|
|
|
select * from t1;
|
|
|
create view v1 as
|
|
|
select * from v3 where b in (1, 2, 3, 4, 5, 6, 7);
|
|
|
create view v2 as
|
|
|
select v3.a from v3, v1 where v1.a=v3.a and v3.b=3 limit 1;
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL,
|
|
|
`b` int(11) DEFAULT NULL,
|
|
|
`c` varchar(30) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (1,2,'one'),(2,4,'two'),(3,6,'three');
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
DROP TABLE IF EXISTS `v1`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v1`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v1` AS SELECT
|
|
|
1 AS `a`,
|
|
|
1 AS `b`,
|
|
|
1 AS `c`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
DROP TABLE IF EXISTS `v2`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v2` AS SELECT
|
|
|
1 AS `a`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
DROP TABLE IF EXISTS `v3`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v3`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v3` AS SELECT
|
|
|
1 AS `a`,
|
|
|
1 AS `b`,
|
|
|
1 AS `c`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v1`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v1` AS select `v3`.`a` AS `a`,`v3`.`b` AS `b`,`v3`.`c` AS `c` from `v3` where (`v3`.`b` in (1,2,3,4,5,6,7)) */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v2` AS select `v3`.`a` AS `a` from (`v3` join `v1`) where ((`v1`.`a` = `v3`.`a`) and (`v3`.`b` = 3)) limit 1 */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v3`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v3` AS select `t1`.`a` AS `a`,`t1`.`b` AS `b`,`t1`.`c` AS `c` from `t1` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop view v1, v2, v3;
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Test for dumping triggers
|
|
|
#
|
|
|
CREATE TABLE t1 (a int, b bigint default NULL);
|
|
|
CREATE TABLE t2 (a int);
|
|
|
create trigger trg1 before insert on t1 for each row
|
|
|
begin
|
|
|
if new.a > 10 then
|
|
|
set new.a := 10;
|
|
|
set new.a := 11;
|
|
|
end if;
|
|
|
end|
|
|
|
create trigger trg2 before update on t1 for each row begin
|
|
|
if old.a % 2 = 0 then set new.b := 12; end if;
|
|
|
end|
|
|
|
set sql_mode="traditional"|
|
|
|
create trigger trg3 after update on t1 for each row
|
|
|
begin
|
|
|
if new.a = -1 then
|
|
|
set @fired:= "Yes";
|
|
|
end if;
|
|
|
end|
|
|
|
create trigger trg4 before insert on t2 for each row
|
|
|
begin
|
|
|
if new.a > 10 then
|
|
|
set @fired:= "No";
|
|
|
end if;
|
|
|
end|
|
|
|
set sql_mode=default|
|
|
|
show triggers like "t1";
|
|
|
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation
|
|
|
trg1 INSERT t1 begin
|
|
|
if new.a > 10 then
|
|
|
set new.a := 10;
|
|
|
set new.a := 11;
|
|
|
end if;
|
|
|
end BEFORE 0000-00-00 00:00:00 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
trg2 UPDATE t1 begin
|
|
|
if old.a % 2 = 0 then set new.b := 12; end if;
|
|
|
end BEFORE 0000-00-00 00:00:00 ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
trg3 UPDATE t1 begin
|
|
|
if new.a = -1 then
|
|
|
set @fired:= "Yes";
|
|
|
end if;
|
|
|
end AFTER 0000-00-00 00:00:00 STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
INSERT INTO t1 (a) VALUES (1),(2),(3),(22);
|
|
|
update t1 set a = 4 where a=3;
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `test`;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL,
|
|
|
`b` bigint(20) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (1,NULL),(2,NULL),(4,NULL),(11,NULL);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
DELIMITER ;;
|
|
|
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `trg1` BEFORE INSERT ON `t1` FOR EACH ROW begin
|
|
|
if new.a > 10 then
|
|
|
set new.a := 10;
|
|
|
set new.a := 11;
|
|
|
end if;
|
|
|
end */;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
DELIMITER ;;
|
|
|
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `trg2` BEFORE UPDATE ON `t1` FOR EACH ROW begin
|
|
|
if old.a % 2 = 0 then set new.b := 12; end if;
|
|
|
end */;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
DELIMITER ;;
|
|
|
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `trg3` AFTER UPDATE ON `t1` FOR EACH ROW begin
|
|
|
if new.a = -1 then
|
|
|
set @fired:= "Yes";
|
|
|
end if;
|
|
|
end */;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
DROP TABLE IF EXISTS `t2`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t2` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t2` WRITE;
|
|
|
/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
DELIMITER ;;
|
|
|
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `trg4` BEFORE INSERT ON `t2` FOR EACH ROW begin
|
|
|
if new.a > 10 then
|
|
|
set @fired:= "No";
|
|
|
end if;
|
|
|
end */;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `test`;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL,
|
|
|
`b` bigint(20) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (1,NULL),(2,NULL),(4,NULL),(11,NULL);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
DROP TABLE IF EXISTS `t2`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t2` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t2` WRITE;
|
|
|
/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop table t1;
|
|
|
show tables;
|
|
|
Tables_in_test
|
|
|
t1
|
|
|
t2
|
|
|
show triggers;
|
|
|
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation
|
|
|
trg1 INSERT t1 begin
|
|
|
if new.a > 10 then
|
|
|
set new.a := 10;
|
|
|
set new.a := 11;
|
|
|
end if;
|
|
|
end BEFORE # ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
trg2 UPDATE t1 begin
|
|
|
if old.a % 2 = 0 then set new.b := 12; end if;
|
|
|
end BEFORE # ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
trg3 UPDATE t1 begin
|
|
|
if new.a = -1 then
|
|
|
set @fired:= "Yes";
|
|
|
end if;
|
|
|
end AFTER # STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
trg4 INSERT t2 begin
|
|
|
if new.a > 10 then
|
|
|
set @fired:= "No";
|
|
|
end if;
|
|
|
end BEFORE # STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
DROP TABLE t1, t2;
|
|
|
#
|
|
|
# Bug#9136 my_print_defaults changed behaviour between 4.1.7 and 4.1.10a
|
|
|
# Bug#12917 The --defaults-extra-file option is ignored by the 5.0 client binaries
|
|
|
# (Problems with --defaults-extra-file option)
|
|
|
#
|
|
|
--port=1234
|
|
|
--port=1234
|
|
|
#
|
|
|
# Test of fix to Bug#12597 mysqldump dumps triggers wrongly
|
|
|
#
|
|
|
DROP TABLE IF EXISTS `test1`;
|
|
|
Warnings:
|
|
|
Note 1051 Unknown table 'test.test1'
|
|
|
CREATE TABLE `test1` (
|
|
|
`a1` int(11) default NULL
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
|
|
Warnings:
|
|
|
Warning 1681 Integer display width is deprecated and will be removed in a future release.
|
|
|
DROP TABLE IF EXISTS `test2`;
|
|
|
Warnings:
|
|
|
Note 1051 Unknown table 'test.test2'
|
|
|
CREATE TABLE `test2` (
|
|
|
`a2` int(11) default NULL
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
|
|
Warnings:
|
|
|
Warning 1681 Integer display width is deprecated and will be removed in a future release.
|
|
|
CREATE TRIGGER `testref` BEFORE INSERT ON `test1` FOR EACH ROW BEGIN
|
|
|
INSERT INTO test2 SET a2 = NEW.a1; END //
|
|
|
INSERT INTO `test1` VALUES (1);
|
|
|
SELECT * FROM `test2`;
|
|
|
a2
|
|
|
1
|
|
|
SHOW TRIGGERS;
|
|
|
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation
|
|
|
testref INSERT test1 BEGIN
|
|
|
INSERT INTO test2 SET a2 = NEW.a1; END BEFORE # ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
SELECT * FROM `test1`;
|
|
|
a1
|
|
|
1
|
|
|
SELECT * FROM `test2`;
|
|
|
a2
|
|
|
1
|
|
|
DROP TRIGGER testref;
|
|
|
DROP TABLE test1;
|
|
|
DROP TABLE test2;
|
|
|
#
|
|
|
# Bug#9056 mysqldump does not dump routines
|
|
|
#
|
|
|
DROP TABLE IF EXISTS t1;
|
|
|
DROP FUNCTION IF EXISTS bug9056_func1;
|
|
|
DROP FUNCTION IF EXISTS bug9056_func2;
|
|
|
DROP PROCEDURE IF EXISTS bug9056_proc1;
|
|
|
DROP PROCEDURE IF EXISTS bug9056_proc2;
|
|
|
DROP PROCEDURE IF EXISTS `a'b`;
|
|
|
CREATE TABLE t1 (id int);
|
|
|
INSERT INTO t1 VALUES(1), (2), (3), (4), (5);
|
|
|
CREATE FUNCTION `bug9056_func1`(a INT, b INT) RETURNS int(11) RETURN a+b //
|
|
|
Warnings:
|
|
|
Warning 1681 Integer display width is deprecated and will be removed in a future release.
|
|
|
CREATE PROCEDURE `bug9056_proc1`(IN a INT, IN b INT, OUT c INT)
|
|
|
BEGIN SELECT a+b INTO c; end //
|
|
|
create function bug9056_func2(f1 char binary) returns char
|
|
|
begin
|
|
|
set f1= concat( 'hello', f1 );
|
|
|
return f1;
|
|
|
end //
|
|
|
Warnings:
|
|
|
Warning 1287 'BINARY as attribute of a type' is deprecated and will be removed in a future release. Please use a CHARACTER SET clause with _bin collation instead
|
|
|
CREATE PROCEDURE bug9056_proc2(OUT a INT)
|
|
|
BEGIN
|
|
|
select sum(id) from t1 into a;
|
|
|
END //
|
|
|
set sql_mode='ansi';
|
|
|
create procedure `a'b` () select 1;
|
|
|
set sql_mode='';
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `test`;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`id` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (1),(2),(3),(4),(5);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!50003 DROP FUNCTION IF EXISTS `bug9056_func1` */;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
DELIMITER ;;
|
|
|
CREATE DEFINER=`root`@`localhost` FUNCTION `bug9056_func1`(a INT, b INT) RETURNS int(11)
|
|
|
RETURN a+b ;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
/*!50003 DROP FUNCTION IF EXISTS `bug9056_func2` */;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
DELIMITER ;;
|
|
|
CREATE DEFINER=`root`@`localhost` FUNCTION `bug9056_func2`(f1 char binary) RETURNS char(1) CHARSET utf8mb4
|
|
|
begin
|
|
|
set f1= concat( 'hello', f1 );
|
|
|
return f1;
|
|
|
end ;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
/*!50003 DROP PROCEDURE IF EXISTS `a'b` */;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = 'REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ONLY_FULL_GROUP_BY,ANSI' */ ;
|
|
|
DELIMITER ;;
|
|
|
CREATE DEFINER="root"@"localhost" PROCEDURE "a'b"()
|
|
|
select 1 ;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
/*!50003 DROP PROCEDURE IF EXISTS `bug9056_proc1` */;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
DELIMITER ;;
|
|
|
CREATE DEFINER=`root`@`localhost` PROCEDURE `bug9056_proc1`(IN a INT, IN b INT, OUT c INT)
|
|
|
BEGIN SELECT a+b INTO c; end ;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
/*!50003 DROP PROCEDURE IF EXISTS `bug9056_proc2` */;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
DELIMITER ;;
|
|
|
CREATE DEFINER=`root`@`localhost` PROCEDURE `bug9056_proc2`(OUT a INT)
|
|
|
BEGIN
|
|
|
select sum(id) from t1 into a;
|
|
|
END ;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP FUNCTION bug9056_func1;
|
|
|
DROP FUNCTION bug9056_func2;
|
|
|
DROP PROCEDURE bug9056_proc1;
|
|
|
DROP PROCEDURE bug9056_proc2;
|
|
|
DROP PROCEDURE `a'b`;
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Bug#13052 mysqldump timestamp reloads broken
|
|
|
#
|
|
|
drop table if exists t1;
|
|
|
create table t1 (`d` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, unique (`d`));
|
|
|
set time_zone='+00:00';
|
|
|
insert into t1 values ('2003-10-25 22:00:00'),('2003-10-25 23:00:00');
|
|
|
select * from t1;
|
|
|
d
|
|
|
2003-10-25 22:00:00
|
|
|
2003-10-25 23:00:00
|
|
|
set time_zone='Europe/Moscow';
|
|
|
select * from t1;
|
|
|
d
|
|
|
2003-10-26 02:00:00
|
|
|
2003-10-26 02:00:00
|
|
|
set global time_zone='Europe/Moscow';
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `test`;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`d` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
|
UNIQUE KEY `d` (`d`)
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES ('2003-10-25 22:00:00'),('2003-10-25 23:00:00');
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `test`;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`d` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
|
UNIQUE KEY `d` (`d`)
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES ('2003-10-26 02:00:00'),('2003-10-26 02:00:00');
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop table t1;
|
|
|
set global time_zone=default;
|
|
|
set time_zone=default;
|
|
|
#
|
|
|
# Test of fix to Bug#13146 ansi quotes break loading of triggers
|
|
|
#
|
|
|
DROP TABLE IF EXISTS `t1 test`;
|
|
|
DROP TABLE IF EXISTS `t2 test`;
|
|
|
CREATE TABLE `t1 test` (
|
|
|
`a1` int(11) default NULL
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
|
|
Warnings:
|
|
|
Warning 1681 Integer display width is deprecated and will be removed in a future release.
|
|
|
CREATE TABLE `t2 test` (
|
|
|
`a2` int(11) default NULL
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
|
|
Warnings:
|
|
|
Warning 1681 Integer display width is deprecated and will be removed in a future release.
|
|
|
CREATE TRIGGER `test trig` BEFORE INSERT ON `t1 test` FOR EACH ROW BEGIN
|
|
|
INSERT INTO `t2 test` SET a2 = NEW.a1; END //
|
|
|
INSERT INTO `t1 test` VALUES (1);
|
|
|
INSERT INTO `t1 test` VALUES (2);
|
|
|
INSERT INTO `t1 test` VALUES (3);
|
|
|
SELECT * FROM `t2 test`;
|
|
|
a2
|
|
|
1
|
|
|
2
|
|
|
3
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO,ANSI' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS "t1 test";
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE "t1 test" (
|
|
|
"a1" int(11) DEFAULT NULL
|
|
|
);
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES "t1 test" WRITE;
|
|
|
/*!40000 ALTER TABLE "t1 test" DISABLE KEYS */;
|
|
|
INSERT INTO "t1 test" VALUES (1),(2),(3);
|
|
|
/*!40000 ALTER TABLE "t1 test" ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = '' */ ;
|
|
|
DELIMITER ;;
|
|
|
/*!50003 CREATE*/ /*!50017 DEFINER="root"@"localhost"*/ /*!50003 TRIGGER "test trig" BEFORE INSERT ON "t1 test" FOR EACH ROW BEGIN
|
|
|
INSERT INTO `t2 test` SET a2 = NEW.a1; END */;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
DROP TABLE IF EXISTS "t2 test";
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE "t2 test" (
|
|
|
"a2" int(11) DEFAULT NULL
|
|
|
);
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES "t2 test" WRITE;
|
|
|
/*!40000 ALTER TABLE "t2 test" DISABLE KEYS */;
|
|
|
INSERT INTO "t2 test" VALUES (1),(2),(3);
|
|
|
/*!40000 ALTER TABLE "t2 test" ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TRIGGER `test trig`;
|
|
|
DROP TABLE `t1 test`;
|
|
|
DROP TABLE `t2 test`;
|
|
|
#
|
|
|
# Bug#12838 mysqldump -x with views exits with error
|
|
|
#
|
|
|
drop table if exists t1;
|
|
|
create table t1 (a int, b varchar(32), c varchar(32));
|
|
|
insert into t1 values (1, 'first value', 'xxxx');
|
|
|
insert into t1 values (2, 'second value', 'tttt');
|
|
|
insert into t1 values (3, 'third value', 'vvv vvv');
|
|
|
create view v1 as select * from t1;
|
|
|
create view v0 as select * from v1;
|
|
|
create view v2 as select * from v0;
|
|
|
select * from v2;
|
|
|
a b c
|
|
|
1 first value xxxx
|
|
|
2 second value tttt
|
|
|
3 third value vvv vvv
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `test`;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL,
|
|
|
`b` varchar(32) DEFAULT NULL,
|
|
|
`c` varchar(32) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (1,'first value','xxxx'),(2,'second value','tttt'),(3,'third value','vvv vvv');
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
DROP TABLE IF EXISTS `v0`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v0`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v0` AS SELECT
|
|
|
1 AS `a`,
|
|
|
1 AS `b`,
|
|
|
1 AS `c`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
DROP TABLE IF EXISTS `v1`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v1`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v1` AS SELECT
|
|
|
1 AS `a`,
|
|
|
1 AS `b`,
|
|
|
1 AS `c`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
DROP TABLE IF EXISTS `v2`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v2` AS SELECT
|
|
|
1 AS `a`,
|
|
|
1 AS `b`,
|
|
|
1 AS `c`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
|
|
|
USE `test`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v0`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v0` AS select `v1`.`a` AS `a`,`v1`.`b` AS `b`,`v1`.`c` AS `c` from `v1` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v1`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v1` AS select `t1`.`a` AS `a`,`t1`.`b` AS `b`,`t1`.`c` AS `c` from `t1` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v2` AS select `v0`.`a` AS `a`,`v0`.`b` AS `b`,`v0`.`c` AS `c` from `v0` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop view v2;
|
|
|
drop view v0;
|
|
|
drop view v1;
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Bug#14554 mysqldump does not separate words "ROW" and "BEGIN"
|
|
|
# for tables with trigger created in the IGNORE_SPACE sql mode.
|
|
|
#
|
|
|
SET @old_sql_mode = @@SQL_MODE;
|
|
|
SET SQL_MODE = IGNORE_SPACE;
|
|
|
CREATE TABLE t1 (a INT);
|
|
|
CREATE TRIGGER tr1 BEFORE INSERT ON t1
|
|
|
FOR EACH ROW
|
|
|
BEGIN
|
|
|
SET new.a = 0;
|
|
|
END|
|
|
|
SET SQL_MODE = @old_sql_mode;
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `test`;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = 'IGNORE_SPACE' */ ;
|
|
|
DELIMITER ;;
|
|
|
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `tr1` BEFORE INSERT ON `t1` FOR EACH ROW BEGIN
|
|
|
SET new.a = 0;
|
|
|
END */;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TRIGGER tr1;
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#13318 Bad result with empty field and --hex-blob
|
|
|
#
|
|
|
create table t1 (a binary(1), b blob);
|
|
|
insert into t1 values ('','');
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` binary(1) DEFAULT NULL,
|
|
|
`b` blob
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (0x00,_binary '');
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` binary(1) DEFAULT NULL,
|
|
|
`b` blob
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (0x00,'');
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Bug#14871 Invalid view dump output
|
|
|
#
|
|
|
create table t1 (a int);
|
|
|
insert into t1 values (289), (298), (234), (456), (789);
|
|
|
create definer = CURRENT_USER view v1 as select * from t1;
|
|
|
create SQL SECURITY INVOKER view v2 as select * from t1;
|
|
|
create view v3 as select * from t1 with local check option;
|
|
|
create algorithm=merge view v4 as select * from t1 with cascaded check option;
|
|
|
create algorithm =temptable view v5 as select * from t1;
|
|
|
drop table t1;
|
|
|
drop view v1, v2, v3, v4, v5;
|
|
|
show tables;
|
|
|
Tables_in_test
|
|
|
t1
|
|
|
v1
|
|
|
v2
|
|
|
v3
|
|
|
v4
|
|
|
v5
|
|
|
select * from v3 order by a;
|
|
|
a
|
|
|
234
|
|
|
289
|
|
|
298
|
|
|
456
|
|
|
789
|
|
|
drop table t1;
|
|
|
drop view v1, v2, v3, v4, v5;
|
|
|
#
|
|
|
# Bug#16878 dump of trigger
|
|
|
#
|
|
|
create table t1 (a int, created datetime);
|
|
|
create table t2 (b int, created datetime);
|
|
|
create trigger tr1 before insert on t1 for each row set
|
|
|
new.created=now();
|
|
|
create trigger tr2 after insert on t1
|
|
|
for each row
|
|
|
begin
|
|
|
insert into t2 set b=new.a and created=new.created;
|
|
|
end|
|
|
|
drop trigger tr1;
|
|
|
drop trigger tr2;
|
|
|
drop table t1, t2;
|
|
|
show triggers;
|
|
|
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation
|
|
|
tr1 INSERT t1 set
|
|
|
new.created=now() BEFORE # root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
tr2 INSERT t1 begin
|
|
|
insert into t2 set b=new.a and created=new.created;
|
|
|
end AFTER # root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
drop trigger tr1;
|
|
|
drop trigger tr2;
|
|
|
drop table t1, t2;
|
|
|
#
|
|
|
# Bug#18462 mysqldump does not dump view structures correctly
|
|
|
#
|
|
|
create table t (qty int, price int);
|
|
|
insert into t values(3, 50);
|
|
|
insert into t values(5, 51);
|
|
|
create view v1 as select qty, price, qty*price as value from t;
|
|
|
create view v2 as select qty from v1;
|
|
|
mysqldump {
|
|
|
/*!50001 DROP VIEW IF EXISTS `v1`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v1` AS select `t`.`qty` AS `qty`,`t`.`price` AS `price`,(`t`.`qty` * `t`.`price`) AS `value` from `t` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
|
|
|
} mysqldump {
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v2` AS select `v1`.`qty` AS `qty` from `v1` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
|
|
|
} mysqldump
|
|
|
drop view v1;
|
|
|
drop view v2;
|
|
|
drop table t;
|
|
|
#
|
|
|
# Bug#14857 Reading dump files with single statement stored routines fails.
|
|
|
# fixed by patch for Bug#16878
|
|
|
#
|
|
|
/*!50003 CREATE FUNCTION `f`() RETURNS bigint(20)
|
|
|
return 42 */|
|
|
|
Warnings:
|
|
|
Warning 1681 Integer display width is deprecated and will be removed in a future release.
|
|
|
/*!50003 CREATE PROCEDURE `p`()
|
|
|
select 42 */|
|
|
|
show create function f;
|
|
|
Function sql_mode Create Function character_set_client collation_connection Database Collation
|
|
|
f CREATE DEFINER=`root`@`localhost` FUNCTION `f`() RETURNS bigint(20)
|
|
|
return 42 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
show create procedure p;
|
|
|
Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
|
|
|
p CREATE DEFINER=`root`@`localhost` PROCEDURE `p`()
|
|
|
select 42 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
drop function f;
|
|
|
drop procedure p;
|
|
|
#
|
|
|
# Bug#17371 Unable to dump a schema with invalid views
|
|
|
#
|
|
|
create table t1 ( id serial );
|
|
|
create view v1 as select * from t1;
|
|
|
drop table t1;
|
|
|
mysqldump {
|
|
|
|
|
|
-- failed on view `v1`: CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v1` AS select `t1`.`id` AS `id` from `t1`
|
|
|
|
|
|
} mysqldump
|
|
|
drop view v1;
|
|
|
# Bug#17201 Spurious 'DROP DATABASE' in output,
|
|
|
# also confusion between tables and views.
|
|
|
# Example code from Markus Popp
|
|
|
create database mysqldump_test_db;
|
|
|
use mysqldump_test_db;
|
|
|
create table t1 (id int);
|
|
|
create view v1 as select * from t1;
|
|
|
insert into t1 values (1232131);
|
|
|
insert into t1 values (4711);
|
|
|
insert into t1 values (3231);
|
|
|
insert into t1 values (0815);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
/*!40000 DROP DATABASE IF EXISTS `mysqldump_test_db`*/;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqldump_test_db` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `mysqldump_test_db`;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`id` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (1232131),(4711),(3231),(815);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
DROP TABLE IF EXISTS `v1`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v1`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v1` AS SELECT
|
|
|
1 AS `id`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
|
|
|
USE `mysqldump_test_db`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v1`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v1` AS select `t1`.`id` AS `id` from `t1` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop view v1;
|
|
|
drop table t1;
|
|
|
drop database mysqldump_test_db;
|
|
|
#
|
|
|
# Bug#21014 Segmentation fault of mysqldump on view
|
|
|
#
|
|
|
create database mysqldump_tables;
|
|
|
use mysqldump_tables;
|
|
|
create table basetable ( id serial, tag varchar(64) );
|
|
|
create database mysqldump_views;
|
|
|
use mysqldump_views;
|
|
|
create view nasishnasifu as select mysqldump_tables.basetable.id from mysqldump_tables.basetable;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqldump_tables` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `mysqldump_tables`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `basetable` (
|
|
|
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
|
|
`tag` varchar(64) DEFAULT NULL,
|
|
|
UNIQUE KEY `id` (`id`)
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqldump_views` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `mysqldump_views`;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `nasishnasifu` AS SELECT
|
|
|
1 AS `id`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
|
|
|
USE `mysqldump_tables`;
|
|
|
|
|
|
USE `mysqldump_views`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `nasishnasifu`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `nasishnasifu` AS select `mysqldump_tables`.`basetable`.`id` AS `id` from `mysqldump_tables`.`basetable` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
drop view nasishnasifu;
|
|
|
drop database mysqldump_views;
|
|
|
drop table mysqldump_tables.basetable;
|
|
|
drop database mysqldump_tables;
|
|
|
#
|
|
|
# Bug#20221 Dumping of multiple databases containing view(s) yields maleformed dumps
|
|
|
#
|
|
|
create database mysqldump_dba;
|
|
|
use mysqldump_dba;
|
|
|
create table t1 (f1 int, f2 int);
|
|
|
insert into t1 values (1,1);
|
|
|
create view v1 as select f1, f2 from t1;
|
|
|
create database mysqldump_dbb;
|
|
|
use mysqldump_dbb;
|
|
|
create table t1 (f1 int, f2 int);
|
|
|
insert into t1 values (2,2);
|
|
|
create view v1 as select f1, f2 from t1;
|
|
|
drop view v1;
|
|
|
drop table t1;
|
|
|
drop database mysqldump_dbb;
|
|
|
use mysqldump_dba;
|
|
|
drop view v1;
|
|
|
drop table t1;
|
|
|
drop database mysqldump_dba;
|
|
|
select * from mysqldump_dba.v1;
|
|
|
f1 f2
|
|
|
1 1
|
|
|
select * from mysqldump_dbb.v1;
|
|
|
f1 f2
|
|
|
2 2
|
|
|
use mysqldump_dba;
|
|
|
drop view v1;
|
|
|
drop table t1;
|
|
|
drop database mysqldump_dba;
|
|
|
use mysqldump_dbb;
|
|
|
drop view v1;
|
|
|
drop table t1;
|
|
|
drop database mysqldump_dbb;
|
|
|
use test;
|
|
|
#
|
|
|
# Bug#21215 mysqldump creating incomplete backups without warning
|
|
|
#
|
|
|
create user mysqltest_1@localhost;
|
|
|
create table t1(a int, b varchar(34));
|
|
|
reset master;
|
|
|
mysqldump: Couldn't execute 'FLUSH /*!40101 LOCAL */ TABLES': Access denied; you need (at least one of) the RELOAD privilege(s) for this operation (1227)
|
|
|
mysqldump: Couldn't execute 'FLUSH /*!40101 LOCAL */ TABLES': Access denied; you need (at least one of) the RELOAD privilege(s) for this operation (1227)
|
|
|
grant RELOAD on *.* to mysqltest_1@localhost;
|
|
|
mysqldump: Couldn't execute 'SHOW MASTER STATUS': Access denied; you need (at least one of) the SUPER, REPLICATION CLIENT privilege(s) for this operation (1227)
|
|
|
mysqldump: Couldn't execute 'SHOW MASTER STATUS': Access denied; you need (at least one of) the SUPER, REPLICATION CLIENT privilege(s) for this operation (1227)
|
|
|
grant REPLICATION CLIENT on *.* to mysqltest_1@localhost;
|
|
|
drop table t1;
|
|
|
drop user mysqltest_1@localhost;
|
|
|
#
|
|
|
# Bug#21424 mysqldump failing to export/import views
|
|
|
#
|
|
|
create database mysqldump_myDB;
|
|
|
use mysqldump_myDB;
|
|
|
create user myDB_User@localhost;
|
|
|
grant create, create view, select, insert on mysqldump_myDB.* to myDB_User@localhost;
|
|
|
create table t1 (c1 int);
|
|
|
insert into t1 values (3);
|
|
|
use mysqldump_myDB;
|
|
|
create table u1 (f1 int);
|
|
|
insert into u1 values (4);
|
|
|
create view v1 (c1) as select * from t1;
|
|
|
use mysqldump_myDB;
|
|
|
drop view v1;
|
|
|
drop table t1;
|
|
|
drop table u1;
|
|
|
revoke all privileges on mysqldump_myDB.* from myDB_User@localhost;
|
|
|
drop user myDB_User@localhost;
|
|
|
drop database mysqldump_myDB;
|
|
|
flush privileges;
|
|
|
# Bug#21424 continues from here.
|
|
|
# Restore. Flush Privileges test ends.
|
|
|
#
|
|
|
use mysqldump_myDB;
|
|
|
select * from mysqldump_myDB.v1;
|
|
|
c1
|
|
|
3
|
|
|
select * from mysqldump_myDB.u1;
|
|
|
f1
|
|
|
4
|
|
|
use mysqldump_myDB;
|
|
|
drop view v1;
|
|
|
drop table t1;
|
|
|
drop table u1;
|
|
|
revoke all privileges on mysqldump_myDB.* from myDB_User@localhost;
|
|
|
drop user myDB_User@localhost;
|
|
|
drop database mysqldump_myDB;
|
|
|
use test;
|
|
|
#
|
|
|
# Bug#19745 mysqldump --xml produces invalid xml
|
|
|
#
|
|
|
DROP TABLE IF EXISTS t1;
|
|
|
CREATE TABLE t1 (f1 int(10), data MEDIUMBLOB);
|
|
|
Warnings:
|
|
|
Warning 1681 Integer display width is deprecated and will be removed in a future release.
|
|
|
INSERT INTO t1 VALUES(1, 0xff00fef0);
|
|
|
<?xml version="1.0"?>
|
|
|
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<database name="test">
|
|
|
<table_structure name="t1">
|
|
|
<field Field="f1" Type="int(10)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<field Field="data" Type="mediumblob" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t1" Engine="InnoDB" Version="10" Row_format="Dynamic" Rows="1" Avg_row_length="16384" Data_length="16384" Max_data_length="0" Index_length="0" Data_free="0" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
<table_data name="t1">
|
|
|
<row>
|
|
|
<field name="f1">1</field>
|
|
|
<field name="data" xsi:type="xs:hexBinary">FF00FEF0</field>
|
|
|
</row>
|
|
|
</table_data>
|
|
|
</database>
|
|
|
</mysqldump>
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#26346 stack + buffer overrun in mysqldump
|
|
|
#
|
|
|
CREATE TABLE t1(a int);
|
|
|
INSERT INTO t1 VALUES (1), (2);
|
|
|
mysqldump: Input filename too long: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
|
DROP TABLE t1;
|
|
|
CREATE TABLE t2 (a INT) ENGINE=MYISAM;
|
|
|
CREATE TABLE t3 (a INT) ENGINE=MYISAM;
|
|
|
CREATE TABLE t1 (a INT) ENGINE=merge UNION=(t2, t3);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=MRG_MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci UNION=(`t2`,`t3`);
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
DROP TABLE IF EXISTS `t2`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t2` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t2` WRITE;
|
|
|
/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
DROP TABLE IF EXISTS `t3`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t3` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t3` WRITE;
|
|
|
/*!40000 ALTER TABLE `t3` DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE `t3` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE t1, t2, t3;
|
|
|
#
|
|
|
# Bug#23491 MySQLDump prefix function call in a view by database name
|
|
|
#
|
|
|
create database bug23491_original;
|
|
|
create database bug23491_restore;
|
|
|
use bug23491_original;
|
|
|
create table t1 (c1 int);
|
|
|
create view v1 as select * from t1;
|
|
|
create procedure p1() select 1;
|
|
|
create function f1() returns int return 1;
|
|
|
create view v2 as select f1();
|
|
|
create function f2() returns int return f1();
|
|
|
create view v3 as select bug23491_original.f1();
|
|
|
use bug23491_restore;
|
|
|
show create view bug23491_restore.v2;
|
|
|
View Create View character_set_client collation_connection
|
|
|
v2 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v2` AS select `f1`() AS `f1()` utf8mb4 utf8mb4_0900_ai_ci
|
|
|
show create view bug23491_restore.v3;
|
|
|
View Create View character_set_client collation_connection
|
|
|
v3 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `v3` AS select `bug23491_original`.`f1`() AS `bug23491_original.f1()` utf8mb4 utf8mb4_0900_ai_ci
|
|
|
drop database bug23491_original;
|
|
|
drop database bug23491_restore;
|
|
|
use test;
|
|
|
#
|
|
|
# Bug#27293 mysqldump crashes when dumping routines
|
|
|
# defined by a different user
|
|
|
#
|
|
|
# Bug#22761 mysqldump reports no errors when using
|
|
|
# --routines without proper privileges
|
|
|
#
|
|
|
create database mysqldump_test_db;
|
|
|
create user user1, user2;
|
|
|
grant all privileges on mysqldump_test_db.* to user1;
|
|
|
grant all privileges on mysqldump_test_db.* to user2;
|
|
|
create procedure mysqldump_test_db.sp1() select 'hello';
|
|
|
|
|
|
-- insufficient privileges to SHOW CREATE PROCEDURE `sp1`
|
|
|
-- does user2 have permissions on mysql.proc?
|
|
|
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION' */ ;
|
|
|
DELIMITER ;;
|
|
|
CREATE DEFINER=`user1`@`%` PROCEDURE `sp1`()
|
|
|
select 'hello' ;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
drop procedure sp1;
|
|
|
drop user user1;
|
|
|
drop user user2;
|
|
|
drop database mysqldump_test_db;
|
|
|
#
|
|
|
# Bug#28522 buffer overrun by '\0' byte using --hex-blob.
|
|
|
#
|
|
|
CREATE TABLE t1 (c1 INT, c2 LONGBLOB);
|
|
|
INSERT INTO t1 SET c1=11, c2=REPEAT('q',509);
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`c1` int(11) DEFAULT NULL,
|
|
|
`c2` longblob
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
INSERT INTO `t1` VALUES (11,0x7171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171717171);
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#28524 mysqldump --skip-add-drop-table is not
|
|
|
# compatible with views
|
|
|
#
|
|
|
CREATE VIEW v1 AS SELECT 1;
|
|
|
DROP VIEW v1;
|
|
|
SELECT * FROM v1;
|
|
|
1
|
|
|
1
|
|
|
DROP VIEW v1;
|
|
|
#
|
|
|
# Bug#29788 mysqldump discards the NO_AUTO_VALUE_ON_ZERO value of
|
|
|
# the SQL_MODE variable after the dumping of triggers.
|
|
|
#
|
|
|
CREATE TABLE t1 (c1 INT);
|
|
|
CREATE TRIGGER t1bd BEFORE DELETE ON t1 FOR EACH ROW BEGIN END;
|
|
|
CREATE TABLE t2 (c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
|
|
|
SET @TMP_SQL_MODE = @@SQL_MODE;
|
|
|
SET SQL_MODE = 'NO_AUTO_VALUE_ON_ZERO';
|
|
|
INSERT INTO t2 VALUES (0), (1), (2);
|
|
|
SET SQL_MODE = @TMP_SQL_MODE;
|
|
|
SELECT * FROM t2;
|
|
|
c1
|
|
|
0
|
|
|
1
|
|
|
2
|
|
|
SELECT * FROM t2;
|
|
|
c1
|
|
|
0
|
|
|
1
|
|
|
2
|
|
|
DROP TABLE t1,t2;
|
|
|
#
|
|
|
# Bug#29815 new option for suppressing last line of mysqldump:
|
|
|
# "Dump completed on"
|
|
|
#
|
|
|
# --skip-dump-date:
|
|
|
--
|
|
|
|
|
|
|
|
|
|
|
|
-- Dump completed
|
|
|
# --dump-date:
|
|
|
--
|
|
|
|
|
|
|
|
|
|
|
|
-- Dump completed on DATE
|
|
|
# --dump-date (default):
|
|
|
--
|
|
|
|
|
|
|
|
|
|
|
|
-- Dump completed on DATE
|
|
|
#
|
|
|
# Bug #42635: mysqldump includes views that were excluded using
|
|
|
# the --ignore-table option
|
|
|
#
|
|
|
create database db42635;
|
|
|
use db42635;
|
|
|
create table t1 (id int);
|
|
|
create view db42635.v1 (c) as select * from db42635.t1;
|
|
|
create view db42635.v2 (c) as select * from db42635.t1;
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`id` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
DROP TABLE IF EXISTS `v2`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v2` AS SELECT
|
|
|
1 AS `c`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v2`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v2` (`c`) AS select `t1`.`id` AS `id` from `t1` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
use test;
|
|
|
drop database db42635;
|
|
|
#
|
|
|
# End of 5.0 tests
|
|
|
#
|
|
|
drop table if exists t1;
|
|
|
CREATE TABLE t1(a int, b int);
|
|
|
INSERT INTO t1 VALUES (1,1);
|
|
|
INSERT INTO t1 VALUES (2,3);
|
|
|
INSERT INTO t1 VALUES (3,4), (4,5);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL,
|
|
|
`b` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
REPLACE INTO `t1` VALUES (1,1),(2,3),(3,4),(4,5);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE t1;
|
|
|
create table t1 (a text , b text);
|
|
|
create table t2 (a text , b text);
|
|
|
insert t1 values ("Duck, Duck", "goose");
|
|
|
insert t1 values ("Duck, Duck", "pidgeon");
|
|
|
insert t2 values ("We the people", "in order to perform");
|
|
|
insert t2 values ("a more perfect", "union");
|
|
|
select * from t1;
|
|
|
a b
|
|
|
Duck, Duck goose
|
|
|
Duck, Duck pidgeon
|
|
|
select * from t2;
|
|
|
a b
|
|
|
We the people in order to perform
|
|
|
a more perfect union
|
|
|
test.t1: Records: 2 Deleted: 0 Skipped: 0 Warnings: 0
|
|
|
test.t2: Records: 2 Deleted: 0 Skipped: 0 Warnings: 0
|
|
|
select * from t1;
|
|
|
a b
|
|
|
Duck, Duck goose
|
|
|
Duck, Duck pidgeon
|
|
|
Duck, Duck goose
|
|
|
Duck, Duck pidgeon
|
|
|
select * from t2;
|
|
|
a b
|
|
|
We the people in order to perform
|
|
|
a more perfect union
|
|
|
We the people in order to perform
|
|
|
a more perfect union
|
|
|
create table words(a varchar(255));
|
|
|
create table words2(b varchar(255));
|
|
|
select * from t1;
|
|
|
a b
|
|
|
Duck, Duck goose
|
|
|
Duck, Duck pidgeon
|
|
|
Duck, Duck goose
|
|
|
Duck, Duck pidgeon
|
|
|
Duck, Duck goose
|
|
|
Duck, Duck pidgeon
|
|
|
select * from t2;
|
|
|
a b
|
|
|
We the people in order to perform
|
|
|
a more perfect union
|
|
|
We the people in order to perform
|
|
|
a more perfect union
|
|
|
We the people in order to perform
|
|
|
a more perfect union
|
|
|
select * from words;
|
|
|
a
|
|
|
Aarhus
|
|
|
Aaron
|
|
|
Ababa
|
|
|
aback
|
|
|
abaft
|
|
|
abandon
|
|
|
abandoned
|
|
|
abandoning
|
|
|
abandonment
|
|
|
abandons
|
|
|
Aarhus
|
|
|
Aaron
|
|
|
Ababa
|
|
|
aback
|
|
|
abaft
|
|
|
abandon
|
|
|
abandoned
|
|
|
abandoning
|
|
|
abandonment
|
|
|
abandons
|
|
|
abase
|
|
|
abased
|
|
|
abasement
|
|
|
abasements
|
|
|
abases
|
|
|
abash
|
|
|
abashed
|
|
|
abashes
|
|
|
abashing
|
|
|
abasing
|
|
|
abate
|
|
|
abated
|
|
|
abatement
|
|
|
abatements
|
|
|
abater
|
|
|
abates
|
|
|
abating
|
|
|
Abba
|
|
|
abbe
|
|
|
abbey
|
|
|
abbeys
|
|
|
abbot
|
|
|
abbots
|
|
|
Abbott
|
|
|
abbreviate
|
|
|
abbreviated
|
|
|
abbreviates
|
|
|
abbreviating
|
|
|
abbreviation
|
|
|
abbreviations
|
|
|
Abby
|
|
|
abdomen
|
|
|
abdomens
|
|
|
abdominal
|
|
|
abduct
|
|
|
abducted
|
|
|
abduction
|
|
|
abductions
|
|
|
abductor
|
|
|
abductors
|
|
|
abducts
|
|
|
Abe
|
|
|
abed
|
|
|
Abel
|
|
|
Abelian
|
|
|
Abelson
|
|
|
Aberdeen
|
|
|
Abernathy
|
|
|
aberrant
|
|
|
aberration
|
|
|
select * from words2;
|
|
|
b
|
|
|
abase
|
|
|
abased
|
|
|
abasement
|
|
|
abasements
|
|
|
abases
|
|
|
abash
|
|
|
abashed
|
|
|
abashes
|
|
|
abashing
|
|
|
abasing
|
|
|
abate
|
|
|
abated
|
|
|
abatement
|
|
|
abatements
|
|
|
abater
|
|
|
abates
|
|
|
abating
|
|
|
Abba
|
|
|
abbe
|
|
|
abbey
|
|
|
abbeys
|
|
|
abbot
|
|
|
abbots
|
|
|
Abbott
|
|
|
abbreviate
|
|
|
abbreviated
|
|
|
abbreviates
|
|
|
abbreviating
|
|
|
abbreviation
|
|
|
abbreviations
|
|
|
Abby
|
|
|
abdomen
|
|
|
abdomens
|
|
|
abdominal
|
|
|
abduct
|
|
|
abducted
|
|
|
abduction
|
|
|
abductions
|
|
|
abductor
|
|
|
abductors
|
|
|
abducts
|
|
|
Abe
|
|
|
abed
|
|
|
Abel
|
|
|
Abelian
|
|
|
Abelson
|
|
|
Aberdeen
|
|
|
Abernathy
|
|
|
aberrant
|
|
|
aberration
|
|
|
drop table words;
|
|
|
mysql-import: Error: 1146, Table 'test.words' doesn't exist, when using table: words
|
|
|
drop table t1;
|
|
|
drop table t2;
|
|
|
drop table words2;
|
|
|
#
|
|
|
# Bug#16853 mysqldump doesn't show events
|
|
|
#
|
|
|
create database first;
|
|
|
use first;
|
|
|
set time_zone = 'UTC';
|
|
|
create event ee1 on schedule at '2035-12-31 20:01:23' do set @a=5;
|
|
|
show events;
|
|
|
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
|
|
first ee1 root@localhost UTC ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
show create event ee1;
|
|
|
Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation
|
|
|
ee1 UTC CREATE DEFINER=`root`@`localhost` EVENT `ee1` ON SCHEDULE AT '2035-12-31 20:01:23' ON COMPLETION NOT PRESERVE ENABLE DO set @a=5 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
drop database first;
|
|
|
create database second;
|
|
|
use second;
|
|
|
show events;
|
|
|
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
|
|
second ee1 root@localhost UTC ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
show create event ee1;
|
|
|
Event sql_mode time_zone Create Event character_set_client collation_connection Database Collation
|
|
|
ee1 UTC CREATE DEFINER=`root`@`localhost` EVENT `ee1` ON SCHEDULE AT '2035-12-31 20:01:23' ON COMPLETION NOT PRESERVE ENABLE DO set @a=5 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
create event ee2 on schedule at '2029-12-31 21:01:23' do set @a=5;
|
|
|
create event ee3 on schedule at '2030-12-31 22:01:23' do set @a=5;
|
|
|
show events;
|
|
|
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
|
|
second ee1 root@localhost UTC ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
second ee2 root@localhost UTC ONE TIME 2029-12-31 21:01:23 NULL NULL NULL NULL ENABLED 1 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
second ee3 root@localhost UTC ONE TIME 2030-12-31 22:01:23 NULL NULL NULL NULL ENABLED 1 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
drop database second;
|
|
|
create database third;
|
|
|
use third;
|
|
|
show events;
|
|
|
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
|
|
third ee1 root@localhost UTC ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
third ee2 root@localhost UTC ONE TIME 2029-12-31 21:01:23 NULL NULL NULL NULL ENABLED 1 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
third ee3 root@localhost UTC ONE TIME 2030-12-31 22:01:23 NULL NULL NULL NULL ENABLED 1 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
drop database third;
|
|
|
set time_zone = 'SYSTEM';
|
|
|
use test;
|
|
|
#
|
|
|
# Bug#17201 Spurious 'DROP DATABASE' in output,
|
|
|
# also confusion between tables and views.
|
|
|
# Example code from Markus Popp
|
|
|
#
|
|
|
create database mysqldump_test_db;
|
|
|
use mysqldump_test_db;
|
|
|
create table t1 (id int);
|
|
|
create view v1 as select * from t1;
|
|
|
insert into t1 values (1232131);
|
|
|
insert into t1 values (4711);
|
|
|
insert into t1 values (3231);
|
|
|
insert into t1 values (0815);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
/*!40000 DROP DATABASE IF EXISTS `mysqldump_test_db`*/;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mysqldump_test_db` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `mysqldump_test_db`;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`id` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (1232131),(4711),(3231),(815);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
DROP TABLE IF EXISTS `v1`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v1`*/;
|
|
|
SET @saved_cs_client = @@character_set_client;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 CREATE VIEW `v1` AS SELECT
|
|
|
1 AS `id`*/;
|
|
|
SET character_set_client = @saved_cs_client;
|
|
|
|
|
|
USE `mysqldump_test_db`;
|
|
|
/*!50001 DROP VIEW IF EXISTS `v1`*/;
|
|
|
/*!50001 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50001 SET @saved_cs_results = @@character_set_results */;
|
|
|
/*!50001 SET @saved_col_connection = @@collation_connection */;
|
|
|
/*!50001 SET character_set_client = utf8mb4 */;
|
|
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|
|
/*!50001 SET collation_connection = utf8mb4_0900_ai_ci */;
|
|
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|
|
/*!50001 VIEW `v1` AS select `t1`.`id` AS `id` from `t1` */;
|
|
|
/*!50001 SET character_set_client = @saved_cs_client */;
|
|
|
/*!50001 SET character_set_results = @saved_cs_results */;
|
|
|
/*!50001 SET collation_connection = @saved_col_connection */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
drop view v1;
|
|
|
drop table t1;
|
|
|
drop database mysqldump_test_db;
|
|
|
#
|
|
|
# Bug#30027 mysqldump does not dump views properly.
|
|
|
#
|
|
|
|
|
|
# Cleanup.
|
|
|
DROP DATABASE IF EXISTS mysqldump_test_db;
|
|
|
|
|
|
# Create objects.
|
|
|
CREATE DATABASE mysqldump_test_db;
|
|
|
set names koi8r;
|
|
|
CREATE VIEW mysqldump_test_db.v2 AS SELECT 1 AS <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1;
|
|
|
CREATE VIEW mysqldump_test_db.v1 AS SELECT <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1 FROM mysqldump_test_db.v2;
|
|
|
set names latin1;
|
|
|
|
|
|
# Dump mysqldump_test_db to bug30027.sql.
|
|
|
|
|
|
# Drop mysqldump_test_db.
|
|
|
DROP DATABASE mysqldump_test_db;
|
|
|
|
|
|
# Restore mysqldump_test_db from bug30027.sql.
|
|
|
|
|
|
# Check the view.
|
|
|
set names utf8;
|
|
|
Warnings:
|
|
|
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
|
|
|
SHOW CREATE VIEW mysqldump_test_db.v1;
|
|
|
View Create View character_set_client collation_connection
|
|
|
v1 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `mysqldump_test_db`.`v1` AS select `v2`.`колонка1` AS `колонка1` from `mysqldump_test_db`.`v2` koi8r koi8r_general_ci
|
|
|
SHOW CREATE VIEW mysqldump_test_db.v2;
|
|
|
View Create View character_set_client collation_connection
|
|
|
v2 CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `mysqldump_test_db`.`v2` AS select 1 AS `колонка1` koi8r koi8r_general_ci
|
|
|
set names latin1;
|
|
|
|
|
|
# Cleanup.
|
|
|
DROP DATABASE mysqldump_test_db;
|
|
|
#
|
|
|
# Bug#29938 wrong behavior of mysqldump --skip-events
|
|
|
# with --all-databases
|
|
|
#
|
|
|
USE test;
|
|
|
CREATE event e29938 ON SCHEDULE AT '2035-12-31 20:01:23' DO SET @bug29938=29938;
|
|
|
SHOW EVENTS;
|
|
|
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
|
|
test e29938 root@localhost SYSTEM ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
|
|
|
SHOW EVENTS;
|
|
|
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
|
|
test e29938 root@localhost SYSTEM ONE TIME 2035-12-31 20:01:23 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
|
|
|
DROP EVENT e29938;
|
|
|
#
|
|
|
# Bug#31113 mysqldump 5.1 can't handle a dash ("-") in database names
|
|
|
#
|
|
|
create database `test-database`;
|
|
|
use `test-database`;
|
|
|
create table test (a int);
|
|
|
DROP TABLE IF EXISTS `test`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `test` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
LOCK TABLES `test` WRITE;
|
|
|
/*!40000 ALTER TABLE `test` DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE `test` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
drop database `test-database`;
|
|
|
use test;
|
|
|
|
|
|
# -----------------------------------------------------------------
|
|
|
# -- Bug#30217 Views: changes in metadata behaviour between 5.0 and 5.1.
|
|
|
# -----------------------------------------------------------------
|
|
|
|
|
|
DROP DATABASE IF EXISTS mysqldump_test_db;
|
|
|
CREATE DATABASE mysqldump_test_db;
|
|
|
use mysqldump_test_db;
|
|
|
|
|
|
CREATE VIEW v1(x, y) AS SELECT 'a', 'a';
|
|
|
|
|
|
SELECT view_definition
|
|
|
FROM INFORMATION_SCHEMA.VIEWS
|
|
|
WHERE table_schema = 'mysqldump_test_db' AND table_name = 'v1';
|
|
|
VIEW_DEFINITION
|
|
|
select 'a' AS `a`,'a' AS `a`
|
|
|
|
|
|
---> Dumping mysqldump_test_db to bug30217.sql
|
|
|
|
|
|
DROP DATABASE mysqldump_test_db;
|
|
|
use test;
|
|
|
|
|
|
---> Restoring mysqldump_test_db...
|
|
|
|
|
|
SELECT view_definition
|
|
|
FROM INFORMATION_SCHEMA.VIEWS
|
|
|
WHERE table_schema = 'mysqldump_test_db' AND table_name = 'v1';
|
|
|
VIEW_DEFINITION
|
|
|
select 'a' AS `a`,'a' AS `a`
|
|
|
|
|
|
DROP DATABASE mysqldump_test_db;
|
|
|
|
|
|
# -- End of test case for Bug#32538.
|
|
|
|
|
|
#
|
|
|
# Bug#37377 Incorrect DROP TABLE statement in dump of a VIEW using --tab
|
|
|
#
|
|
|
create table t1 (a int);
|
|
|
create view v1 as select a from t1;
|
|
|
drop view v1;
|
|
|
drop table t1;
|
|
|
drop view v1;
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Bug#28071 mysqlimport does not quote or escape table name
|
|
|
#
|
|
|
drop table if exists `load`;
|
|
|
create table `load` (a varchar(255));
|
|
|
test.load: Records: 70 Deleted: 0 Skipped: 0 Warnings: 0
|
|
|
select count(*) from `load`;
|
|
|
count(*)
|
|
|
70
|
|
|
drop table `load`;
|
|
|
SET @@GLOBAL.CONCURRENT_INSERT = @OLD_CONCURRENT_INSERT;
|
|
|
|
|
|
Bug#34861 - mysqldump with --tab gives weird output for triggers.
|
|
|
|
|
|
CREATE TABLE t1 (f1 INT);
|
|
|
CREATE TRIGGER tr1 BEFORE UPDATE ON t1 FOR EACH ROW SET @f1 = 1;
|
|
|
CREATE PROCEDURE pr1 () SELECT "Meow";
|
|
|
CREATE EVENT ev1 ON SCHEDULE AT '2030-01-01 00:00:00' DO SELECT "Meow";
|
|
|
|
|
|
SHOW TRIGGERS;
|
|
|
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation
|
|
|
tr1 UPDATE t1 SET @f1 = 1 BEFORE # root@localhost latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
|
|
|
SHOW EVENTS;
|
|
|
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
|
|
test ev1 root@localhost SYSTEM ONE TIME 2030-01-01 00:00:00 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
|
|
|
SELECT routine_name, routine_definition FROM INFORMATION_SCHEMA.routines
|
|
|
WHERE routine_name = 'pr1';
|
|
|
ROUTINE_NAME ROUTINE_DEFINITION
|
|
|
pr1 SELECT "Meow"
|
|
|
|
|
|
dump table; if anything goes to stdout, it ends up here: ---------------
|
|
|
|
|
|
drop everything
|
|
|
DROP EVENT ev1;
|
|
|
DROP TRIGGER tr1;
|
|
|
DROP TABLE t1;
|
|
|
DROP PROCEDURE pr1;
|
|
|
|
|
|
reload table; this should restore table and trigger
|
|
|
SHOW TRIGGERS;
|
|
|
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation
|
|
|
tr1 UPDATE t1 SET @f1 = 1 BEFORE # root@localhost latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
|
|
|
SHOW EVENTS;
|
|
|
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
|
|
SELECT routine_name, routine_definition FROM INFORMATION_SCHEMA.routines
|
|
|
WHERE routine_name = 'pr1';
|
|
|
ROUTINE_NAME ROUTINE_DEFINITION
|
|
|
|
|
|
reload db; this should restore routines and events
|
|
|
SHOW TRIGGERS;
|
|
|
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation
|
|
|
tr1 UPDATE t1 SET @f1 = 1 BEFORE # root@localhost latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
|
|
|
SHOW EVENTS;
|
|
|
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
|
|
test ev1 root@localhost SYSTEM ONE TIME 2030-01-01 00:00:00 NULL NULL NULL NULL ENABLED 1 latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
|
|
|
SELECT routine_name, routine_definition FROM INFORMATION_SCHEMA.routines
|
|
|
WHERE routine_name = 'pr1';
|
|
|
ROUTINE_NAME ROUTINE_DEFINITION
|
|
|
pr1 SELECT "Meow"
|
|
|
|
|
|
cleanup
|
|
|
DROP EVENT IF EXISTS ev1;
|
|
|
DROP PROCEDURE IF EXISTS pr1;
|
|
|
DROP TRIGGER IF EXISTS tr1;
|
|
|
DROP TABLE IF EXISTS t1;
|
|
|
#
|
|
|
# Bug #30946: mysqldump silently ignores --default-character-set
|
|
|
# when used with --tab
|
|
|
#
|
|
|
# Also see outfile_loaddata.test
|
|
|
#
|
|
|
SET NAMES utf8;
|
|
|
Warnings:
|
|
|
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
|
|
|
CREATE TABLE t1 (a INT, b CHAR(10) CHARSET koi8r, c CHAR(10) CHARSET latin1);
|
|
|
CREATE TABLE t2 LIKE t1;
|
|
|
INSERT INTO t1 VALUES (1, 'ABC-АБВ', 'DEF-ÂÃÄ'), (2, NULL, NULL);
|
|
|
# error on multi-character ENCLOSED/ESCAPED BY
|
|
|
# default '--default-charset' (binary):
|
|
|
##################################################
|
|
|
1 ABC-<EFBFBD><EFBFBD><EFBFBD> DEF-<EFBFBD><EFBFBD><EFBFBD>
|
|
|
2 \N \N
|
|
|
##################################################
|
|
|
TRUNCATE t2;
|
|
|
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET binary;
|
|
|
SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c;
|
|
|
a b c
|
|
|
1 ABC-АБВ DEF-ÂÃÄ
|
|
|
2 NULL NULL
|
|
|
# utf8:
|
|
|
##################################################
|
|
|
1 ABC-АБВ DEF-ÂÃÄ
|
|
|
2 \N \N
|
|
|
##################################################
|
|
|
TRUNCATE t2;
|
|
|
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET utf8;
|
|
|
Warnings:
|
|
|
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
|
|
|
SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c;
|
|
|
a b c
|
|
|
1 ABC-АБВ DEF-ÂÃÄ
|
|
|
2 NULL NULL
|
|
|
# latin1 (data corruption is expected):
|
|
|
##################################################
|
|
|
1 ABC-??? DEF-<EFBFBD><EFBFBD><EFBFBD>
|
|
|
2 \N \N
|
|
|
##################################################
|
|
|
TRUNCATE t2;
|
|
|
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET latin1 ;
|
|
|
SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c;
|
|
|
a b c
|
|
|
1 ABC-??? DEF-ÂÃÄ
|
|
|
1 ABC-АБВ DEF-ÂÃÄ
|
|
|
2 NULL NULL
|
|
|
# koi8r (data corruption is expected):
|
|
|
##################################################
|
|
|
1 ABC-<EFBFBD><EFBFBD><EFBFBD> DEF-???
|
|
|
2 \N \N
|
|
|
##################################################
|
|
|
TRUNCATE t2;
|
|
|
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET koi8r;
|
|
|
SELECT * FROM t1 UNION SELECT * FROM t2 ORDER BY a, b, c;
|
|
|
a b c
|
|
|
1 ABC-АБВ DEF-???
|
|
|
1 ABC-АБВ DEF-ÂÃÄ
|
|
|
2 NULL NULL
|
|
|
SET NAMES default;
|
|
|
DROP TABLE t1, t2;
|
|
|
#
|
|
|
# Bug #53088: mysqldump with -T & --default-character-set set
|
|
|
# truncates text/blob to 766 chars
|
|
|
#
|
|
|
# Also see outfile_loaddata.test
|
|
|
#
|
|
|
CREATE TABLE t1 (a BLOB) CHARSET latin1;
|
|
|
CREATE TABLE t2 LIKE t1;
|
|
|
INSERT INTO t1 VALUES (REPEAT('.', 800));
|
|
|
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t2 CHARACTER SET latin1;
|
|
|
# should be 800
|
|
|
SELECT LENGTH(a) FROM t2;
|
|
|
LENGTH(a)
|
|
|
800
|
|
|
DROP TABLE t1, t2;
|
|
|
create table t1 (first char(28) , last varchar(37));
|
|
|
insert into t1 values ("Magnus", "Blåudd");
|
|
|
truncate table t1;
|
|
|
test.t1: Records: 1 Deleted: 0 Skipped: 0 Warnings: 0
|
|
|
drop table t1;
|
|
|
#
|
|
|
# Bug #13618 : mysqldump --xml ommit comment on table field
|
|
|
#
|
|
|
CREATE TABLE `comment_table` (i INT COMMENT 'FIELD COMMENT') COMMENT = 'TABLE COMMENT';
|
|
|
<?xml version="1.0"?>
|
|
|
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<database name="test">
|
|
|
<table_structure name="comment_table">
|
|
|
<field Field="i" Type="int(11)" Null="YES" Key="" Extra="" Comment="FIELD COMMENT" />
|
|
|
<options Name="comment_table" Engine="InnoDB" Version="10" Row_format="Dynamic" Rows="0" Avg_row_length="0" Data_length="16384" Max_data_length="0" Index_length="0" Data_free="0" Create_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="TABLE COMMENT" />
|
|
|
</table_structure>
|
|
|
<table_data name="comment_table">
|
|
|
</table_data>
|
|
|
</database>
|
|
|
</mysqldump>
|
|
|
DROP TABLE `comment_table`;
|
|
|
#
|
|
|
# BUG#11766310 : 59398: MYSQLDUMP 5.1 CAN'T HANDLE A DASH ("-") IN
|
|
|
# DATABASE NAMES IN ALTER DATABASE
|
|
|
#
|
|
|
CREATE DATABASE `test-database`;
|
|
|
USE `test-database`;
|
|
|
CREATE TABLE `test` (`c1` VARCHAR(10)) ENGINE=MYISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
|
|
Warnings:
|
|
|
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
|
|
|
Warning 3778 'utf8_unicode_ci' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
|
|
|
CREATE TRIGGER `trig` BEFORE INSERT ON `test` FOR EACH ROW BEGIN
|
|
|
END |
|
|
|
ALTER DATABASE `test-database` CHARACTER SET latin1 COLLATE latin1_swedish_ci;
|
|
|
ALTER DATABASE `test-database` CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
|
|
|
Warnings:
|
|
|
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
|
|
|
Warning 3778 'utf8_unicode_ci' is a collation of the deprecated character set UTF8MB3. Please consider using UTF8MB4 with an appropriate collation instead.
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `test` (
|
|
|
`c1` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
ALTER DATABASE `test-database` CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci ;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = '' */ ;
|
|
|
DELIMITER ;;
|
|
|
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `trig` BEFORE INSERT ON `test` FOR EACH ROW BEGIN
|
|
|
END */;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
ALTER DATABASE `test-database` CHARACTER SET utf8 COLLATE utf8_unicode_ci ;
|
|
|
DROP DATABASE `test-database`;
|
|
|
USE test;
|
|
|
#
|
|
|
# BUG#11760384 : 52792: mysqldump in XML mode does not dump routines.
|
|
|
#
|
|
|
CREATE DATABASE BUG52792;
|
|
|
USE BUG52792;
|
|
|
CREATE TABLE t1 (c1 INT, c2 VARCHAR(20)) ENGINE=MyISAM;
|
|
|
CREATE TABLE t2 (c1 INT) ENGINE=MyISAM;
|
|
|
INSERT INTO t1 VALUES (1, 'aaa'), (2, 'bbb'), (3, 'ccc');
|
|
|
INSERT INTO t2 VALUES (1),(2),(3);
|
|
|
# Stored Procedures.
|
|
|
CREATE PROCEDURE simpleproc1 (OUT param1 INT)
|
|
|
BEGIN
|
|
|
SELECT COUNT(*) INTO param1 FROM t1;
|
|
|
END//
|
|
|
CREATE PROCEDURE simpleproc2 (OUT param1 INT)
|
|
|
BEGIN
|
|
|
SELECT COUNT(*) INTO param1 FROM t2;
|
|
|
END//
|
|
|
# Events.
|
|
|
SET GLOBAL EVENT_SCHEDULER = OFF;
|
|
|
CREATE EVENT e1 ON SCHEDULE EVERY 1 SECOND DO DROP DATABASE BUG52792;
|
|
|
CREATE EVENT e2 ON SCHEDULE EVERY 1 SECOND DO DROP DATABASE BUG52792;
|
|
|
# Functions.
|
|
|
CREATE FUNCTION `hello1` (s CHAR(20))
|
|
|
RETURNS CHAR(50) DETERMINISTIC
|
|
|
RETURN CONCAT('Hello, ' ,s ,'!');
|
|
|
CREATE FUNCTION `hello2` (s CHAR(20))
|
|
|
RETURNS CHAR(50) DETERMINISTIC
|
|
|
RETURN CONCAT(']]>, ' , s ,'!');
|
|
|
# Triggers.
|
|
|
CREATE TRIGGER trig1 BEFORE INSERT ON t2
|
|
|
FOR EACH ROW BEGIN
|
|
|
INSERT INTO t2 VALUES(1);
|
|
|
END;
|
|
|
|
|
|
|
CREATE TRIGGER trig2 AFTER INSERT ON t2
|
|
|
FOR EACH ROW BEGIN
|
|
|
INSERT INTO t2 VALUES(1, ']]>');
|
|
|
INSERT INTO t2 VALUES(2, '<![CDATA]]>');
|
|
|
INSERT INTO t2 VALUES(3, '<![CDATA[');
|
|
|
INSERT INTO t2 VALUES(4, '< > & \ " _');
|
|
|
END;
|
|
|
|
|
|
|
# Views
|
|
|
CREATE VIEW v1 AS SELECT * FROM t1;
|
|
|
CREATE VIEW v2 AS SELECT * FROM t2;
|
|
|
|
|
|
# Dumping BUG52792 database in xml format.
|
|
|
|
|
|
# Running 'replace_regex on timestamp'
|
|
|
<?xml version="1.0"?>
|
|
|
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<database name="BUG52792">
|
|
|
<table_structure name="t1">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<field Field="c2" Type="varchar(20)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t1" Engine="MyISAM" Version="10" Row_format="Dynamic" Rows="3" Avg_row_length="20" Data_length="60" Max_data_length="281474976710655" Index_length="1024" Data_free="0" Auto_increment="1" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
<table_data name="t1">
|
|
|
<row>
|
|
|
<field name="c1">1</field>
|
|
|
<field name="c2">aaa</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">2</field>
|
|
|
<field name="c2">bbb</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">3</field>
|
|
|
<field name="c2">ccc</field>
|
|
|
</row>
|
|
|
</table_data>
|
|
|
<table_structure name="t2">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t2" Engine="MyISAM" Version="10" Row_format="Fixed" Rows="3" Avg_row_length="7" Data_length="21" Max_data_length="1970324836974591" Index_length="1024" Data_free="0" Auto_increment="1" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
<table_data name="t2">
|
|
|
<row>
|
|
|
<field name="c1">1</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">2</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">3</field>
|
|
|
</row>
|
|
|
</table_data>
|
|
|
<triggers name="t2">
|
|
|
<trigger Trigger="trig1" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci" Created="--TIMESTAMP--">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` TRIGGER `trig1` BEFORE INSERT ON `t2` FOR EACH ROW BEGIN
|
|
|
INSERT INTO t2 VALUES(1);
|
|
|
END
|
|
|
]]>
|
|
|
</trigger>
|
|
|
<trigger Trigger="trig2" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci" Created="--TIMESTAMP--">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` TRIGGER `trig2` AFTER INSERT ON `t2` FOR EACH ROW BEGIN
|
|
|
INSERT INTO t2 VALUES(1, ']]]]><![CDATA[>');
|
|
|
INSERT INTO t2 VALUES(2, '<![CDATA]]]]><![CDATA[>');
|
|
|
INSERT INTO t2 VALUES(3, '<![CDATA[');
|
|
|
INSERT INTO t2 VALUES(4, '< > & \ " _');
|
|
|
END
|
|
|
]]>
|
|
|
</trigger>
|
|
|
</triggers>
|
|
|
<table_structure name="v1">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<field Field="c2" Type="varchar(20)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="v1" Create_time="--TIME--" Comment="VIEW" />
|
|
|
</table_structure>
|
|
|
<table_structure name="v2">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="v2" Create_time="--TIME--" Comment="VIEW" />
|
|
|
</table_structure>
|
|
|
<events>
|
|
|
<event Event="e1" sql_mode="" time_zone="SYSTEM" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` EVENT `e1` ON SCHEDULE EVERY 1 SECOND STARTS '--TIME--' ON COMPLETION NOT PRESERVE ENABLE DO DROP DATABASE BUG52792
|
|
|
]]>
|
|
|
</event>
|
|
|
<event Event="e2" sql_mode="" time_zone="SYSTEM" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` EVENT `e2` ON SCHEDULE EVERY 1 SECOND STARTS '--TIME--' ON COMPLETION NOT PRESERVE ENABLE DO DROP DATABASE BUG52792
|
|
|
]]>
|
|
|
</event>
|
|
|
</events>
|
|
|
<routines>
|
|
|
<routine Function="hello1" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` FUNCTION `hello1`(s CHAR(20)) RETURNS char(50) CHARSET utf8mb4
|
|
|
DETERMINISTIC
|
|
|
RETURN CONCAT('Hello, ' ,s ,'!')
|
|
|
]]>
|
|
|
</routine>
|
|
|
<routine Function="hello2" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` FUNCTION `hello2`(s CHAR(20)) RETURNS char(50) CHARSET utf8mb4
|
|
|
DETERMINISTIC
|
|
|
RETURN CONCAT(']]]]><![CDATA[>, ' , s ,'!')
|
|
|
]]>
|
|
|
</routine>
|
|
|
<routine Procedure="simpleproc1" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` PROCEDURE `simpleproc1`(OUT param1 INT)
|
|
|
BEGIN
|
|
|
SELECT COUNT(*) INTO param1 FROM t1;
|
|
|
END
|
|
|
]]>
|
|
|
</routine>
|
|
|
<routine Procedure="simpleproc2" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` PROCEDURE `simpleproc2`(OUT param1 INT)
|
|
|
BEGIN
|
|
|
SELECT COUNT(*) INTO param1 FROM t2;
|
|
|
END
|
|
|
]]>
|
|
|
</routine>
|
|
|
</routines>
|
|
|
</database>
|
|
|
</mysqldump>
|
|
|
|
|
|
# Dumping BUG52792 database in xml format with comments.
|
|
|
|
|
|
# Running 'replace_regex on timestamp'
|
|
|
<?xml version="1.0"?>
|
|
|
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<database name="BUG52792">
|
|
|
<!--
|
|
|
-
|
|
|
- Table structure for table `t1`
|
|
|
-
|
|
|
|
|
|
-->
|
|
|
<table_structure name="t1">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<field Field="c2" Type="varchar(20)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t1" Engine="MyISAM" Version="10" Row_format="Dynamic" Rows="3" Avg_row_length="20" Data_length="60" Max_data_length="281474976710655" Index_length="1024" Data_free="0" Auto_increment="1" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
<!--
|
|
|
-
|
|
|
- Dumping data for table `t1`
|
|
|
-
|
|
|
-->
|
|
|
<table_data name="t1">
|
|
|
<row>
|
|
|
<field name="c1">1</field>
|
|
|
<field name="c2">aaa</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">2</field>
|
|
|
<field name="c2">bbb</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">3</field>
|
|
|
<field name="c2">ccc</field>
|
|
|
</row>
|
|
|
</table_data>
|
|
|
<!--
|
|
|
-
|
|
|
- Table structure for table `t2`
|
|
|
-
|
|
|
|
|
|
-->
|
|
|
<table_structure name="t2">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t2" Engine="MyISAM" Version="10" Row_format="Fixed" Rows="3" Avg_row_length="7" Data_length="21" Max_data_length="1970324836974591" Index_length="1024" Data_free="0" Auto_increment="1" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
<!--
|
|
|
-
|
|
|
- Dumping data for table `t2`
|
|
|
-
|
|
|
-->
|
|
|
<table_data name="t2">
|
|
|
<row>
|
|
|
<field name="c1">1</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">2</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">3</field>
|
|
|
</row>
|
|
|
</table_data>
|
|
|
<triggers name="t2">
|
|
|
<trigger Trigger="trig1" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci" Created="--TIMESTAMP--">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` TRIGGER `trig1` BEFORE INSERT ON `t2` FOR EACH ROW BEGIN
|
|
|
INSERT INTO t2 VALUES(1);
|
|
|
END
|
|
|
]]>
|
|
|
</trigger>
|
|
|
<trigger Trigger="trig2" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci" Created="--TIMESTAMP--">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` TRIGGER `trig2` AFTER INSERT ON `t2` FOR EACH ROW BEGIN
|
|
|
INSERT INTO t2 VALUES(1, ']]]]><![CDATA[>');
|
|
|
INSERT INTO t2 VALUES(2, '<![CDATA]]]]><![CDATA[>');
|
|
|
INSERT INTO t2 VALUES(3, '<![CDATA[');
|
|
|
INSERT INTO t2 VALUES(4, '< > & \ " _');
|
|
|
END
|
|
|
]]>
|
|
|
</trigger>
|
|
|
</triggers>
|
|
|
<!--
|
|
|
-
|
|
|
- Table structure for table `v1`
|
|
|
-
|
|
|
|
|
|
-->
|
|
|
<table_structure name="v1">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<field Field="c2" Type="varchar(20)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="v1" Create_time="--TIME--" Comment="VIEW" />
|
|
|
</table_structure>
|
|
|
<!--
|
|
|
-
|
|
|
- Table structure for table `v2`
|
|
|
-
|
|
|
|
|
|
-->
|
|
|
<table_structure name="v2">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="v2" Create_time="--TIME--" Comment="VIEW" />
|
|
|
</table_structure>
|
|
|
<!--
|
|
|
-
|
|
|
- Dumping events for database 'BUG52792'
|
|
|
-
|
|
|
-->
|
|
|
<events>
|
|
|
<event Event="e1" sql_mode="" time_zone="SYSTEM" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` EVENT `e1` ON SCHEDULE EVERY 1 SECOND STARTS '--TIME--' ON COMPLETION NOT PRESERVE ENABLE DO DROP DATABASE BUG52792
|
|
|
]]>
|
|
|
</event>
|
|
|
<event Event="e2" sql_mode="" time_zone="SYSTEM" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` EVENT `e2` ON SCHEDULE EVERY 1 SECOND STARTS '--TIME--' ON COMPLETION NOT PRESERVE ENABLE DO DROP DATABASE BUG52792
|
|
|
]]>
|
|
|
</event>
|
|
|
</events>
|
|
|
<!--
|
|
|
-
|
|
|
- Dumping routines for database 'BUG52792'
|
|
|
-
|
|
|
-->
|
|
|
<routines>
|
|
|
<routine Function="hello1" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` FUNCTION `hello1`(s CHAR(20)) RETURNS char(50) CHARSET utf8mb4
|
|
|
DETERMINISTIC
|
|
|
RETURN CONCAT('Hello, ' ,s ,'!')
|
|
|
]]>
|
|
|
</routine>
|
|
|
<routine Function="hello2" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` FUNCTION `hello2`(s CHAR(20)) RETURNS char(50) CHARSET utf8mb4
|
|
|
DETERMINISTIC
|
|
|
RETURN CONCAT(']]]]><![CDATA[>, ' , s ,'!')
|
|
|
]]>
|
|
|
</routine>
|
|
|
<routine Procedure="simpleproc1" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` PROCEDURE `simpleproc1`(OUT param1 INT)
|
|
|
BEGIN
|
|
|
SELECT COUNT(*) INTO param1 FROM t1;
|
|
|
END
|
|
|
]]>
|
|
|
</routine>
|
|
|
<routine Procedure="simpleproc2" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` PROCEDURE `simpleproc2`(OUT param1 INT)
|
|
|
BEGIN
|
|
|
SELECT COUNT(*) INTO param1 FROM t2;
|
|
|
END
|
|
|
]]>
|
|
|
</routine>
|
|
|
</routines>
|
|
|
</database>
|
|
|
</mysqldump>
|
|
|
|
|
|
# Test to check 'Insufficient privileges' error.
|
|
|
|
|
|
CREATE USER user1;
|
|
|
GRANT ALL PRIVILEGES ON BUG52792.* TO user1;
|
|
|
# Running 'replace_regex on timestamp'
|
|
|
<?xml version="1.0"?>
|
|
|
<mysqldump xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
<database name="BUG52792">
|
|
|
<table_structure name="t1">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<field Field="c2" Type="varchar(20)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t1" Engine="MyISAM" Version="10" Row_format="Dynamic" Rows="3" Avg_row_length="20" Data_length="60" Max_data_length="281474976710655" Index_length="1024" Data_free="0" Auto_increment="1" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
<table_data name="t1">
|
|
|
<row>
|
|
|
<field name="c1">1</field>
|
|
|
<field name="c2">aaa</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">2</field>
|
|
|
<field name="c2">bbb</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">3</field>
|
|
|
<field name="c2">ccc</field>
|
|
|
</row>
|
|
|
</table_data>
|
|
|
<table_structure name="t2">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="t2" Engine="MyISAM" Version="10" Row_format="Fixed" Rows="3" Avg_row_length="7" Data_length="21" Max_data_length="1970324836974591" Index_length="1024" Data_free="0" Auto_increment="1" Create_time="--TIME--" Update_time="--TIME--" Collation="utf8mb4_0900_ai_ci" Create_options="" Comment="" />
|
|
|
</table_structure>
|
|
|
<table_data name="t2">
|
|
|
<row>
|
|
|
<field name="c1">1</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">2</field>
|
|
|
</row>
|
|
|
<row>
|
|
|
<field name="c1">3</field>
|
|
|
</row>
|
|
|
</table_data>
|
|
|
<triggers name="t2">
|
|
|
<trigger Trigger="trig1" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci" Created="--TIMESTAMP--">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` TRIGGER `trig1` BEFORE INSERT ON `t2` FOR EACH ROW BEGIN
|
|
|
INSERT INTO t2 VALUES(1);
|
|
|
END
|
|
|
]]>
|
|
|
</trigger>
|
|
|
<trigger Trigger="trig2" sql_mode="" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci" Created="--TIMESTAMP--">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` TRIGGER `trig2` AFTER INSERT ON `t2` FOR EACH ROW BEGIN
|
|
|
INSERT INTO t2 VALUES(1, ']]]]><![CDATA[>');
|
|
|
INSERT INTO t2 VALUES(2, '<![CDATA]]]]><![CDATA[>');
|
|
|
INSERT INTO t2 VALUES(3, '<![CDATA[');
|
|
|
INSERT INTO t2 VALUES(4, '< > & \ " _');
|
|
|
END
|
|
|
]]>
|
|
|
</trigger>
|
|
|
</triggers>
|
|
|
<table_structure name="v1">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<field Field="c2" Type="varchar(20)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="v1" Create_time="--TIME--" Comment="VIEW" />
|
|
|
</table_structure>
|
|
|
<table_structure name="v2">
|
|
|
<field Field="c1" Type="int(11)" Null="YES" Key="" Extra="" Comment="" />
|
|
|
<options Name="v2" Create_time="--TIME--" Comment="VIEW" />
|
|
|
</table_structure>
|
|
|
<events>
|
|
|
<event Event="e1" sql_mode="" time_zone="SYSTEM" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` EVENT `e1` ON SCHEDULE EVERY 1 SECOND STARTS '--TIME--' ON COMPLETION NOT PRESERVE ENABLE DO DROP DATABASE BUG52792
|
|
|
]]>
|
|
|
</event>
|
|
|
<event Event="e2" sql_mode="" time_zone="SYSTEM" character_set_client="utf8mb4" collation_connection="utf8mb4_0900_ai_ci" Database_Collation="utf8mb4_0900_ai_ci">
|
|
|
<![CDATA[
|
|
|
CREATE DEFINER=`root`@`localhost` EVENT `e2` ON SCHEDULE EVERY 1 SECOND STARTS '--TIME--' ON COMPLETION NOT PRESERVE ENABLE DO DROP DATABASE BUG52792
|
|
|
]]>
|
|
|
</event>
|
|
|
</events>
|
|
|
<routines>
|
|
|
<!--
|
|
|
- insufficient privileges to SHOW CREATE FUNCTION `hello1`
|
|
|
-->
|
|
|
<!-- - does user1 have permissions on mysql.proc?
|
|
|
|
|
|
-->
|
|
|
DROP USER user1;
|
|
|
DROP DATABASE BUG52792;
|
|
|
SET NAMES default;
|
|
|
USE test;
|
|
|
SET GLOBAL EVENT_SCHEDULER = ON;
|
|
|
#
|
|
|
# End of 5.1 tests
|
|
|
#
|
|
|
#
|
|
|
# Test for --add-drop-trigger
|
|
|
#
|
|
|
USE `test`;
|
|
|
CREATE TABLE t1 (a int, b int);
|
|
|
CREATE TRIGGER tt1_t1 BEFORE INSERT ON t1 FOR EACH ROW
|
|
|
SET NEW.b=NEW.a + 10;
|
|
|
INSERT INTO t1 (a) VALUES (1),(2),(3);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
|
|
|
|
|
|
USE `test`;
|
|
|
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
|
|
|
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
|
|
|
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
|
|
|
/*!50003 SET character_set_client = utf8mb4 */ ;
|
|
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|
|
/*!50003 SET collation_connection = utf8mb4_0900_ai_ci */ ;
|
|
|
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
|
|
|
/*!50003 SET sql_mode = '' */ ;
|
|
|
/*!50032 DROP TRIGGER IF EXISTS tt1_t1 */;
|
|
|
DELIMITER ;;
|
|
|
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `tt1_t1` BEFORE INSERT ON `t1` FOR EACH ROW SET NEW.b=NEW.a + 10 */;;
|
|
|
DELIMITER ;
|
|
|
/*!50003 SET sql_mode = @saved_sql_mode */ ;
|
|
|
/*!50003 SET character_set_client = @saved_cs_client */ ;
|
|
|
/*!50003 SET character_set_results = @saved_cs_results */ ;
|
|
|
/*!50003 SET collation_connection = @saved_col_connection */ ;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Test columns with function defaults.
|
|
|
#
|
|
|
CREATE TABLE t1 (
|
|
|
a TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
|
b TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
|
c TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
|
|
|
d TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
|
e TIMESTAMP NULL,
|
|
|
f TIMESTAMP NOT NULL DEFAULT '2010-05-26 12:34:56',
|
|
|
g DATETIME,
|
|
|
h DATETIME DEFAULT CURRENT_TIMESTAMP,
|
|
|
i DATETIME ON UPDATE CURRENT_TIMESTAMP,
|
|
|
j DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
|
k DATETIME NULL,
|
|
|
l DATETIME DEFAULT '2010-05-26 12:34:56'
|
|
|
);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
|
`b` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
|
`c` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
|
|
|
`d` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
|
`e` timestamp NULL DEFAULT NULL,
|
|
|
`f` timestamp NOT NULL DEFAULT '2010-05-26 09:34:56',
|
|
|
`g` datetime DEFAULT NULL,
|
|
|
`h` datetime DEFAULT CURRENT_TIMESTAMP,
|
|
|
`i` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
|
|
|
`j` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
|
`k` datetime DEFAULT NULL,
|
|
|
`l` datetime DEFAULT '2010-05-26 12:34:56'
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP TABLE t1;
|
|
|
#
|
|
|
# Bug#12809202 61854: MYSQLDUMP --SINGLE-TRANSACTION --FLUSH-LOG BREAKS
|
|
|
# CONSISTENCY
|
|
|
#
|
|
|
DROP DATABASE IF EXISTS b12809202_db;
|
|
|
CREATE DATABASE b12809202_db;
|
|
|
CREATE TABLE b12809202_db.t1 (c1 INT);
|
|
|
CREATE TABLE b12809202_db.t2 (c1 INT);
|
|
|
INSERT INTO b12809202_db.t1 VALUES (1), (2), (3);
|
|
|
INSERT INTO b12809202_db.t2 VALUES (1), (2), (3);
|
|
|
# Starting mysqldump with --single-transaction & --flush-logs options..
|
|
|
# Note : In the following dump the transaction
|
|
|
# should start only after the logs are
|
|
|
# flushed, as 'flush logs' causes implicit
|
|
|
# commit starting 5.5. Also, as stderr is
|
|
|
# unbuffered, it is redirected to a different
|
|
|
# file to avoid diffs due to bad stdout/stderr
|
|
|
# order in the output.
|
|
|
|
|
|
#### Dump starts here ####
|
|
|
--
|
|
|
-- Host: localhost Database: b12809202_db
|
|
|
-- ------------------------------------------------------
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
|
|
--
|
|
|
-- Table structure for table `t1`
|
|
|
--
|
|
|
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`c1` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
--
|
|
|
-- Dumping data for table `t1`
|
|
|
--
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (1),(2),(3);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
--
|
|
|
-- Table structure for table `t2`
|
|
|
--
|
|
|
|
|
|
DROP TABLE IF EXISTS `t2`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t2` (
|
|
|
`c1` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
--
|
|
|
-- Dumping data for table `t2`
|
|
|
--
|
|
|
|
|
|
LOCK TABLES `t2` WRITE;
|
|
|
/*!40000 ALTER TABLE `t2` DISABLE KEYS */;
|
|
|
INSERT INTO `t2` VALUES (1),(2),(3);
|
|
|
/*!40000 ALTER TABLE `t2` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
-- Dump completed
|
|
|
## stderr ##
|
|
|
-- Connecting to localhost...
|
|
|
-- main : logs flushed successfully!
|
|
|
-- Starting transaction...
|
|
|
-- Setting savepoint...
|
|
|
-- Retrieving table structure for table t1...
|
|
|
-- Sending SELECT query...
|
|
|
-- Retrieving rows...
|
|
|
-- Rolling back to savepoint sp...
|
|
|
-- Retrieving table structure for table t2...
|
|
|
-- Sending SELECT query...
|
|
|
-- Retrieving rows...
|
|
|
-- Rolling back to savepoint sp...
|
|
|
-- Releasing savepoint...
|
|
|
-- Disconnecting from localhost...
|
|
|
|
|
|
#### Dump ends here ####
|
|
|
DROP TABLE b12809202_db.t1;
|
|
|
DROP TABLE b12809202_db.t2;
|
|
|
DROP DATABASE b12809202_db;
|
|
|
#
|
|
|
# Delete all existing binary logs.
|
|
|
#
|
|
|
RESET MASTER;
|
|
|
#
|
|
|
# Bug#12688860 : SECURITY RECOMMENDATION: PASSWORDS ON CLI
|
|
|
#
|
|
|
DROP DATABASE IF EXISTS b12688860_db;
|
|
|
CREATE DATABASE b12688860_db;
|
|
|
mysqldump: [Warning] Using a password on the command line interface can be insecure.
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP DATABASE b12688860_db;
|
|
|
#
|
|
|
# Bug#45740 MYSQLDUMP DOESN'T DUMP GENERAL_LOG AND SLOW_QUERY CAUSES RESTORE PROBLEM
|
|
|
#
|
|
|
#
|
|
|
# End of 5.1 tests
|
|
|
#
|
|
|
#
|
|
|
#BUG#17477959 - VIEW COLUMNS EXCEED TABLE LIMITS
|
|
|
#
|
|
|
CREATE VIEW v1 AS SELECT 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit1, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit2, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit3, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit4, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit5, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit6, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit7, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit8, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit9, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit10, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit11, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit12, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit13, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit14, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit15, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit16, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit17, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit18, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit19, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit20, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit21, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit22, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit23, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit24, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit25, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit26, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit27, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit28, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit29, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit30, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit31, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit32, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit33, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit34, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit35, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit36, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit37, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit38, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit39, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit40, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit41, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit42, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit43, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit44, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit45, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit46, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit47, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit48, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit49, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit50, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit51, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit52, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit53, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit54, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit55, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit56, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit57, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit58, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit59, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit60, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit61, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit62, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit63, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit64, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit65, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit66, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit67, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit68, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit69, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit70, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit71, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit72, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit73, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit74, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit75, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit76, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit77, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit78, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit79, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit80, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit81, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit82, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit83, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit84, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit85, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit86, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit87, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit88, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit89, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit90, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit91, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit92, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit93, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit94, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit95, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit96, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit97, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit98, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit99, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit100, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit101, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit102, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit103, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit104, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit105, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit106, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit107, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit108, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit109, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit110, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit111, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit112, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit113, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit114, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit115, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit116, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit117, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit118, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit119, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit120, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit121, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit122, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit123, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit124, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit125, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit126, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit127, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit128, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit129, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit130, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit131, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit132, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit133, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit134, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit135, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit136, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit137, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit138, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit139, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit140, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit141, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit142, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit143, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit144, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit145, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit146, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit147, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit148, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit149, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit150, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit151, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit152, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit153, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit154, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit155, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit156, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit157, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit158, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit159, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit160, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit161, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit162, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit163, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit164, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit165, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit166, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit167, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit168, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit169, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit170, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit171, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit172, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit173, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit174, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit175, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit176, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit177, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit178, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit179, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit180, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit181, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit182, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit183, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit184, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit185, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit186, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit187, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit188, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit189, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit190, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit191, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit192, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit193, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit194, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit195, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit196, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit197, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit198, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit199, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit200, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit201, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit202, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit203, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit204, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit205, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit206, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit207, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit208, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit209, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit210, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit211, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit212, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit213, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit214, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit215, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit216, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit217, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit218, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit219, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit220, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit221, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit222, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit223, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit224, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit225, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit226, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit227, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit228, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit229, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit230, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit231, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit232, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit233, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit234, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit235, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit236, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit237, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit238, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit239, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit240, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit241, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit242, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit243, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit244, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit245, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit246, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit247, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit248, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit249, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit250, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit251, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit252, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit253, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit254, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit255, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit256, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit257, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit258, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit259, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit260, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit261, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit262, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit263, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit264, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit265, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit266, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit267, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit268, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit269, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit270, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit271, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit272, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit273, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit274, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit275, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit276, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit277, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit278, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit279, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit280, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit281, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit282, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit283, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit284, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit285, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit286, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit287, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit288, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit289, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit290, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit291, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit292, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit293, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit294, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit295, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit296, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit297, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit298, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit299, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit300, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit301, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit302, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit303, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit304, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit305, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit306, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit307, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit308, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit309, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit310, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit311, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit312, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit313, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit314, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit315, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit316, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit317, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit318, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit319, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit320, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit321, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit322, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit323, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit324, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit325, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit326, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit327, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit328, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit329, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit330, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit331, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit332, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit333, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit334, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit335, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit336, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit337, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit338, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit339, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit340, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit341, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit342, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit343, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit344, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit345, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit346, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit347, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit348, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit349, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit350, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit351, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit352, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit353, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit354, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit355, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit356, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit357, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit358, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit359, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit360, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit361, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit362, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit363, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit364, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit365, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit366, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit367, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit368, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit369, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit370, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit371, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit372, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit373, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit374, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit375, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit376, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit377, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit378, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit379, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit380, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit381, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit382, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit383, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit384, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit385, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit386, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit387, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit388, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit389, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit390, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit391, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit392, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit393, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit394, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit395, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit396, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit397, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit398, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit399, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit400, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit401, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit402, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit403, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit404, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit405, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit406, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit407, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit408, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit409, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit410, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit411, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit412, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit413, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit414, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit415, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit416, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit417, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit418, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit419, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit420, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit421, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit422, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit423, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit424, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit425, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit426, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit427, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit428, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit429, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit430, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit431, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit432, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit433, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit434, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit435, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit436, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit437, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit438, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit439, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit440, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit441, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit442, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit443, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit444, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit445, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit446, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit447, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit448, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit449, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit450, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit451, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit452, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit453, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit454, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit455, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit456, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit457, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit458, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit459, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit460, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit461, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit462, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit463, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit464, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit465, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit466, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit467, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit468, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit469, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit470, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit471, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit472, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit473, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit474, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit475, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit476, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit477, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit478, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit479, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit480, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit481, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit482, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit483, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit484, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit485, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit486, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit487, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit488, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit489, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit490, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit491, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit492, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit493, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit494, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit495, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit496, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit497, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit498, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit499, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit500, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit501, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit502, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit503, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit504, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit505, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit506, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit507, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit508, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit509, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit510, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit511, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit512, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit513, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit514, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit515, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit516, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit517, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit518, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit519, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit520, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit521, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit522, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit523, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit524, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit525, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit526, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit527, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit528, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit529, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit530, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit531, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit532, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit533, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit534, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit535, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit536, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit537, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit538, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit539, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit540, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit541, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit542, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit543, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit544, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit545, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit546, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit547, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit548, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit549, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit550, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit551, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit552, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit553, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit554, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit555, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit556, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit557, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit558, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit559, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit560, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit561, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit562, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit563, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit564, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit565, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit566, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit567, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit568, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit569, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit570, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit571, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit572, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit573, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit574, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit575, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit576, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit577, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit578, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit579, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit580, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit581, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit582, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit583, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit584, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit585, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit586, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit587, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit588, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit589, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit590, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit591, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit592, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit593, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit594, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit595, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit596, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit597, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit598, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit599, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit600, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit601, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit602, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit603, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit604, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit605, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit606, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit607, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit608, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit609, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit610, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit611, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit612, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit613, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit614, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit615, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit616, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit617, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit618, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit619, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit620, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit621, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit622, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit623, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit624, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit625, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit626, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit627, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit628, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit629, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit630, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit631, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit632, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit633, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit634, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit635, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit636, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit637, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit638, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit639, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit640, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit641, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit642, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit643, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit644, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit645, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit646, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit647, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit648, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit649, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit650, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit651, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit652, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit653, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit654, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit655, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit656, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit657, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit658, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit659, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit660, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit661, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit662, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit663, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit664, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit665, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit666, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit667, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit668, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit669, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit670, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit671, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit672, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit673, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit674, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit675, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit676, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit677, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit678, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit679, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit680, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit681, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit682, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit683, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit684, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit685, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit686, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit687, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit688, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit689, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit690, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit691, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit692, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit693, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit694, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit695, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit696, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit697, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit698, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit699, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit700, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit701, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit702, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit703, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit704, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit705, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit706, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit707, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit708, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit709, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit710, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit711, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit712, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit713, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit714, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit715, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit716, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit717, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit718, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit719, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit720, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit721, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit722, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit723, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit724, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit725, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit726, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit727, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit728, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit729, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit730, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit731, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit732, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit733, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit734, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit735, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit736, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit737, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit738, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit739, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit740, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit741, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit742, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit743, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit744, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit745, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit746, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit747, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit748, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit749, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit750, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit751, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit752, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit753, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit754, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit755, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit756, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit757, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit758, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit759, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit760, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit761, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit762, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit763, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit764, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit765, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit766, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit767, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit768, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit769, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit770, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit771, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit772, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit773, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit774, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit775, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit776, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit777, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit778, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit779, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit780, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit781, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit782, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit783, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit784, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit785, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit786, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit787, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit788, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit789, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit790, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit791, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit792, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit793, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit794, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit795, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit796, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit797, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit798, 1 AS thisColumnContainsAVeryLongNameThatNearsThe64CharacterLimit;
|
|
|
DROP VIEW v1;
|
|
|
#
|
|
|
# Bug #18109728 DUMP & RESTORE FAILS WHEN DATABASE NAME CONTAINS '\'
|
|
|
#
|
|
|
CREATE DATABASE `a\\k`;
|
|
|
CREATE TABLE `a\\k`.t1(i INT);
|
|
|
SHOW TABLES FROM `a\\k`;
|
|
|
Tables_in_a\\k
|
|
|
t1
|
|
|
DROP DATABASE `a\\k`;
|
|
|
SHOW TABLES FROM `a\\k`;
|
|
|
Tables_in_a\\k
|
|
|
t1
|
|
|
DROP DATABASE `a\\k`;
|
|
|
#
|
|
|
# End of 5.6 tests
|
|
|
#
|
|
|
#
|
|
|
# Bug #11752369 : MYSQLDUMP SHOULD CONVERT GEOMETRY COLUMNS TO HEX WITH
|
|
|
# --HEX-BLOB OPTION
|
|
|
CREATE DATABASE dump_gis;
|
|
|
USE dump_gis;
|
|
|
CREATE TABLE t1 (a GEOMETRY);
|
|
|
INSERT INTO t1 VALUES(ST_GeomFromText('LineString(1 1, 2 1, 2 2, 1 2, 1 1)'));
|
|
|
SELECT HEX(a) FROM t1;
|
|
|
HEX(a)
|
|
|
00000000010200000005000000000000000000F03F000000000000F03F0000000000000040000000000000F03F00000000000000400000000000000040000000000000F03F0000000000000040000000000000F03F000000000000F03F
|
|
|
INSERT INTO `t1` (`a`) VALUES (0x00000000010200000005000000000000000000F03F000000000000F03F0000000000000040000000000000F03F00000000000000400000000000000040000000000000F03F0000000000000040000000000000F03F000000000000F03F);
|
|
|
DROP DATABASE dump_gis;
|
|
|
#
|
|
|
# Bug #20772273 : MYSQLIMPORT --USE-THREADS DOESN'T USE MULTIPLE THREADS
|
|
|
#
|
|
|
CREATE DATABASE db_20772273;
|
|
|
USE db_20772273;
|
|
|
CREATE TABLE t1(a INT);
|
|
|
INSERT INTO t1 VALUES (1), (2);
|
|
|
CREATE TABLE t2(a INT);
|
|
|
INSERT INTO t2 VALUES (3), (4);
|
|
|
SELECT * FROM t1;
|
|
|
a
|
|
|
1
|
|
|
2
|
|
|
SELECT * FROM t2;
|
|
|
a
|
|
|
3
|
|
|
4
|
|
|
SELECT * FROM t1;
|
|
|
a
|
|
|
1
|
|
|
2
|
|
|
SELECT * FROM t2;
|
|
|
a
|
|
|
3
|
|
|
4
|
|
|
DROP TABLE t1;
|
|
|
DROP TABLE t2;
|
|
|
DROP DATABASE db_20772273;
|
|
|
#
|
|
|
# WL#8132 JSON datatype and binary storage format
|
|
|
#
|
|
|
CREATE DATABASE dump_json;
|
|
|
USE dump_json;
|
|
|
CREATE TABLE t1 (j JSON);
|
|
|
INSERT INTO t1 VALUES (JSON_ARRAY(1, 2, 3, "one", "two", "three"));
|
|
|
SELECT * FROM t1;
|
|
|
j
|
|
|
[1, 2, 3, "one", "two", "three"]
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`j` json DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
INSERT INTO `t1` VALUES ('[1, 2, 3, \"one\", \"two\", \"three\"]');
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`j` json DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
INSERT INTO `t1` VALUES ('[1, 2, 3, \"one\", \"two\", \"three\"]');
|
|
|
DROP DATABASE dump_json;
|
|
|
#
|
|
|
# WL#411 Generated columns
|
|
|
#
|
|
|
CREATE DATABASE dump_generated;
|
|
|
USE dump_generated;
|
|
|
CREATE TABLE t1 (pk INTEGER, a INTEGER, b INTEGER, c VARCHAR(16),
|
|
|
sum INTEGER GENERATED ALWAYS AS (a+b),
|
|
|
sub VARCHAR(4) GENERATED ALWAYS AS (SUBSTRING(c, 1, 4)),
|
|
|
key k1(sum),
|
|
|
key k2(sub)
|
|
|
) engine=innodb;
|
|
|
INSERT INTO t1(pk, a, b, c) VALUES (1, 11, 12, 'oneone'), (2, 21, 22, 'twotwo');
|
|
|
SELECT * FROM t1;
|
|
|
pk a b c sum sub
|
|
|
1 11 12 oneone 23 oneo
|
|
|
2 21 22 twotwo 43 twot
|
|
|
DELETE FROM t1;
|
|
|
SELECT * FROM t1;
|
|
|
pk a b c sum sub
|
|
|
1 11 12 oneone 23 oneo
|
|
|
2 21 22 twotwo 43 twot
|
|
|
DELETE FROM t1;
|
|
|
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t1.txt' INTO TABLE t1;
|
|
|
SELECT * FROM t1;
|
|
|
pk a b c sum sub
|
|
|
1 11 12 oneone 23 oneo
|
|
|
2 21 22 twotwo 43 twot
|
|
|
DROP TABLE t1;
|
|
|
# A table with regular columns after generated
|
|
|
CREATE TABLE t2 (pk INTEGER, a INTEGER, b INTEGER,
|
|
|
sum INTEGER GENERATED ALWAYS AS (a+b),
|
|
|
c VARCHAR(16),
|
|
|
key k1(sum)
|
|
|
) engine=innodb;
|
|
|
INSERT INTO t2(pk, a, b, c) VALUES (1, 11, 12, 'oneone'), (2, 21, 22, 'twotwo');
|
|
|
SELECT * FROM t2;
|
|
|
pk a b sum c
|
|
|
1 11 12 23 oneone
|
|
|
2 21 22 43 twotwo
|
|
|
DELETE FROM t2;
|
|
|
SELECT * FROM t2;
|
|
|
pk a b sum c
|
|
|
1 11 12 23 oneone
|
|
|
2 21 22 43 twotwo
|
|
|
DELETE FROM t2;
|
|
|
LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/t2.txt' INTO TABLE t2;
|
|
|
SELECT * FROM t2;
|
|
|
pk a b sum c
|
|
|
1 11 12 23 oneone
|
|
|
2 21 22 43 twotwo
|
|
|
DROP TABLE t2;
|
|
|
DROP DATABASE dump_generated;
|
|
|
#
|
|
|
# End of 5.7 tests
|
|
|
#
|
|
|
#
|
|
|
# Bug #21549860 MYSQLDUMP/MYSQLPUMP INCLUDES SYS SCHEMA STORED PROGRAMS
|
|
|
# EVEN IF SKIPPING SCHEMA
|
|
|
#
|
|
|
SELECT COUNT(*) FROM INFORMATION_SCHEMA.routines WHERE routine_schema = 'sys';
|
|
|
COUNT(*)
|
|
|
48
|
|
|
DROP DATABASE sys;
|
|
|
SELECT COUNT(*) FROM INFORMATION_SCHEMA.routines WHERE routine_schema = 'sys';
|
|
|
COUNT(*)
|
|
|
0
|
|
|
SELECT COUNT(*) FROM INFORMATION_SCHEMA.routines WHERE routine_schema = 'sys';
|
|
|
COUNT(*)
|
|
|
0
|
|
|
SELECT COUNT(*) FROM INFORMATION_SCHEMA.routines WHERE routine_schema = 'sys';
|
|
|
COUNT(*)
|
|
|
48
|
|
|
#
|
|
|
# WL#8697: Invisible Indexes
|
|
|
# Test of mysqldump.
|
|
|
#
|
|
|
CREATE TABLE test.t1 (
|
|
|
a INT,
|
|
|
b INT,
|
|
|
c INT,
|
|
|
INDEX (a) VISIBLE,
|
|
|
INDEX (b) INVISIBLE,
|
|
|
INDEX (c)
|
|
|
);
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL,
|
|
|
`b` int(11) DEFAULT NULL,
|
|
|
`c` int(11) DEFAULT NULL,
|
|
|
KEY `a` (`a`),
|
|
|
KEY `b` (`b`) /*!80000 INVISIBLE */,
|
|
|
KEY `c` (`c`)
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
DROP TABLE test.t1;
|
|
|
#
|
|
|
# Bug #25717383: MYSQLDUMP MAY EXECUTE ANY ARBITRARY QUERY
|
|
|
#
|
|
|
CREATE DATABASE bug25717383;
|
|
|
use bug25717383;
|
|
|
CREATE TABLE `tab
|
|
|
one` (a int);
|
|
|
CREATE VIEW `view
|
|
|
one` as SELECT * FROM `tab
|
|
|
one`;
|
|
|
CREATE PROCEDURE `proc
|
|
|
one`() SELECT * from `tab
|
|
|
one`;
|
|
|
CREATE TEMPORARY TABLE `temp
|
|
|
one` (id INT);
|
|
|
CREATE TRIGGER `trig
|
|
|
one` BEFORE INSERT ON `tab
|
|
|
one` FOR EACH ROW SET NEW.a = 1;
|
|
|
CREATE EVENT `event
|
|
|
one` ON SCHEDULE AT '2030-01-01 00:00:00' DO SET @a=5;
|
|
|
SHOW TABLES FROM bug25717383;
|
|
|
Tables_in_bug25717383
|
|
|
tab
|
|
|
one
|
|
|
view
|
|
|
one
|
|
|
SHOW TRIGGERS FROM bug25717383;
|
|
|
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation
|
|
|
trig
|
|
|
one INSERT tab
|
|
|
one SET NEW.a = 1 BEFORE # root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
SHOW EVENTS FROM bug25717383;
|
|
|
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
|
|
bug25717383 event
|
|
|
one root@localhost SYSTEM ONE TIME # NULL NULL NULL NULL ENABLED 1 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES
|
|
|
WHERE ROUTINE_SCHEMA='bug25717383' AND ROUTINE_TYPE= 'PROCEDURE'
|
|
|
ORDER BY ROUTINE_NAME;
|
|
|
ROUTINE_NAME
|
|
|
proc
|
|
|
one
|
|
|
SHOW TABLES FROM bug25717383;
|
|
|
Tables_in_bug25717383
|
|
|
tab
|
|
|
one
|
|
|
view
|
|
|
one
|
|
|
SHOW TRIGGERS FROM bug25717383;
|
|
|
Trigger Event Table Statement Timing Created sql_mode Definer character_set_client collation_connection Database Collation
|
|
|
trig
|
|
|
one INSERT tab
|
|
|
one SET NEW.a = 1 BEFORE # root@localhost utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
SHOW EVENTS FROM bug25717383;
|
|
|
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
|
|
bug25717383 event
|
|
|
one root@localhost SYSTEM ONE TIME # NULL NULL NULL NULL ENABLED 1 utf8mb4 utf8mb4_0900_ai_ci utf8mb4_0900_ai_ci
|
|
|
SELECT ROUTINE_NAME FROM INFORMATION_SCHEMA.ROUTINES
|
|
|
WHERE ROUTINE_SCHEMA='bug25717383' AND ROUTINE_TYPE= 'PROCEDURE'
|
|
|
ORDER BY ROUTINE_NAME;
|
|
|
ROUTINE_NAME
|
|
|
proc
|
|
|
one
|
|
|
DROP DATABASE bug25717383;
|
|
|
#
|
|
|
# Bug #25469161: MYSQLDUMP SHOULD EXCLUDE REPLICATION
|
|
|
# REPOSITORY METADATA TABLES
|
|
|
#
|
|
|
SHOW VARIABLES LIKE "master_info_repository";
|
|
|
Variable_name Value
|
|
|
master_info_repository TABLE
|
|
|
SHOW VARIABLES LIKE "relay_log_info_repository";
|
|
|
Variable_name Value
|
|
|
relay_log_info_repository TABLE
|
|
|
SET GLOBAL master_info_repository= 'FILE';
|
|
|
Warnings:
|
|
|
Warning 1287 'FILE' is deprecated and will be removed in a future release. Please use 'TABLE' instead
|
|
|
SET GLOBAL relay_log_info_repository= 'FILE';
|
|
|
Warnings:
|
|
|
Warning 1287 'FILE' is deprecated and will be removed in a future release. Please use 'TABLE' instead
|
|
|
SHOW VARIABLES LIKE "master_info_repository";
|
|
|
Variable_name Value
|
|
|
master_info_repository FILE
|
|
|
SHOW VARIABLES LIKE "relay_log_info_repository";
|
|
|
Variable_name Value
|
|
|
relay_log_info_repository FILE
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE IF NOT EXISTS `slave_master_info` (
|
|
|
`Number_of_lines` int(10) unsigned NOT NULL COMMENT 'Number of lines in the file.',
|
|
|
`Master_log_name` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'The name of the master binary log currently being read from the master.',
|
|
|
`Master_log_pos` bigint(20) unsigned NOT NULL COMMENT 'The master log position of the last read event.',
|
|
|
`Host` char(255) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL COMMENT 'The host name of the master.',
|
|
|
`User_name` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The user name used to connect to the master.',
|
|
|
`User_password` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The password used to connect to the master.',
|
|
|
`Port` int(10) unsigned NOT NULL COMMENT 'The network port used to connect to the master.',
|
|
|
`Connect_retry` int(10) unsigned NOT NULL COMMENT 'The period (in seconds) that the slave will wait before trying to reconnect to the master.',
|
|
|
`Enabled_ssl` tinyint(1) NOT NULL COMMENT 'Indicates whether the server supports SSL connections.',
|
|
|
`Ssl_ca` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The file used for the Certificate Authority (CA) certificate.',
|
|
|
`Ssl_capath` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The path to the Certificate Authority (CA) certificates.',
|
|
|
`Ssl_cert` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The name of the SSL certificate file.',
|
|
|
`Ssl_cipher` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The name of the cipher in use for the SSL connection.',
|
|
|
`Ssl_key` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The name of the SSL key file.',
|
|
|
`Ssl_verify_server_cert` tinyint(1) NOT NULL COMMENT 'Whether to verify the server certificate.',
|
|
|
`Heartbeat` float NOT NULL,
|
|
|
`Bind` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'Displays which interface is employed when connecting to the MySQL server',
|
|
|
`Ignored_server_ids` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The number of server IDs to be ignored, followed by the actual server IDs',
|
|
|
`Uuid` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The master server uuid.',
|
|
|
`Retry_count` bigint(20) unsigned NOT NULL COMMENT 'Number of reconnect attempts, to the master, before giving up.',
|
|
|
`Ssl_crl` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The file used for the Certificate Revocation List (CRL)',
|
|
|
`Ssl_crlpath` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The path used for Certificate Revocation List (CRL) files',
|
|
|
`Enabled_auto_position` tinyint(1) NOT NULL COMMENT 'Indicates whether GTIDs will be used to retrieve events from the master.',
|
|
|
`Channel_name` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'The channel on which the slave is connected to a source. Used in Multisource Replication',
|
|
|
`Tls_version` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'Tls version',
|
|
|
`Public_key_path` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'The file containing public key of master server.',
|
|
|
`Get_public_key` tinyint(1) NOT NULL COMMENT 'Preference to get public key from master.',
|
|
|
`Network_namespace` text CHARACTER SET utf8 COLLATE utf8_bin COMMENT 'Network namespace used for communication with the master server.',
|
|
|
`Master_compression_algorithm` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'Compression algorithm supported for data transfer between master and slave.',
|
|
|
`Master_zstd_compression_level` int(10) unsigned NOT NULL COMMENT 'Compression level associated with zstd compression algorithm.',
|
|
|
PRIMARY KEY (`Channel_name`)
|
|
|
) /*!50100 TABLESPACE `mysql` */ ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 ROW_FORMAT=DYNAMIC COMMENT='Master Information';
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE IF NOT EXISTS `slave_relay_log_info` (
|
|
|
`Number_of_lines` int(10) unsigned NOT NULL COMMENT 'Number of lines in the file or rows in the table. Used to version table definitions.',
|
|
|
`Relay_log_name` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'The name of the current relay log file.',
|
|
|
`Relay_log_pos` bigint(20) unsigned NOT NULL COMMENT 'The relay log position of the last executed event.',
|
|
|
`Master_log_name` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT 'The name of the master binary log file from which the events in the relay log file were read.',
|
|
|
`Master_log_pos` bigint(20) unsigned NOT NULL COMMENT 'The master log position of the last executed event.',
|
|
|
`Sql_delay` int(11) NOT NULL COMMENT 'The number of seconds that the slave must lag behind the master.',
|
|
|
`Number_of_workers` int(10) unsigned NOT NULL,
|
|
|
`Id` int(10) unsigned NOT NULL COMMENT 'Internal Id that uniquely identifies this record.',
|
|
|
`Channel_name` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'The channel on which the slave is connected to a source. Used in Multisource Replication',
|
|
|
`Privilege_checks_username` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL COMMENT 'Username part of PRIVILEGE_CHECKS_USER.',
|
|
|
`Privilege_checks_hostname` char(255) CHARACTER SET ascii COLLATE ascii_general_ci DEFAULT NULL COMMENT 'Hostname part of PRIVILEGE_CHECKS_USER.',
|
|
|
PRIMARY KEY (`Channel_name`)
|
|
|
) /*!50100 TABLESPACE `mysql` */ ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 ROW_FORMAT=DYNAMIC COMMENT='Relay Log Information';
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
SET GLOBAL master_info_repository= 'TABLE';
|
|
|
SET GLOBAL relay_log_info_repository= 'TABLE';
|
|
|
SHOW VARIABLES LIKE "master_info_repository";
|
|
|
Variable_name Value
|
|
|
master_info_repository TABLE
|
|
|
SHOW VARIABLES LIKE "relay_log_info_repository";
|
|
|
Variable_name Value
|
|
|
relay_log_info_repository TABLE
|
|
|
#
|
|
|
# Dump a table that has column statistics
|
|
|
#
|
|
|
CREATE SCHEMA column_statistics_dump;
|
|
|
USE column_statistics_dump;
|
|
|
CREATE TABLE t1 (col1 INT);
|
|
|
INSERT INTO t1 VALUES (1), (2);
|
|
|
ANALYZE TABLE t1 UPDATE HISTOGRAM ON col1 WITH 22 BUCKETS;
|
|
|
Table Op Msg_type Msg_text
|
|
|
column_statistics_dump.t1 histogram status Histogram statistics created for column 'col1'.
|
|
|
# Verify that the number of buckets specified (22) is also present in the
|
|
|
# dump file.
|
|
|
SELECT schema_name, table_name, column_name,
|
|
|
JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')
|
|
|
FROM information_schema.COLUMN_STATISTICS;
|
|
|
SCHEMA_NAME TABLE_NAME COLUMN_NAME JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')
|
|
|
column_statistics_dump t1 col1 22
|
|
|
include/assert_grep.inc [Check for ANALYZE TABLE with histogram clause]
|
|
|
# Test XML output for column statistics
|
|
|
include/assert_grep.inc [Check for ANALYZE TABLE with histogram clause, XML output]
|
|
|
include/assert_grep.inc [Check for ANALYZE TABLE with histogram clause, XML output]
|
|
|
DROP SCHEMA column_statistics_dump;
|
|
|
#
|
|
|
# Bug #26171967: MYSQLDUMP IN 5.5 SEGFAULTS FOR --WHERE CLAUSES LARGER THAN 2K
|
|
|
#
|
|
|
CREATE DATABASE bug26171967;
|
|
|
USE bug26171967;
|
|
|
CREATE TABLE t1(a INT);
|
|
|
INSERT INTO t1 VALUES (1000000), (1000001);
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
DROP TABLE IF EXISTS `t1`;
|
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
CREATE TABLE `t1` (
|
|
|
`a` int(11) DEFAULT NULL
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
|
|
LOCK TABLES `t1` WRITE;
|
|
|
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
|
|
INSERT INTO `t1` VALUES (1000000),(1000001);
|
|
|
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
|
|
DROP DATABASE bug26171967;
|
|
|
#
|
|
|
# WL#9465 & WL#8383 coverage tests
|
|
|
#
|
|
|
USE test;
|
|
|
|