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
b0b002e4
Commit
b0b002e4
authored
Feb 21, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#14354 Partitions: data directory clause fails
- Use "system" to execute rm, mkdir etc - Use MYSQLTEST_VARDIR
parent
d35ba92a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
mysql-test/t/partition_mgm_err.test
mysql-test/t/partition_mgm_err.test
+9
-8
No files found.
mysql-test/t/partition_mgm_err.test
View file @
b0b002e4
...
...
@@ -171,19 +171,20 @@ DROP TABLE t1;
#
# BUG: 14354 Partitions: data directory clause fails
#
--
exec
rm
-
rf
$MYSQL_TEST_DIR
/
bug14354
--
exec
mkdir
$MYSQL_TEST_DIR
/
bug14354
--
system
rm
-
rf
$MYSQLTEST_VARDIR
/
tmp
/
bug14354
--
system
mkdir
$MYSQLTEST_VARDIR
/
tmp
/
bug14354
disable_query_log
;
eval
CREATE
TABLE
t1
(
id
int
)
PARTITION
BY
RANGE
(
id
)
(
PARTITION
p1
VALUES
LESS
THAN
(
20
)
ENGINE
=
myiasm
DATA
DIRECTORY
=
"
$MYSQL
_TEST_DIR
/bug14354"
INDEX
DIRECTORY
=
"
$MYSQL
_TEST_DIR
/bug14354"
);
PARTITION
p1
VALUES
LESS
THAN
(
20
)
ENGINE
=
myiasm
DATA
DIRECTORY
=
"
$MYSQL
TEST_VARDIR
/tmp/bug14354"
INDEX
DIRECTORY
=
"
$MYSQL
TEST_VARDIR
/tmp
/bug14354"
);
enable_query_log
;
INSERT
INTO
t1
VALUES
(
15
);
--
exec
test
-
f
$MYSQL_TEST_DIR
/
bug14354
/
t1
#P#p1.MYD
--
exec
test
-
f
$MYSQL_TEST_DIR
/
bug14354
/
t1
#P#p1.MYI
--
system
test
-
f
$MYSQLTEST_VARDIR
/
tmp
/
bug14354
/
t1
#P#p1.MYD
--
system
test
-
f
$MYSQLTEST_VARDIR
/
tmp
/
bug14354
/
t1
#P#p1.MYI
DROP
TABLE
t1
;
--
exec
rm
-
rf
$MYSQL_TEST_DIR
/
bug14354
--
system
rm
-
rf
$MYSQLTEST_VARDIR
/
tmp
/
bug14354
#
# Bug# 16534 - Trying to add multiple partitions crashes server
...
...
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