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
f4d93f41
Commit
f4d93f41
authored
Dec 19, 2007
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use absolute path to allow tets to be run also when datadir differs
parent
85047bba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
mysql-test/extra/rpl_tests/rpl_row_001.test
mysql-test/extra/rpl_tests/rpl_row_001.test
+5
-3
mysql-test/suite/rpl/r/rpl_row_001.result
mysql-test/suite/rpl/r/rpl_row_001.result
+2
-2
mysql-test/suite/rpl_ndb/r/rpl_ndb_row_001.result
mysql-test/suite/rpl_ndb/r/rpl_ndb_row_001.result
+2
-2
No files found.
mysql-test/extra/rpl_tests/rpl_row_001.test
View file @
f4d93f41
let
$LOAD_FILE
=
$MYSQLTEST_VARDIR
/
std_data
/
words
.
dat
;
CREATE
TABLE
t1
(
word
CHAR
(
20
)
NOT
NULL
);
CREATE
TABLE
t1
(
word
CHAR
(
20
)
NOT
NULL
);
LOAD
DATA
INFILE
'../../std_data/words.dat'
INTO
TABLE
t1
;
--
replace_result
$LOAD_FILE
LOAD_FILE
--
replace_result
$MYSQL_TEST_DIR
MYSQL_TEST_DIR
eval
LOAD
DATA
INFILE
'$LOAD_FILE'
INTO
TABLE
t1
;
eval
LOAD
DATA
LOCAL
INFILE
'$MYSQL_TEST_DIR/std_data/words.dat'
INTO
TABLE
t1
;
--
replace_result
$LOAD_FILE
LOAD_FILE
eval
LOAD
DATA
INFILE
'$LOAD_FILE'
INTO
TABLE
t1
;
SELECT
*
FROM
t1
ORDER
BY
word
LIMIT
10
;
SELECT
*
FROM
t1
ORDER
BY
word
LIMIT
10
;
#
#
...
...
mysql-test/suite/rpl/r/rpl_row_001.result
View file @
f4d93f41
...
@@ -5,8 +5,8 @@ reset slave;
...
@@ -5,8 +5,8 @@ reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
start slave;
CREATE TABLE t1 (word CHAR(20) NOT NULL);
CREATE TABLE t1 (word CHAR(20) NOT NULL);
LOAD DATA INFILE '
../../std_data/words.dat
' INTO TABLE t1;
LOAD DATA INFILE '
LOAD_FILE
' INTO TABLE t1;
LOAD DATA
LOCAL INFILE 'MYSQL_TEST_DIR/std_data/words.dat
' INTO TABLE t1;
LOAD DATA
INFILE 'LOAD_FILE
' INTO TABLE t1;
SELECT * FROM t1 ORDER BY word LIMIT 10;
SELECT * FROM t1 ORDER BY word LIMIT 10;
word
word
Aarhus
Aarhus
...
...
mysql-test/suite/rpl_ndb/r/rpl_ndb_row_001.result
View file @
f4d93f41
...
@@ -5,8 +5,8 @@ reset slave;
...
@@ -5,8 +5,8 @@ reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
start slave;
CREATE TABLE t1 (word CHAR(20) NOT NULL);
CREATE TABLE t1 (word CHAR(20) NOT NULL);
LOAD DATA INFILE '
../../../std_data/words.dat
' INTO TABLE t1;
LOAD DATA INFILE '
LOAD_FILE
' INTO TABLE t1;
LOAD DATA
LOCAL INFILE 'MYSQL_TEST_DIR/std_data/words.dat
' INTO TABLE t1;
LOAD DATA
INFILE 'LOAD_FILE
' INTO TABLE t1;
SELECT * FROM t1 ORDER BY word LIMIT 10;
SELECT * FROM t1 ORDER BY word LIMIT 10;
word
word
Aarhus
Aarhus
...
...
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