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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
dd1ef14c
Commit
dd1ef14c
authored
Mar 31, 2007
by
lars/lthalmann@mysql.com/dl145h.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoiding SESSION with debug, since it does not work in valgrind
parent
2f0ecd6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/r/rpl_incident.result
mysql-test/r/rpl_incident.result
+2
-2
mysql-test/t/rpl_incident.test
mysql-test/t/rpl_incident.test
+2
-2
No files found.
mysql-test/r/rpl_incident.result
View file @
dd1ef14c
...
@@ -13,9 +13,9 @@ a
...
@@ -13,9 +13,9 @@ a
2
2
3
3
SET @saved = @@debug;
SET @saved = @@debug;
SET
SESSION
debug="d,incident_database_resync_on_replace";
SET
GLOBAL
debug="d,incident_database_resync_on_replace";
REPLACE INTO t1 VALUES (4);
REPLACE INTO t1 VALUES (4);
SET
SESSION
debug=@saved;
SET
GLOBAL
debug=@saved;
SELECT * FROM t1;
SELECT * FROM t1;
a
a
1
1
...
...
mysql-test/t/rpl_incident.test
View file @
dd1ef14c
...
@@ -8,12 +8,12 @@ INSERT INTO t1 VALUES (1),(2),(3);
...
@@ -8,12 +8,12 @@ INSERT INTO t1 VALUES (1),(2),(3);
SELECT
*
FROM
t1
;
SELECT
*
FROM
t1
;
SET
@
saved
=
@@
debug
;
SET
@
saved
=
@@
debug
;
SET
SESSION
debug
=
"d,incident_database_resync_on_replace"
;
SET
GLOBAL
debug
=
"d,incident_database_resync_on_replace"
;
# This will generate an incident log event and store it in the binary
# This will generate an incident log event and store it in the binary
# log before the replace statement.
# log before the replace statement.
REPLACE
INTO
t1
VALUES
(
4
);
REPLACE
INTO
t1
VALUES
(
4
);
SET
SESSION
debug
=@
saved
;
SET
GLOBAL
debug
=@
saved
;
--
save_master_pos
--
save_master_pos
SELECT
*
FROM
t1
;
SELECT
*
FROM
t1
;
...
...
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