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
0a57f241
Commit
0a57f241
authored
Jan 31, 2006
by
marty@linux.site
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable WL#1892 for binlog, wrong signature
parent
89aa7c27
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+3
-2
sql/ha_ndbcluster.h
sql/ha_ndbcluster.h
+3
-2
sql/ha_ndbcluster_binlog.cc
sql/ha_ndbcluster_binlog.cc
+1
-0
No files found.
sql/ha_ndbcluster.cc
View file @
0a57f241
...
@@ -468,7 +468,8 @@ void ha_ndbcluster::no_uncommitted_rows_reset(THD *thd)
...
@@ -468,7 +468,8 @@ void ha_ndbcluster::no_uncommitted_rows_reset(THD *thd)
int
int
ha_ndbcluster
::
invalidate_dictionary_cache
(
TABLE_SHARE
*
share
,
Ndb
*
ndb
,
ha_ndbcluster
::
invalidate_dictionary_cache
(
TABLE_SHARE
*
share
,
Ndb
*
ndb
,
const
char
*
tabname
,
bool
global
)
const
char
*
dbname
,
const
char
*
tabname
,
bool
global
)
{
{
NDBDICT
*
dict
=
ndb
->
getDictionary
();
NDBDICT
*
dict
=
ndb
->
getDictionary
();
DBUG_ENTER
(
"invalidate_dictionary_cache"
);
DBUG_ENTER
(
"invalidate_dictionary_cache"
);
...
@@ -512,7 +513,7 @@ ha_ndbcluster::invalidate_dictionary_cache(TABLE_SHARE *share, Ndb *ndb,
...
@@ -512,7 +513,7 @@ ha_ndbcluster::invalidate_dictionary_cache(TABLE_SHARE *share, Ndb *ndb,
void
ha_ndbcluster
::
invalidate_dictionary_cache
(
bool
global
)
void
ha_ndbcluster
::
invalidate_dictionary_cache
(
bool
global
)
{
{
NDBDICT
*
dict
=
get_ndb
()
->
getDictionary
();
NDBDICT
*
dict
=
get_ndb
()
->
getDictionary
();
if
(
invalidate_dictionary_cache
(
table_share
,
get_ndb
(),
m_tabname
,
global
))
if
(
invalidate_dictionary_cache
(
table_share
,
get_ndb
(),
m_
dbname
,
m_
tabname
,
global
))
return
;
return
;
/* Invalidate indexes */
/* Invalidate indexes */
for
(
uint
i
=
0
;
i
<
table_share
->
keys
;
i
++
)
for
(
uint
i
=
0
;
i
<
table_share
->
keys
;
i
++
)
...
...
sql/ha_ndbcluster.h
View file @
0a57f241
...
@@ -662,8 +662,9 @@ static void set_tabname(const char *pathname, char *tabname);
...
@@ -662,8 +662,9 @@ static void set_tabname(const char *pathname, char *tabname);
bool
check_if_incompatible_data
(
HA_CREATE_INFO
*
info
,
bool
check_if_incompatible_data
(
HA_CREATE_INFO
*
info
,
uint
table_changes
);
uint
table_changes
);
static
void
invalidate_dictionary_cache
(
TABLE_SHARE
*
share
,
Ndb
*
ndb
,
static
int
invalidate_dictionary_cache
(
TABLE_SHARE
*
share
,
Ndb
*
ndb
,
const
char
*
tabname
,
bool
global
);
const
char
*
dbname
,
const
char
*
tabname
,
bool
global
);
private:
private:
friend
int
ndbcluster_drop_database_impl
(
const
char
*
path
);
friend
int
ndbcluster_drop_database_impl
(
const
char
*
path
);
...
...
sql/ha_ndbcluster_binlog.cc
View file @
0a57f241
...
@@ -1236,6 +1236,7 @@ ndb_handle_schema_change(THD *thd, Ndb *ndb, NdbEventOperation *pOp,
...
@@ -1236,6 +1236,7 @@ ndb_handle_schema_change(THD *thd, Ndb *ndb, NdbEventOperation *pOp,
ndb
->
setDatabaseName
(
share
->
table
->
s
->
db
.
str
);
ndb
->
setDatabaseName
(
share
->
table
->
s
->
db
.
str
);
ha_ndbcluster
::
invalidate_dictionary_cache
(
share
->
table
->
s
,
ha_ndbcluster
::
invalidate_dictionary_cache
(
share
->
table
->
s
,
ndb
,
ndb
,
share
->
table
->
s
->
db
.
str
,
share
->
table
->
s
->
table_name
.
str
,
share
->
table
->
s
->
table_name
.
str
,
TRUE
);
TRUE
);
remote_drop_table
=
1
;
remote_drop_table
=
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