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
a487b879
Commit
a487b879
authored
Nov 22, 2004
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added --no-defaults to ndb_drop_table in autodiscover test
parent
31f5d69d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
mysql-test/t/ndb_autodiscover.test
mysql-test/t/ndb_autodiscover.test
+7
-7
No files found.
mysql-test/t/ndb_autodiscover.test
View file @
a487b879
...
@@ -199,7 +199,7 @@ insert into t4 values (1, "Automatic");
...
@@ -199,7 +199,7 @@ insert into t4 values (1, "Automatic");
select
*
from
t4
;
select
*
from
t4
;
# Remove the table from NDB
# Remove the table from NDB
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
d
test
t4
>
/
dev
/
null
;
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
-
no
-
defaults
-
d
test
t4
>
/
dev
/
null
;
#
#
# Test that correct error is returned
# Test that correct error is returned
...
@@ -230,7 +230,7 @@ select * from t4;
...
@@ -230,7 +230,7 @@ select * from t4;
flush
tables
;
flush
tables
;
# Remove the table from NDB
# Remove the table from NDB
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
d
test
t4
>
/
dev
/
null
;
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
-
no
-
defaults
-
d
test
t4
>
/
dev
/
null
;
SHOW
TABLES
;
SHOW
TABLES
;
...
@@ -264,8 +264,8 @@ insert into t8 values (8, "myisam table 8");
...
@@ -264,8 +264,8 @@ insert into t8 values (8, "myisam table 8");
insert
into
t9
values
(
9
);
insert
into
t9
values
(
9
);
# Remove t3, t5 from NDB
# Remove t3, t5 from NDB
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
d
test
t3
>
/
dev
/
null
;
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
-
no
-
defaults
-
d
test
t3
>
/
dev
/
null
;
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
d
test
t5
>
/
dev
/
null
;
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
-
no
-
defaults
-
d
test
t5
>
/
dev
/
null
;
# Remove t6, t7 from disk
# Remove t6, t7 from disk
system
rm
var
/
master
-
data
/
test
/
t6
.
frm
>
/
dev
/
null
;
system
rm
var
/
master
-
data
/
test
/
t6
.
frm
>
/
dev
/
null
;
system
rm
var
/
master
-
data
/
test
/
t7
.
frm
>
/
dev
/
null
;
system
rm
var
/
master
-
data
/
test
/
t7
.
frm
>
/
dev
/
null
;
...
@@ -306,8 +306,8 @@ insert into t8 values (8, "myisam table 8");
...
@@ -306,8 +306,8 @@ insert into t8 values (8, "myisam table 8");
insert
into
t9
values
(
9
);
insert
into
t9
values
(
9
);
# Remove t3, t5 from NDB
# Remove t3, t5 from NDB
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
d
test
t3
>
/
dev
/
null
;
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
-
no
-
defaults
-
d
test
t3
>
/
dev
/
null
;
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
d
test
t5
>
/
dev
/
null
;
system
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
-
no
-
defaults
-
d
test
t5
>
/
dev
/
null
;
# Remove t6, t7 from disk
# Remove t6, t7 from disk
system
rm
var
/
master
-
data
/
test
/
t6
.
frm
>
/
dev
/
null
;
system
rm
var
/
master
-
data
/
test
/
t6
.
frm
>
/
dev
/
null
;
system
rm
var
/
master
-
data
/
test
/
t7
.
frm
>
/
dev
/
null
;
system
rm
var
/
master
-
data
/
test
/
t7
.
frm
>
/
dev
/
null
;
...
@@ -479,4 +479,4 @@ create table t10 (
...
@@ -479,4 +479,4 @@ create table t10 (
insert
into
t10
values
(
1
,
'kalle'
);
insert
into
t10
values
(
1
,
'kalle'
);
--
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
d
test
`$NDB_TOOLS_DIR/ndb_show_table
s | grep BLOB`
>
/
dev
/
null
2
>&
1
||
true
--
exec
$NDB_TOOLS_DIR
/
ndb_drop_table
-
-
no
-
defaults
-
d
test
`$NDB_TOOLS_DIR/ndb_show_tables --no-default
s | grep BLOB`
>
/
dev
/
null
2
>&
1
||
true
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