Debian Codegraph @

mysql-test/suite/rpl_nogtid/r/rpl_row_create_select.result

raw
1 include/master-slave.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection master]
6 #
7 # BUG#17994219: CREATE TABLE .. SELECT PRODUCES INVALID STRUCTURE,
8 # BREAKS RBR
9 #
10 SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
11 #After the patch, the display width is set to a default
12 #value of 21.
13 CREATE TABLE t1 AS SELECT REPEAT('A', 1000) DIV 1 AS a;
14 Warnings:
15 Warning 1366 Incorrect DECIMAL value: '0' for column '' at row -1
16 SHOW CREATE TABLE t1;
17 Table Create Table
18 t1 CREATE TABLE `t1` (
19 `a` bigint DEFAULT NULL
20 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
21 CREATE TABLE t2 AS SELECT CONVERT(REPEAT('A', 255) USING UCS2) DIV 1 AS a;
22 Warnings:
23 Warning 1287 'ucs2' is deprecated and will be removed in a future release. Please use utf8mb4 instead
24 Warning 1366 Incorrect DECIMAL value: '0' for column '' at row -1
25 SHOW CREATE TABLE t2;
26 Table Create Table
27 t2 CREATE TABLE `t2` (
28 `a` bigint DEFAULT NULL
29 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
30 #After the patch, no error is reported.
31 DROP TABLE t1;
32 DROP TABLE t2;
33 SET sql_mode = default;
34 include/rpl_end.inc