Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
faad2523
Commit
faad2523
authored
Sep 01, 2006
by
anozdrin/alik@alik
Browse files
Options
Browse Files
Download
Plain Diff
Merge alik.:/mnt/raid/alik/MySQL/devel/5.1-tree
into alik.:/mnt/raid/alik/MySQL/devel/5.1-rt-merged
parents
e1c245bf
5d8598a4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
65 additions
and
53 deletions
+65
-53
mysql-test/r/im_instance_conf.result
mysql-test/r/im_instance_conf.result
+4
-0
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+1
-2
mysql-test/t/im_instance_conf.imtest
mysql-test/t/im_instance_conf.imtest
+35
-27
mysql-test/t/im_options-im.opt
mysql-test/t/im_options-im.opt
+1
-0
mysql-test/t/im_options.imtest
mysql-test/t/im_options.imtest
+24
-24
No files found.
mysql-test/r/im_instance_conf.result
View file @
faad2523
...
@@ -67,6 +67,7 @@ test-B=test
...
@@ -67,6 +67,7 @@ test-B=test
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
CREATE INSTANCE mysqld6
CREATE INSTANCE mysqld6
test-C1 = 10 ,
test-C1 = 10 ,
test-C2 = 02 ,
test-C2 = 02 ,
...
@@ -126,6 +127,9 @@ mysqld4 offline
...
@@ -126,6 +127,9 @@ mysqld4 offline
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
--------------------------------------------------------------------
CREATE INSTANCE mysqld9
CREATE INSTANCE mysqld9
test-1=" hello world ",
test-1=" hello world ",
test-2=' ',
test-2=' ',
...
...
mysql-test/t/disabled.def
View file @
faad2523
...
@@ -13,8 +13,7 @@
...
@@ -13,8 +13,7 @@
#events_stress : BUG#17619 2006-02-21 andrey Race conditions
#events_stress : BUG#17619 2006-02-21 andrey Race conditions
#events : BUG#17619 2006-02-21 andrey Race conditions
#events : BUG#17619 2006-02-21 andrey Race conditions
#events_scheduling : BUG#19170 2006-04-26 andrey Test case of 19170 fails on some platforms. Has to be checked.
#events_scheduling : BUG#19170 2006-04-26 andrey Test case of 19170 fails on some platforms. Has to be checked.
im_instance_conf : Bug#20294 2006-06-06 monty Instance manager test im_instance_conf fails randomly
im_options : Bug#20294 2006-07-24 stewart Instance manager test im_options fails randomly
im_options : Bug#20294 2006-07-24 stewart Instance manager test im_instance_conf fails randomly
#im_life_cycle : Bug#20368 2006-06-10 alik im_life_cycle test fails
#im_life_cycle : Bug#20368 2006-06-10 alik im_life_cycle test fails
ndb_autodiscover : BUG#18952 2006-02-16 jmiller Needs to be fixed w.r.t binlog
ndb_autodiscover : BUG#18952 2006-02-16 jmiller Needs to be fixed w.r.t binlog
ndb_autodiscover2 : BUG#18952 2006-02-16 jmiller Needs to be fixed w.r.t binlog
ndb_autodiscover2 : BUG#18952 2006-02-16 jmiller Needs to be fixed w.r.t binlog
...
...
mysql-test/t/im_instance_conf.imtest
View file @
faad2523
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
# Check that the configuration file contains only instances that we expect.
# Check that the configuration file contains only instances that we expect.
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^server_id
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^server_id
[^a-zA-Z0-9_\-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
###########################################################################
###########################################################################
...
@@ -56,7 +56,7 @@ CREATE INSTANCE mysqld3
...
@@ -56,7 +56,7 @@ CREATE INSTANCE mysqld3
SHOW INSTANCES;
SHOW INSTANCES;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^server_id
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^server_id
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
# Check that CREATE INSTANCE fails for existing instance. Let's all three
# Check that CREATE INSTANCE fails for existing instance. Let's all three
...
@@ -78,7 +78,7 @@ CREATE INSTANCE mysqld3;
...
@@ -78,7 +78,7 @@ CREATE INSTANCE mysqld3;
# - without values;
# - without values;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^nonguarded\>'
$MYSQLTEST_VARDIR/im.cnf;
--exec grep
"^nonguarded\$"
$MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
CREATE INSTANCE mysqld4
CREATE INSTANCE mysqld4
...
@@ -89,15 +89,15 @@ CREATE INSTANCE mysqld4
...
@@ -89,15 +89,15 @@ CREATE INSTANCE mysqld4
SHOW INSTANCES;
SHOW INSTANCES;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^nonguarded\>'
$MYSQLTEST_VARDIR/im.cnf;
--exec grep
"^nonguarded\$"
$MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
# - with value;
# - with value;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-A
\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-A
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-B
\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-B
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
CREATE INSTANCE mysqld5
CREATE INSTANCE mysqld5
...
@@ -109,9 +109,9 @@ CREATE INSTANCE mysqld5
...
@@ -109,9 +109,9 @@ CREATE INSTANCE mysqld5
SHOW INSTANCES;
SHOW INSTANCES;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-A
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^test-A
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-B
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^test-B
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
# Check that CREATE INSTANCE parses options and handles grammar errors
# Check that CREATE INSTANCE parses options and handles grammar errors
...
@@ -121,7 +121,9 @@ SHOW INSTANCES;
...
@@ -121,7 +121,9 @@ SHOW INSTANCES;
# - check handling of extra spaces;
# - check handling of extra spaces;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-C\>' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-C1[^a-zA-Z0-9_-]' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--exec grep '^test-C2[^a-zA-Z0-9_-]' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
CREATE INSTANCE mysqld6
CREATE INSTANCE mysqld6
...
@@ -133,17 +135,17 @@ CREATE INSTANCE mysqld6
...
@@ -133,17 +135,17 @@ CREATE INSTANCE mysqld6
SHOW INSTANCES;
SHOW INSTANCES;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-C1
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^test-C1
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-C2
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^test-C2
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
# - check handling of grammar error;
# - check handling of grammar error;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-D
\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-D
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-E
\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-E
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--error ER_SYNTAX_ERROR
--error ER_SYNTAX_ERROR
...
@@ -159,21 +161,27 @@ CREATE INSTANCE mysqld8 test-F = ;
...
@@ -159,21 +161,27 @@ CREATE INSTANCE mysqld8 test-F = ;
SHOW INSTANCES;
SHOW INSTANCES;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-D
\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-D
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-E
\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-E
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
# - check parsing of string option values
# - check parsing of string option values
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-1\>' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-1[^a-zA-Z0-9_-]' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--exec grep '^test-2[^a-zA-Z0-9_-]' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--exec grep '^test-3[^a-zA-Z0-9_-]' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--exec grep '^test-4[^a-zA-Z0-9_-]' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-
2\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-
5[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-
3\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-
6[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-
4\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-
7[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
CREATE INSTANCE mysqld9
CREATE INSTANCE mysqld9
...
@@ -210,21 +218,21 @@ CREATE INSTANCE mysqld13 test-bad=' \ ';
...
@@ -210,21 +218,21 @@ CREATE INSTANCE mysqld13 test-bad=' \ ';
SHOW INSTANCES;
SHOW INSTANCES;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-1
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^test-1
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-2
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^test-2
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-3
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^test-3
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-4
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^test-4
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-5
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^test-5
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-6
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^test-6
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-7
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^test-7
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^test-bad
\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^test-bad' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
...
...
mysql-test/t/im_options-im.opt
0 → 100644
View file @
faad2523
--monitoring-interval=1
mysql-test/t/im_options.imtest
View file @
faad2523
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
# - check the configuration file;
# - check the configuration file;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^server_id
\>
' $MYSQLTEST_VARDIR/im.cnf ;
--exec grep '^server_id
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
# - check the running instances.
# - check the running instances.
...
@@ -133,25 +133,25 @@ UNSET mysqld2.server_id = 11;
...
@@ -133,25 +133,25 @@ UNSET mysqld2.server_id = 11;
SET mysqld2.aaa, mysqld3.bbb, mysqld2.ccc = 0010, mysqld3.ddd = 0020;
SET mysqld2.aaa, mysqld3.bbb, mysqld2.ccc = 0010, mysqld3.ddd = 0020;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^aaa\>'
$MYSQLTEST_VARDIR/im.cnf ;
--exec grep
"^aaa\$"
$MYSQLTEST_VARDIR/im.cnf ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^bbb\>'
$MYSQLTEST_VARDIR/im.cnf ;
--exec grep
"^bbb\$"
$MYSQLTEST_VARDIR/im.cnf ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^ccc
\>
' $MYSQLTEST_VARDIR/im.cnf ;
--exec grep '^ccc
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^ddd
\>
' $MYSQLTEST_VARDIR/im.cnf ;
--exec grep '^ddd
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
UNSET mysqld2.aaa, mysqld3.bbb, mysqld2.ccc, mysqld3.ddd;
UNSET mysqld2.aaa, mysqld3.bbb, mysqld2.ccc, mysqld3.ddd;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^aaa\>'
$MYSQLTEST_VARDIR/im.cnf || true;
--exec grep
"^aaa\$"
$MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^bbb\>'
$MYSQLTEST_VARDIR/im.cnf || true;
--exec grep
"^bbb\$"
$MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^ccc
\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^ccc
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^ddd
\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^ddd
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
# - check that if some instance name is invalid or the active is active,
# - check that if some instance name is invalid or the active is active,
...
@@ -161,22 +161,22 @@ UNSET mysqld2.aaa, mysqld3.bbb, mysqld2.ccc, mysqld3.ddd;
...
@@ -161,22 +161,22 @@ UNSET mysqld2.aaa, mysqld3.bbb, mysqld2.ccc, mysqld3.ddd;
SET mysqld2.aaa, mysqld3.bbb, mysqld.ccc = 0010;
SET mysqld2.aaa, mysqld3.bbb, mysqld.ccc = 0010;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^aaa\>'
$MYSQLTEST_VARDIR/im.cnf || true;
--exec grep
"^aaa\$"
$MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^bbb\>'
$MYSQLTEST_VARDIR/im.cnf || true;
--exec grep
"^bbb\$"
$MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^ccc
\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^ccc
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--error 3015 # ER_INSTANCE_IS_ACTIVE
--error 3015 # ER_INSTANCE_IS_ACTIVE
SET mysqld2.aaa, mysqld3.bbb, mysqld1.ccc = 0010;
SET mysqld2.aaa, mysqld3.bbb, mysqld1.ccc = 0010;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^aaa\>'
$MYSQLTEST_VARDIR/im.cnf || true;
--exec grep
"^aaa\$"
$MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^bbb\>'
$MYSQLTEST_VARDIR/im.cnf || true;
--exec grep
"^bbb\$"
$MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^ccc
\>
' $MYSQLTEST_VARDIR/im.cnf || true;
--exec grep '^ccc
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
# - check that if some instance name is invalid or the active is active,
# - check that if some instance name is invalid or the active is active,
...
@@ -186,14 +186,14 @@ SET mysqld2.aaa, mysqld3.bbb, mysqld1.ccc = 0010;
...
@@ -186,14 +186,14 @@ SET mysqld2.aaa, mysqld3.bbb, mysqld1.ccc = 0010;
UNSET mysqld2.server_id, mysqld3.server_id, mysqld.ccc;
UNSET mysqld2.server_id, mysqld3.server_id, mysqld.ccc;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^server_id
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^server_id
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--error 3015 # ER_INSTANCE_IS_ACTIVE
--error 3015 # ER_INSTANCE_IS_ACTIVE
UNSET mysqld2.server_id, mysqld3.server_id, mysqld1.ccc;
UNSET mysqld2.server_id, mysqld3.server_id, mysqld1.ccc;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^server_id
\>
' $MYSQLTEST_VARDIR/im.cnf;
--exec grep '^server_id
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
DROP INSTANCE mysqld3;
DROP INSTANCE mysqld3;
...
@@ -207,21 +207,21 @@ SET mysqld2 . server_id = 222 ;
...
@@ -207,21 +207,21 @@ SET mysqld2 . server_id = 222 ;
SET mysqld2 . server_id = 222 , mysqld2 . aaa , mysqld2 . bbb ;
SET mysqld2 . server_id = 222 , mysqld2 . aaa , mysqld2 . bbb ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^server_id
\>
' $MYSQLTEST_VARDIR/im.cnf ;
--exec grep '^server_id
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^aaa\>'
$MYSQLTEST_VARDIR/im.cnf ;
--exec grep
"^aaa\$"
$MYSQLTEST_VARDIR/im.cnf ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^bbb\>'
$MYSQLTEST_VARDIR/im.cnf ;
--exec grep
"^bbb\$"
$MYSQLTEST_VARDIR/im.cnf ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
UNSET mysqld2 . aaa , mysqld2 . bbb ;
UNSET mysqld2 . aaa , mysqld2 . bbb ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^server_id
\>
' $MYSQLTEST_VARDIR/im.cnf ;
--exec grep '^server_id
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^aaa\>'
$MYSQLTEST_VARDIR/im.cnf || true;
--exec grep
"^aaa\$"
$MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep
'^bbb\>'
$MYSQLTEST_VARDIR/im.cnf || true;
--exec grep
"^bbb\$"
$MYSQLTEST_VARDIR/im.cnf || true;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
###########################################################################
###########################################################################
...
@@ -235,7 +235,7 @@ UNSET mysqld2 . aaa , mysqld2 . bbb ;
...
@@ -235,7 +235,7 @@ UNSET mysqld2 . aaa , mysqld2 . bbb ;
# server_id=SERVER_ID for mysqld2);
# server_id=SERVER_ID for mysqld2);
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
--exec grep '^server_id
\>
' $MYSQLTEST_VARDIR/im.cnf ;
--exec grep '^server_id
[^a-zA-Z0-9_-]
' $MYSQLTEST_VARDIR/im.cnf ;
--echo --------------------------------------------------------------------
--echo --------------------------------------------------------------------
# - (for mysqld1) check that the running instance has not been affected:
# - (for mysqld1) check that the running instance has not been affected:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment