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
b18b07e6
Commit
b18b07e6
authored
Nov 18, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using new error code HA_ERR_TABLE_DEF_CHANGED to signal wrong schema version of table
parent
fe50343e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
mysql-test/t/ndb_alter_table.test
mysql-test/t/ndb_alter_table.test
+1
-1
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+1
-2
No files found.
mysql-test/t/ndb_alter_table.test
View file @
b18b07e6
...
...
@@ -152,7 +152,7 @@ connection server1;
alter
table
t1
drop
index
c
;
connection
server2
;
# This should fail since index information is not automatically refreshed
--
error
1
105
--
error
1
412
select
*
from
t1
where
b
=
'two'
;
select
*
from
t1
where
b
=
'two'
;
connection
server1
;
...
...
sql/ha_ndbcluster.cc
View file @
b18b07e6
...
...
@@ -3342,8 +3342,7 @@ int ha_ndbcluster::external_lock(THD *thd, int lock_type)
/*
The table has been altered, caller has to retry
*/
NdbError
err
=
ndb
->
getNdbError
(
NDB_INVALID_SCHEMA_OBJECT
);
DBUG_RETURN
(
ndb_to_mysql_error
(
&
err
));
DBUG_RETURN
(
my_errno
=
HA_ERR_TABLE_DEF_CHANGED
);
}
m_table_info
=
tab_info
;
}
...
...
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