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
e95e6ddc
Commit
e95e6ddc
authored
Apr 24, 2006
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for Bug #17840 mysqldump should not dump tables in database cluster, reuse existing define
parent
14d8fdb2
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 @
e95e6ddc
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
#include "mysql.h"
#include "mysql.h"
#include "mysql_version.h"
#include "mysql_version.h"
#include "mysqld_error.h"
#include "mysqld_error.h"
#include "sql/ha_ndbcluster_tables.h"
/* Exit codes */
/* Exit codes */
...
@@ -134,7 +135,6 @@ static CHARSET_INFO *charset_info= &my_charset_latin1;
...
@@ -134,7 +135,6 @@ static CHARSET_INFO *charset_info= &my_charset_latin1;
const
char
*
default_dbug_option
=
"d:t:o,/tmp/mysqldump.trace"
;
const
char
*
default_dbug_option
=
"d:t:o,/tmp/mysqldump.trace"
;
/* do we met VIEWs during tables scaning */
/* do we met VIEWs during tables scaning */
my_bool
was_views
=
0
;
my_bool
was_views
=
0
;
const
char
*
cluster_db
=
"cluster"
;
const
char
*
compatible_mode_names
[]
=
const
char
*
compatible_mode_names
[]
=
{
{
"MYSQL323"
,
"MYSQL40"
,
"POSTGRESQL"
,
"ORACLE"
,
"MSSQL"
,
"DB2"
,
"MYSQL323"
,
"MYSQL40"
,
"POSTGRESQL"
,
"ORACLE"
,
"MSSQL"
,
"DB2"
,
...
@@ -2937,7 +2937,7 @@ static int dump_all_tables_in_db(char *database)
...
@@ -2937,7 +2937,7 @@ static int dump_all_tables_in_db(char *database)
afterdot
=
strmov
(
hash_key
,
database
);
afterdot
=
strmov
(
hash_key
,
database
);
*
afterdot
++=
'.'
;
*
afterdot
++=
'.'
;
if
(
!
strcmp
(
database
,
cluster_db
))
/* Skip cluster internal database */
if
(
!
strcmp
(
database
,
NDB_REP_DB
))
/* Skip cluster internal database */
return
0
;
return
0
;
if
(
init_dumping
(
database
))
if
(
init_dumping
(
database
))
return
1
;
return
1
;
...
...
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