Current Path : /home/usr.opt/mysql57/mysql-test/suite/rpl/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/rpl/r/rpl_row_func002.result |
include/master-slave.inc Warnings: Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information. [connection master] DROP FUNCTION test.f1; DROP TABLE IF EXISTS test.t1; DROP TABLE IF EXISTS test.t2; SET sql_mode = 'NO_ENGINE_SUBSTITUTION'; Warnings: Warning 3090 Changing sql mode 'NO_AUTO_CREATE_USER' is deprecated. It will be removed in a future release. CREATE TABLE test.t1 (a INT NOT NULL AUTO_INCREMENT, t TIMESTAMP, t2 TIMESTAMP, PRIMARY KEY(a)); CREATE TABLE test.t2 (a INT NOT NULL AUTO_INCREMENT, t TIMESTAMP, t2 TIMESTAMP, PRIMARY KEY(a)); SET sql_mode = default; create function test.f1() RETURNS TIMESTAMP BEGIN UPDATE test.t1 SET t = CURRENT_TIMESTAMP; RETURN CURRENT_TIMESTAMP; END// INSERT INTO test.t2 VALUES (null,f1(),CURRENT_TIMESTAMP); SET TIMESTAMP=2; INSERT INTO test.t2 VALUES (null,f1(),CURRENT_TIMESTAMP); SET TIMESTAMP=1; INSERT INTO test.t2 VALUES (null,f1(),CURRENT_TIMESTAMP); SET TIMESTAMP=333300000; INSERT INTO test.t2 VALUES (null,f1(),CURRENT_TIMESTAMP); include/sync_slave_sql_with_master.inc DROP FUNCTION test.f1; DROP TABLE test.t1; DROP TABLE test.t2; include/sync_slave_sql_with_master.inc include/rpl_end.inc