~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/t/variables-notembedded.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
# Tests that variables work correctly (setting and showing).  This
 
2
# test is like the main.variables test, but for variables not
 
3
# available in embedded mode.
 
4
 
 
5
source include/not_embedded.inc;
 
6
 
 
7
--echo ---- Init ----
 
8
# Backup global variables so they can be restored at end of test.
 
9
set @my_slave_net_timeout         =@@global.slave_net_timeout;
 
10
 
 
11
--echo ---- Test ----
 
12
set global slave_net_timeout=100;
 
13
set global sql_slave_skip_counter=100;
 
14
 
 
15
# End of 4.1 tests
 
16
 
 
17
# BUG #7800: Add various-slave related variables to SHOW VARIABLES
 
18
show variables like 'slave_compressed_protocol';
 
19
--replace_column 2 SLAVE_LOAD_TMPDIR
 
20
show variables like 'slave_load_tmpdir';
 
21
# We just set some arbitrary values in variables-master.opt so we can test
 
22
# that a list of values works correctly
 
23
show variables like 'slave_skip_errors';
 
24
 
 
25
--echo ---- Clean Up ----
 
26
 
 
27
set global slave_net_timeout=default;
 
28
# sql_slave_skip_counter is write-only, so we can't save previous
 
29
# value and restore it here.  That's ok, because it's normally 0.
 
30
set global sql_slave_skip_counter= 0;