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
970aa54b
Commit
970aa54b
authored
Feb 01, 2006
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mysqldump crash when encountering a VIEW (when used against a
5.0 or later server, obviously). (Bug #16389)
parent
f7ff3d65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
client/mysqldump.c
client/mysqldump.c
+5
-2
No files found.
client/mysqldump.c
View file @
970aa54b
...
...
@@ -2557,7 +2557,10 @@ static const char *check_if_ignore_table(const char *table_name)
mysql_free_result
(
res
);
return
0
;
/* assume table is ok */
}
if
(
strcmp
(
row
[
1
],
(
result
=
"MRG_MyISAM"
))
&&
/* Some forward-compatibility: don't dump data from a VIEW */
if
(
!
row
[
1
])
result
=
"VIEW"
;
else
if
(
strcmp
(
row
[
1
],
(
result
=
"MRG_MyISAM"
))
&&
strcmp
(
row
[
1
],
(
result
=
"MRG_ISAM"
)))
result
=
0
;
mysql_free_result
(
res
);
...
...
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