mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
18 lines
430 B
PHP
18 lines
430 B
PHP
|
#########################################
|
||
|
# Author: Serge Kozlov skozlov@mysql.com
|
||
|
# Date: 07/10/2006
|
||
|
# Purpose: Showing view from work tables on master and on slave
|
||
|
# Requirements:
|
||
|
#########################################
|
||
|
|
||
|
--echo ==========MASTER==========
|
||
|
SHOW CREATE VIEW v1;
|
||
|
SELECT * FROM v1;
|
||
|
sync_slave_with_master;
|
||
|
--echo ==========SLAVE===========
|
||
|
USE test_rpl;
|
||
|
SHOW CREATE VIEW v1;
|
||
|
SELECT * FROM v1;
|
||
|
connection master;
|
||
|
|