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
4933a62a
Commit
4933a62a
authored
Dec 20, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update path to the load_file
mysql-test/include/wait_show_pattern.inc: Guard against ' in $result
parent
b981448e
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
6 deletions
+11
-6
mysql-test/extra/rpl_tests/rpl_log.test
mysql-test/extra/rpl_tests/rpl_log.test
+6
-1
mysql-test/include/wait_show_pattern.inc
mysql-test/include/wait_show_pattern.inc
+1
-1
mysql-test/suite/rpl/r/rpl_row_log.result
mysql-test/suite/rpl/r/rpl_row_log.result
+1
-1
mysql-test/suite/rpl/r/rpl_row_log_innodb.result
mysql-test/suite/rpl/r/rpl_row_log_innodb.result
+1
-1
mysql-test/suite/rpl/r/rpl_stm_log.result
mysql-test/suite/rpl/r/rpl_stm_log.result
+1
-1
mysql-test/suite/rpl_ndb/r/rpl_ndb_log.result
mysql-test/suite/rpl_ndb/r/rpl_ndb_log.result
+1
-1
No files found.
mysql-test/extra/rpl_tests/rpl_log.test
View file @
4933a62a
...
...
@@ -32,8 +32,13 @@ reset master;
eval
create
table
t1
(
n
int
not
null
auto_increment
primary
key
)
ENGINE
=
$engine_type
;
insert
into
t1
values
(
NULL
);
drop
table
t1
;
let
$LOAD_FILE
=
../../
std_data
/
words
.
dat
;
if
(
!
`SELECT length(load_file('$LOAD_FILE'))`
){
let
$LOAD_FILE
=
../
$LOAD_FILE
;
}
eval
create
table
t1
(
word
char
(
20
)
not
null
)
ENGINE
=
$engine_type
;
load
data
infile
'../../std_data/words.dat'
into
table
t1
ignore
1
lines
;
--
replace_result
$LOAD_FILE
LOAD_FILE
eval
load
data
infile
'$LOAD_FILE'
into
table
t1
ignore
1
lines
;
select
count
(
*
)
from
t1
;
--
replace_result
$VERSION
VERSION
--
replace_column
2
# 5 #
...
...
mysql-test/include/wait_show_pattern.inc
View file @
4933a62a
...
...
@@ -32,7 +32,7 @@ let $wait_counter= 150;
while
(
$wait_counter
)
{
let
$result
=
`SHOW $show_type`
;
let
$success
=
`SELECT
'$result'
LIKE $show_pattern`
;
let
$success
=
`SELECT
"$result"
LIKE $show_pattern`
;
if
(
$success
)
{
let
$wait_counter
=
0
;
...
...
mysql-test/suite/rpl/r/rpl_row_log.result
View file @
4933a62a
...
...
@@ -12,7 +12,7 @@ create table t1(n int not null auto_increment primary key)ENGINE=MyISAM;
insert into t1 values (NULL);
drop table t1;
create table t1 (word char(20) not null)ENGINE=MyISAM;
load data infile '
../../std_data/words.dat
' into table t1 ignore 1 lines;
load data infile '
LOAD_FILE
' into table t1 ignore 1 lines;
select count(*) from t1;
count(*)
69
...
...
mysql-test/suite/rpl/r/rpl_row_log_innodb.result
View file @
4933a62a
...
...
@@ -12,7 +12,7 @@ create table t1(n int not null auto_increment primary key)ENGINE=InnoDB;
insert into t1 values (NULL);
drop table t1;
create table t1 (word char(20) not null)ENGINE=InnoDB;
load data infile '
../../std_data/words.dat
' into table t1 ignore 1 lines;
load data infile '
LOAD_FILE
' into table t1 ignore 1 lines;
select count(*) from t1;
count(*)
69
...
...
mysql-test/suite/rpl/r/rpl_stm_log.result
View file @
4933a62a
...
...
@@ -12,7 +12,7 @@ create table t1(n int not null auto_increment primary key)ENGINE=MyISAM;
insert into t1 values (NULL);
drop table t1;
create table t1 (word char(20) not null)ENGINE=MyISAM;
load data infile '
../../std_data/words.dat
' into table t1 ignore 1 lines;
load data infile '
LOAD_FILE
' into table t1 ignore 1 lines;
select count(*) from t1;
count(*)
69
...
...
mysql-test/suite/rpl_ndb/r/rpl_ndb_log.result
View file @
4933a62a
...
...
@@ -12,7 +12,7 @@ create table t1(n int not null auto_increment primary key)ENGINE=NDB;
insert into t1 values (NULL);
drop table t1;
create table t1 (word char(20) not null)ENGINE=NDB;
load data infile '
../../../std_data/words.dat
' into table t1 ignore 1 lines;
load data infile '
LOAD_FILE
' into table t1 ignore 1 lines;
select count(*) from t1;
count(*)
69
...
...
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