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
6c266a9d
Commit
6c266a9d
authored
Apr 09, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#35943 Failure to create mysql.ndb_schema shoudl not be logged if tabe already exist
parent
f4661f34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_binlog.cc
+4
-2
No files found.
sql/ha_ndbcluster_binlog.cc
View file @
6c266a9d
...
@@ -815,9 +815,10 @@ static int ndbcluster_create_ndb_apply_status_table(THD *thd)
...
@@ -815,9 +815,10 @@ static int ndbcluster_create_ndb_apply_status_table(THD *thd)
" end_pos BIGINT UNSIGNED NOT NULL, "
" end_pos BIGINT UNSIGNED NOT NULL, "
" PRIMARY KEY USING HASH (server_id) ) ENGINE=NDB CHARACTER SET latin1"
);
" PRIMARY KEY USING HASH (server_id) ) ENGINE=NDB CHARACTER SET latin1"
);
const
int
no_print_error
[
5
]
=
{
ER_TABLE_EXISTS_ERROR
,
const
int
no_print_error
[
6
]
=
{
ER_TABLE_EXISTS_ERROR
,
701
,
701
,
702
,
702
,
721
,
// Table already exist
4009
,
4009
,
0
};
// do not print error 701 etc
0
};
// do not print error 701 etc
run_query
(
thd
,
buf
,
end
,
no_print_error
,
TRUE
);
run_query
(
thd
,
buf
,
end
,
no_print_error
,
TRUE
);
...
@@ -876,9 +877,10 @@ static int ndbcluster_create_schema_table(THD *thd)
...
@@ -876,9 +877,10 @@ static int ndbcluster_create_schema_table(THD *thd)
" type INT UNSIGNED NOT NULL,"
" type INT UNSIGNED NOT NULL,"
" PRIMARY KEY USING HASH (db,name) ) ENGINE=NDB CHARACTER SET latin1"
);
" PRIMARY KEY USING HASH (db,name) ) ENGINE=NDB CHARACTER SET latin1"
);
const
int
no_print_error
[
5
]
=
{
ER_TABLE_EXISTS_ERROR
,
const
int
no_print_error
[
6
]
=
{
ER_TABLE_EXISTS_ERROR
,
701
,
701
,
702
,
702
,
721
,
// Table already exist
4009
,
4009
,
0
};
// do not print error 701 etc
0
};
// do not print error 701 etc
run_query
(
thd
,
buf
,
end
,
no_print_error
,
TRUE
);
run_query
(
thd
,
buf
,
end
,
no_print_error
,
TRUE
);
...
...
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