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
db4c9754
Commit
db4c9754
authored
Mar 31, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoiding SESSION with debug, since it does not work in valgrind
parent
1139dde7
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 @
db4c9754
...
...
@@ -13,9 +13,9 @@ a
2
3
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);
SET
SESSION
debug=@saved;
SET
GLOBAL
debug=@saved;
SELECT * FROM t1;
a
1
...
...
mysql-test/t/rpl_incident.test
View file @
db4c9754
...
...
@@ -8,12 +8,12 @@ INSERT INTO t1 VALUES (1),(2),(3);
SELECT
*
FROM
t1
;
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
# log before the replace statement.
REPLACE
INTO
t1
VALUES
(
4
);
SET
SESSION
debug
=@
saved
;
SET
GLOBAL
debug
=@
saved
;
--
save_master_pos
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