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
bf5140fb
Commit
bf5140fb
authored
Nov 24, 2010
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test failure when the mysql-test/ directory is not writable.
parent
b3ecd245
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
mysql-test/r/partition_binlog_stmt.result
mysql-test/r/partition_binlog_stmt.result
+1
-1
mysql-test/t/partition_binlog_stmt.test
mysql-test/t/partition_binlog_stmt.test
+4
-3
No files found.
mysql-test/r/partition_binlog_stmt.result
View file @
bf5140fb
...
@@ -8,6 +8,6 @@ name TINYBLOB NOT NULL,
...
@@ -8,6 +8,6 @@ name TINYBLOB NOT NULL,
modified TIMESTAMP DEFAULT '0000-00-00 00:00:00',
modified TIMESTAMP DEFAULT '0000-00-00 00:00:00',
INDEX namelocs (name(255))) ENGINE = MyISAM
INDEX namelocs (name(255))) ENGINE = MyISAM
PARTITION BY HASH(id) PARTITIONS 2;
PARTITION BY HASH(id) PARTITIONS 2;
LOAD DATA LOCAL INFILE 'init_file.txt'
LOAD DATA LOCAL INFILE '
MYSQLTEST_VARDIR/tmp/
init_file.txt'
INTO TABLE t1 (name);
INTO TABLE t1 (name);
DROP TABLE t1;
DROP TABLE t1;
mysql-test/t/partition_binlog_stmt.test
View file @
bf5140fb
...
@@ -8,7 +8,7 @@ DROP TABLE IF EXISTS t1;
...
@@ -8,7 +8,7 @@ DROP TABLE IF EXISTS t1;
--
echo
#
--
echo
#
--
echo
# Bug#51851: Server with SBR locks mutex twice on LOAD DATA into
--
echo
# Bug#51851: Server with SBR locks mutex twice on LOAD DATA into
--
echo
# partitioned MyISAM table
--
echo
# partitioned MyISAM table
--
write_file
init_file
.
txt
--
write_file
$MYSQLTEST_VARDIR
/
tmp
/
init_file
.
txt
abcd
abcd
EOF
EOF
...
@@ -19,8 +19,9 @@ CREATE TABLE t1
...
@@ -19,8 +19,9 @@ CREATE TABLE t1
INDEX
namelocs
(
name
(
255
)))
ENGINE
=
MyISAM
INDEX
namelocs
(
name
(
255
)))
ENGINE
=
MyISAM
PARTITION
BY
HASH
(
id
)
PARTITIONS
2
;
PARTITION
BY
HASH
(
id
)
PARTITIONS
2
;
LOAD
DATA
LOCAL
INFILE
'init_file.txt'
--
replace_result
$MYSQLTEST_VARDIR
MYSQLTEST_VARDIR
eval
LOAD
DATA
LOCAL
INFILE
'$MYSQLTEST_VARDIR/tmp/init_file.txt'
INTO
TABLE
t1
(
name
);
INTO
TABLE
t1
(
name
);
--
remove_file
init_file
.
txt
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
init_file
.
txt
DROP
TABLE
t1
;
DROP
TABLE
t1
;
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