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
8c73ef09
Commit
8c73ef09
authored
Jan 31, 2006
by
mskold@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated tests for WL#1892
parent
0a57f241
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
mysql-test/r/ndb_alter_table_row.result
mysql-test/r/ndb_alter_table_row.result
+2
-0
mysql-test/r/ndb_alter_table_stm.result
mysql-test/r/ndb_alter_table_stm.result
+1
-1
mysql-test/t/ndb_alter_table_row.test
mysql-test/t/ndb_alter_table_row.test
+3
-0
mysql-test/t/ndb_alter_table_stm.test
mysql-test/t/ndb_alter_table_stm.test
+1
-1
No files found.
mysql-test/r/ndb_alter_table_row.result
View file @
8c73ef09
...
@@ -8,6 +8,8 @@ a b c
...
@@ -8,6 +8,8 @@ a b c
2 two two
2 two two
alter table t1 drop index c;
alter table t1 drop index c;
select * from t1 where c = 'two';
select * from t1 where c = 'two';
ERROR HY000: Table definition has changed, please retry transaction
select * from t1 where c = 'two';
a b c
a b c
2 two two
2 two two
drop table t1;
drop table t1;
...
...
mysql-test/r/ndb_alter_table_stm.result
View file @
8c73ef09
...
@@ -8,7 +8,7 @@ a b c
...
@@ -8,7 +8,7 @@ a b c
2 two two
2 two two
alter table t1 drop index c;
alter table t1 drop index c;
select * from t1 where c = 'two';
select * from t1 where c = 'two';
ERROR HY000:
Can't lock file (errno: 159)
ERROR HY000:
Table definition has changed, please retry transaction
select * from t1 where c = 'two';
select * from t1 where c = 'two';
a b c
a b c
2 two two
2 two two
...
...
mysql-test/t/ndb_alter_table_row.test
View file @
8c73ef09
...
@@ -17,6 +17,9 @@ select * from t1 where c = 'two';
...
@@ -17,6 +17,9 @@ select * from t1 where c = 'two';
connection
server1
;
connection
server1
;
alter
table
t1
drop
index
c
;
alter
table
t1
drop
index
c
;
connection
server2
;
connection
server2
;
--
error
1412
select
*
from
t1
where
c
=
'two'
;
--
sleep
5
select
*
from
t1
where
c
=
'two'
;
select
*
from
t1
where
c
=
'two'
;
connection
server1
;
connection
server1
;
drop
table
t1
;
drop
table
t1
;
...
...
mysql-test/t/ndb_alter_table_stm.test
View file @
8c73ef09
...
@@ -17,7 +17,7 @@ select * from t1 where c = 'two';
...
@@ -17,7 +17,7 @@ select * from t1 where c = 'two';
connection
server1
;
connection
server1
;
alter
table
t1
drop
index
c
;
alter
table
t1
drop
index
c
;
connection
server2
;
connection
server2
;
--
error
1
015
--
error
1
412
select
*
from
t1
where
c
=
'two'
;
select
*
from
t1
where
c
=
'two'
;
select
*
from
t1
where
c
=
'two'
;
select
*
from
t1
where
c
=
'two'
;
connection
server1
;
connection
server1
;
...
...
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