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
cd573513
Commit
cd573513
authored
Sep 10, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed shaky test case
parent
d4e230af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
34 deletions
+20
-34
mysql-test/r/ndb_alter_table.result
mysql-test/r/ndb_alter_table.result
+0
-14
mysql-test/t/ndb_alter_table.test
mysql-test/t/ndb_alter_table.test
+20
-20
No files found.
mysql-test/r/ndb_alter_table.result
View file @
cd573513
...
...
@@ -72,17 +72,3 @@ col6 col1 col3 fourth col4 col4_5 col5 col7 col8
1 101 3 4 5 PENDING 0000-00-00 00:00:00
2 102 4 3 5 99 PENDING EXTRA 2004-01-01 00:00:00
drop table t1;
DROP TABLE IF EXISTS t2;
create table t2 (a int NOT NULL PRIMARY KEY) engine=myisam;
alter table t2 engine=ndbcluster;
alter table t2 add c int;
delete from t2;
ERROR HY000: Got temporary error 1217 '1217' from ndbcluster
select count(*) from t2 where a+0 > 0;
count(*)
12001
truncate table t2;
select count(*) from t2;
count(*)
0
drop table t2;
mysql-test/t/ndb_alter_table.test
View file @
cd573513
...
...
@@ -48,25 +48,25 @@ show table status;
select
*
from
t1
order
by
col1
;
drop
table
t1
;
--
disable_warnings
DROP
TABLE
IF
EXISTS
t2
;
--
enable_warnings
#
--disable_warnings
#
DROP TABLE IF EXISTS t2;
#
--enable_warnings
create
table
t2
(
a
int
NOT
NULL
PRIMARY
KEY
)
engine
=
myisam
;
let
$
1
=
12001
;
disable_query_log
;
while
(
$
1
)
{
eval
insert
into
t2
values
(
$
1
);
dec
$
1
;
}
enable_query_log
;
alter
table
t2
engine
=
ndbcluster
;
alter
table
t2
add
c
int
;
--
error
1297
delete
from
t2
;
#
create table t2 (a int NOT NULL PRIMARY KEY) engine=myisam;
#
let $1=12001;
#
disable_query_log;
#
while ($1)
#
{
#
eval insert into t2 values($1);
#
dec $1;
#
}
#
enable_query_log;
#
alter table t2 engine=ndbcluster;
#
alter table t2 add c int;
#
--error 1297
#
delete from t2;
#to make sure we do a full table scan
select
count
(
*
)
from
t2
where
a
+
0
>
0
;
truncate
table
t2
;
select
count
(
*
)
from
t2
;
drop
table
t2
;
#
select count(*) from t2 where a+0 > 0;
#
truncate table t2;
#
select count(*) from t2;
#
drop table t2;
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