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
704284d4
Commit
704284d4
authored
Jan 06, 2004
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysqldump.c:
Fix for UNLOCK TABLES bug #2242
parent
2ea2d157
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
client/mysqldump.c
client/mysqldump.c
+2
-2
No files found.
client/mysqldump.c
View file @
704284d4
...
...
@@ -1389,7 +1389,7 @@ static int dump_all_tables_in_db(char *database)
if
(
opt_xml
)
fprintf
(
md_result_file
,
"</database>
\n
"
);
if
(
lock_tables
)
mysql_query
(
sock
,
"UNLOCK
_
TABLES"
);
mysql_query
(
sock
,
"UNLOCK
TABLES"
);
return
0
;
}
/* dump_all_tables_in_db */
...
...
@@ -1435,7 +1435,7 @@ static int dump_selected_tables(char *db, char **table_names, int tables)
if
(
opt_xml
)
fprintf
(
md_result_file
,
"</database>
\n
"
);
if
(
lock_tables
)
mysql_query
(
sock
,
"UNLOCK
_
TABLES"
);
mysql_query
(
sock
,
"UNLOCK
TABLES"
);
return
0
;
}
/* dump_selected_tables */
...
...
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