Debian Codegraph @

mysql-test/suite/rpl_ndb/r/rpl_ndb_UUID.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 DROP PROCEDURE IF EXISTS test.p1;
7 DROP TABLE IF EXISTS test.t1;
8 CREATE TABLE test.t1 (a INT, blob_column LONGBLOB, vchar_column VARCHAR(100), PRIMARY KEY(a)) engine=NDB;
9 INSERT INTO test.t1 VALUES(1,UUID(),UUID());
10 create procedure test.p1()
11 begin
12 INSERT INTO test.t1 VALUES(2,UUID(),UUID());
13 INSERT INTO test.t1 VALUES(3,UUID(),UUID());
14 end|
15 CALL test.p1();
16 create function test.fn1(x int)
17 returns int
18 begin
19 insert into t1 values (4+x,UUID(),UUID());
20 insert into t1 values (5+x,UUID(),UUID());
21 return 0;
22 end|
23 select fn1(0);
24 fn1(0)
25 0
26 create table t2 (a int) engine=NDB;
27 insert into t2 values(fn1(2));
28 include/sync_slave_sql_with_master.inc
29 SHOW CREATE TABLE test.t1;
30 Table Create Table
31 t1 CREATE TABLE `t1` (
32 `a` int NOT NULL,
33 `blob_column` longblob,
34 `vchar_column` varchar(100) DEFAULT NULL,
35 PRIMARY KEY (`a`)
36 ) ENGINE=ndbcluster DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci
37 DROP PROCEDURE test.p1;
38 DROP FUNCTION test.fn1;
39 DROP TABLE test.t1;
40 DROP TABLE test.t2;
41 include/rpl_end.inc