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
6b47e896
Commit
6b47e896
authored
Aug 13, 2014
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Basic test of slave_run_triggers_for_rbr variable added.
parent
2062c9a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
75 additions
and
0 deletions
+75
-0
mysql-test/suite/sys_vars/r/slave_run_triggers_for_rbr_basic.result
.../suite/sys_vars/r/slave_run_triggers_for_rbr_basic.result
+45
-0
mysql-test/suite/sys_vars/t/slave_run_triggers_for_rbr_basic.test
...st/suite/sys_vars/t/slave_run_triggers_for_rbr_basic.test
+30
-0
No files found.
mysql-test/suite/sys_vars/r/slave_run_triggers_for_rbr_basic.result
0 → 100644
View file @
6b47e896
SET @old_slave_run_triggers_for_rbr= @@global.slave_run_triggers_for_rbr;
SET @@global.slave_run_triggers_for_rbr= NO;
select @@global.slave_run_triggers_for_rbr;
@@global.slave_run_triggers_for_rbr
NO
SET @@global.slave_run_triggers_for_rbr= YES;
select @@global.slave_run_triggers_for_rbr;
@@global.slave_run_triggers_for_rbr
YES
SET @@global.slave_run_triggers_for_rbr= LOGGING;
select @@global.slave_run_triggers_for_rbr;
@@global.slave_run_triggers_for_rbr
LOGGING
SET @@global.slave_run_triggers_for_rbr= default;
select @@global.slave_run_triggers_for_rbr;
@@global.slave_run_triggers_for_rbr
NO
SET @@global.slave_run_triggers_for_rbr= 0;
select @@global.slave_run_triggers_for_rbr;
@@global.slave_run_triggers_for_rbr
NO
SET @@global.slave_run_triggers_for_rbr= 1;
select @@global.slave_run_triggers_for_rbr;
@@global.slave_run_triggers_for_rbr
YES
SET @@global.slave_run_triggers_for_rbr= 2;
select @@global.slave_run_triggers_for_rbr;
@@global.slave_run_triggers_for_rbr
LOGGING
SET @@global.slave_run_triggers_for_rbr= 3;
ERROR 42000: Variable 'slave_run_triggers_for_rbr' can't be set to the value of '3'
select @@global.slave_run_triggers_for_rbr;
@@global.slave_run_triggers_for_rbr
LOGGING
SET @@global.slave_run_triggers_for_rbr= "N";
ERROR 42000: Variable 'slave_run_triggers_for_rbr' can't be set to the value of 'N'
select @@global.slave_run_triggers_for_rbr;
@@global.slave_run_triggers_for_rbr
LOGGING
SET @@global.slave_run_triggers_for_rbr= -1;
ERROR 42000: Variable 'slave_run_triggers_for_rbr' can't be set to the value of '-1'
select @@global.slave_run_triggers_for_rbr;
@@global.slave_run_triggers_for_rbr
LOGGING
SET @@global.slave_run_triggers_for_rbr= @old_slave_run_triggers_for_rbr;
mysql-test/suite/sys_vars/t/slave_run_triggers_for_rbr_basic.test
0 → 100644
View file @
6b47e896
--
source
include
/
have_rbr_triggers
.
inc
SET
@
old_slave_run_triggers_for_rbr
=
@@
global
.
slave_run_triggers_for_rbr
;
SET
@@
global
.
slave_run_triggers_for_rbr
=
NO
;
select
@@
global
.
slave_run_triggers_for_rbr
;
SET
@@
global
.
slave_run_triggers_for_rbr
=
YES
;
select
@@
global
.
slave_run_triggers_for_rbr
;
SET
@@
global
.
slave_run_triggers_for_rbr
=
LOGGING
;
select
@@
global
.
slave_run_triggers_for_rbr
;
SET
@@
global
.
slave_run_triggers_for_rbr
=
default
;
select
@@
global
.
slave_run_triggers_for_rbr
;
SET
@@
global
.
slave_run_triggers_for_rbr
=
0
;
select
@@
global
.
slave_run_triggers_for_rbr
;
SET
@@
global
.
slave_run_triggers_for_rbr
=
1
;
select
@@
global
.
slave_run_triggers_for_rbr
;
SET
@@
global
.
slave_run_triggers_for_rbr
=
2
;
select
@@
global
.
slave_run_triggers_for_rbr
;
--
error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
slave_run_triggers_for_rbr
=
3
;
select
@@
global
.
slave_run_triggers_for_rbr
;
--
error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
slave_run_triggers_for_rbr
=
"N"
;
select
@@
global
.
slave_run_triggers_for_rbr
;
--
error
ER_WRONG_VALUE_FOR_VAR
SET
@@
global
.
slave_run_triggers_for_rbr
=
-
1
;
select
@@
global
.
slave_run_triggers_for_rbr
;
SET
@@
global
.
slave_run_triggers_for_rbr
=
@
old_slave_run_triggers_for_rbr
;
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