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
c8a6f30a
Commit
c8a6f30a
authored
Oct 04, 2007
by
tnurnberg@sin.intern.azundris.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into sin.intern.azundris.com:/home/tnurnberg/30444/50-30444
parents
81d65227
fee111cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
client/mysqldump.c
client/mysqldump.c
+12
-0
No files found.
client/mysqldump.c
View file @
c8a6f30a
...
...
@@ -3352,6 +3352,18 @@ static int start_transaction(MYSQL *mysql_con)
need the REPEATABLE READ level (not anything lower, for example READ
COMMITTED would give one new consistent read per dumped table).
*/
if
((
mysql_get_server_version
(
mysql_con
)
<
40100
)
&&
opt_master_data
)
{
fprintf
(
stderr
,
"-- %s: the combination of --single-transaction and "
"--master-data requires a MySQL server version of at least 4.1 "
"(current server's version is %s). %s
\n
"
,
ignore_errors
?
"Warning"
:
"Error"
,
mysql_con
->
server_version
?
mysql_con
->
server_version
:
"unknown"
,
ignore_errors
?
"Continuing due to --force, backup may not be consistent across all tables!"
:
"Aborting."
);
if
(
!
ignore_errors
)
exit
(
EX_MYSQLERR
);
}
return
(
mysql_query_with_error_report
(
mysql_con
,
0
,
"SET SESSION TRANSACTION ISOLATION "
"LEVEL REPEATABLE READ"
)
||
...
...
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