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
adab17b9
Commit
adab17b9
authored
Oct 14, 2009
by
He Zhenxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to fix Windows testcase output issue
parent
bf0aa2bd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
+16
-12
mysql-test/suite/binlog/r/binlog_row_mysqlbinlog_verbose.result
...test/suite/binlog/r/binlog_row_mysqlbinlog_verbose.result
+8
-8
mysql-test/suite/binlog/t/binlog_row_mysqlbinlog_verbose.test
...l-test/suite/binlog/t/binlog_row_mysqlbinlog_verbose.test
+8
-4
No files found.
mysql-test/suite/binlog/r/binlog_row_mysqlbinlog_verbose.result
View file @
adab17b9
Verbose statements from : write-partial-row.binlog
Verbose statements from : write-partial-row.binlog
select
tx
t from raw_binlog_rows where txt like '###%';
select
replace(txt,'\r', '') as stm
t from raw_binlog_rows where txt like '###%';
tx
t
stm
t
### INSERT INTO mysql.ndb_apply_status
### INSERT INTO mysql.ndb_apply_status
### SET
### SET
### @1=1
### @1=1
...
@@ -37,8 +37,8 @@ txt
...
@@ -37,8 +37,8 @@ txt
### @1=2
### @1=2
drop table raw_binlog_rows;
drop table raw_binlog_rows;
Verbose statements from : write-full-row.binlog
Verbose statements from : write-full-row.binlog
select
tx
t from raw_binlog_rows where txt like '###%';
select
replace(txt,'\r', '') as stm
t from raw_binlog_rows where txt like '###%';
tx
t
stm
t
### INSERT INTO mysql.ndb_apply_status
### INSERT INTO mysql.ndb_apply_status
### SET
### SET
### @1=2
### @1=2
...
@@ -76,8 +76,8 @@ txt
...
@@ -76,8 +76,8 @@ txt
### @1=2
### @1=2
drop table raw_binlog_rows;
drop table raw_binlog_rows;
Verbose statements from : update-partial-row.binlog
Verbose statements from : update-partial-row.binlog
select
tx
t from raw_binlog_rows where txt like '###%';
select
replace(txt,'\r', '') as stm
t from raw_binlog_rows where txt like '###%';
tx
t
stm
t
### INSERT INTO mysql.ndb_apply_status
### INSERT INTO mysql.ndb_apply_status
### SET
### SET
### @1=3
### @1=3
...
@@ -117,8 +117,8 @@ txt
...
@@ -117,8 +117,8 @@ txt
### @1=2
### @1=2
drop table raw_binlog_rows;
drop table raw_binlog_rows;
Verbose statements from : update-full-row.binlog
Verbose statements from : update-full-row.binlog
select
tx
t from raw_binlog_rows where txt like '###%';
select
replace(txt,'\r', '') as stm
t from raw_binlog_rows where txt like '###%';
tx
t
stm
t
### INSERT INTO mysql.ndb_apply_status
### INSERT INTO mysql.ndb_apply_status
### SET
### SET
### @1=4
### @1=4
...
...
mysql-test/suite/binlog/t/binlog_row_mysqlbinlog_verbose.test
View file @
adab17b9
...
@@ -45,7 +45,8 @@ create table raw_binlog_rows (txt varchar(1000));
...
@@ -45,7 +45,8 @@ create table raw_binlog_rows (txt varchar(1000));
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_verbose
.
sql
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_verbose
.
sql
--
enable_query_log
--
enable_query_log
--
echo
Verbose
statements
from
:
$binlog_file
--
echo
Verbose
statements
from
:
$binlog_file
select
txt
from
raw_binlog_rows
where
txt
like
'###%'
;
# Output --verbose lines, with extra Windows CR's trimmed
select
replace
(
txt
,
'\r'
,
''
)
as
stmt
from
raw_binlog_rows
where
txt
like
'###%'
;
drop
table
raw_binlog_rows
;
drop
table
raw_binlog_rows
;
--
disable_query_log
--
disable_query_log
...
@@ -56,7 +57,8 @@ create table raw_binlog_rows (txt varchar(1000));
...
@@ -56,7 +57,8 @@ create table raw_binlog_rows (txt varchar(1000));
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_verbose
.
sql
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_verbose
.
sql
--
enable_query_log
--
enable_query_log
--
echo
Verbose
statements
from
:
$binlog_file
--
echo
Verbose
statements
from
:
$binlog_file
select
txt
from
raw_binlog_rows
where
txt
like
'###%'
;
# Output --verbose lines, with extra Windows CR's trimmed
select
replace
(
txt
,
'\r'
,
''
)
as
stmt
from
raw_binlog_rows
where
txt
like
'###%'
;
drop
table
raw_binlog_rows
;
drop
table
raw_binlog_rows
;
--
disable_query_log
--
disable_query_log
...
@@ -67,7 +69,8 @@ create table raw_binlog_rows (txt varchar(1000));
...
@@ -67,7 +69,8 @@ create table raw_binlog_rows (txt varchar(1000));
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_verbose
.
sql
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_verbose
.
sql
--
enable_query_log
--
enable_query_log
--
echo
Verbose
statements
from
:
$binlog_file
--
echo
Verbose
statements
from
:
$binlog_file
select
txt
from
raw_binlog_rows
where
txt
like
'###%'
;
# Output --verbose lines, with extra Windows CR's trimmed
select
replace
(
txt
,
'\r'
,
''
)
as
stmt
from
raw_binlog_rows
where
txt
like
'###%'
;
drop
table
raw_binlog_rows
;
drop
table
raw_binlog_rows
;
--
disable_query_log
--
disable_query_log
...
@@ -78,5 +81,6 @@ create table raw_binlog_rows (txt varchar(1000));
...
@@ -78,5 +81,6 @@ create table raw_binlog_rows (txt varchar(1000));
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_verbose
.
sql
--
remove_file
$MYSQLTEST_VARDIR
/
tmp
/
mysqlbinlog_verbose
.
sql
--
enable_query_log
--
enable_query_log
--
echo
Verbose
statements
from
:
$binlog_file
--
echo
Verbose
statements
from
:
$binlog_file
select
txt
from
raw_binlog_rows
where
txt
like
'###%'
;
# Output --verbose lines, with extra Windows CR's trimmed
select
replace
(
txt
,
'\r'
,
''
)
as
stmt
from
raw_binlog_rows
where
txt
like
'###%'
;
drop
table
raw_binlog_rows
;
drop
table
raw_binlog_rows
;
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