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
be3371d3
Commit
be3371d3
authored
Apr 11, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop all tables before test case ends
parent
5ffa7d2f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
mysql-test/suite/ndb/r/ndb_read_multi_range.result
mysql-test/suite/ndb/r/ndb_read_multi_range.result
+1
-1
mysql-test/suite/ndb/r/ndb_single_user.result
mysql-test/suite/ndb/r/ndb_single_user.result
+2
-2
mysql-test/suite/ndb/t/ndb_read_multi_range.test
mysql-test/suite/ndb/t/ndb_read_multi_range.test
+1
-1
mysql-test/suite/ndb/t/ndb_single_user.test
mysql-test/suite/ndb/t/ndb_single_user.test
+3
-2
No files found.
mysql-test/suite/ndb/r/ndb_read_multi_range.result
View file @
be3371d3
...
@@ -491,4 +491,4 @@ select * from t2 order by id;
...
@@ -491,4 +491,4 @@ select * from t2 order by id;
id
id
3
3
drop trigger kaboom;
drop trigger kaboom;
drop table t1;
drop table t1
, t2
;
mysql-test/suite/ndb/r/ndb_single_user.result
View file @
be3371d3
use test;
drop table if exists t1,t2;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9,t10;
create table t1 (a int key, b int unique, c int) engine ndb;
create table t1 (a int key, b int unique, c int) engine ndb;
ERROR HY000: Can't create table 'test.t1' (errno: 299)
ERROR HY000: Can't create table 'test.t1' (errno: 299)
CREATE LOGFILE GROUP lg1
CREATE LOGFILE GROUP lg1
...
@@ -85,6 +84,7 @@ update t1 set b=b+100 where a > 7;
...
@@ -85,6 +84,7 @@ update t1 set b=b+100 where a > 7;
delete from t1;
delete from t1;
insert into t1 select * from t2;
insert into t1 select * from t2;
create unique index new_index on t1 (b,c);
create unique index new_index on t1 (b,c);
drop table t2;
drop table t1;
drop table t1;
ERROR 42S02: Unknown table 't1'
ERROR 42S02: Unknown table 't1'
create index new_index_fail on t1 (c);
create index new_index_fail on t1 (c);
...
...
mysql-test/suite/ndb/t/ndb_read_multi_range.test
View file @
be3371d3
...
@@ -337,4 +337,4 @@ delete from t1 where id in (1,2);
...
@@ -337,4 +337,4 @@ delete from t1 where id in (1,2);
select
*
from
t2
order
by
id
;
select
*
from
t2
order
by
id
;
drop
trigger
kaboom
;
drop
trigger
kaboom
;
drop
table
t1
;
drop
table
t1
,
t2
;
mysql-test/suite/ndb/t/ndb_single_user.test
View file @
be3371d3
...
@@ -3,8 +3,7 @@
...
@@ -3,8 +3,7 @@
--
source
include
/
not_embedded
.
inc
--
source
include
/
not_embedded
.
inc
--
disable_warnings
--
disable_warnings
use
test
;
drop
table
if
exists
t1
,
t2
;
drop
table
if
exists
t1
,
t2
,
t3
,
t4
,
t5
,
t6
,
t7
,
t8
,
t9
,
t10
;
--
enable_warnings
--
enable_warnings
# operations allowed while cluster is in single user mode
# operations allowed while cluster is in single user mode
...
@@ -103,6 +102,8 @@ insert into t1 select * from t2;
...
@@ -103,6 +102,8 @@ insert into t1 select * from t2;
# - prior to bugfix this would fail
# - prior to bugfix this would fail
create
unique
index
new_index
on
t1
(
b
,
c
);
create
unique
index
new_index
on
t1
(
b
,
c
);
drop
table
t2
;
# test some sql on other mysqld
# test some sql on other mysqld
--
connection
server2
--
connection
server2
--
error
1051
--
error
1051
...
...
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