~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/t/rpl_report.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Verify that mysqld init time --report-{host,port,user,password} parameters
 
2
# are SHOW-able and SELECT-able FROM INFORMATION_SCHEMA.global_variables
 
3
 
 
4
source include/master-slave.inc;
 
5
 
 
6
connection slave;
 
7
select * from Information_schema.GLOBAL_VARIABLES where variable_name like 'report_host';
 
8
select * from Information_schema.GLOBAL_VARIABLES where variable_name like 'report_port';
 
9
select * from Information_schema.GLOBAL_VARIABLES where variable_name like 'report_user';
 
10
select * from Information_schema.GLOBAL_VARIABLES where variable_name like 'report_password';
 
11
query_vertical show global variables like 'report_host';
 
12
query_vertical show global variables like 'report_port';
 
13
query_vertical show global variables like 'report_user';
 
14
query_vertical show global variables like 'report_password';
 
15
 
 
16
# to demonstrate that report global variables are read-only
 
17
error ER_INCORRECT_GLOBAL_LOCAL_VAR;
 
18
set @@global.report_host='my.new.address.net';
 
19
 
 
20
 
 
21
--echo end of tests