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
5d448351
Commit
5d448351
authored
Mar 30, 2006
by
petr@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix csv test failure on non-linux platforms
parent
36e06f63
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
mysql-test/t/csv.test
mysql-test/t/csv.test
+2
-2
No files found.
mysql-test/t/csv.test
View file @
5d448351
...
@@ -1424,7 +1424,7 @@ DROP TABLE test_repair_table2;
...
@@ -1424,7 +1424,7 @@ DROP TABLE test_repair_table2;
# Corrupt csv file and see if we can repair it
# Corrupt csv file and see if we can repair it
CREATE
TABLE
test_repair_table3
(
val
integer
)
ENGINE
=
CSV
;
CREATE
TABLE
test_repair_table3
(
val
integer
)
ENGINE
=
CSV
;
--
exec
echo
-
n
-
e
\
"1
\"\\
n
\"
4
\"\\
n
\"
3
>
$MYSQLTEST_VARDIR
/master-data/test/test_repair_table3.CSV
--
exec
perl
-
e
'print "\"1\"\n\"4\"\n\"3";'
>
$MYSQLTEST_VARDIR
/
master
-
data
/
test
/
test_repair_table3
.
CSV
CHECK
TABLE
test_repair_table3
;
CHECK
TABLE
test_repair_table3
;
REPAIR
TABLE
test_repair_table3
;
REPAIR
TABLE
test_repair_table3
;
SELECT
*
FROM
test_repair_table3
;
SELECT
*
FROM
test_repair_table3
;
...
@@ -1472,7 +1472,7 @@ CREATE TABLE test_repair_table5 (
...
@@ -1472,7 +1472,7 @@ CREATE TABLE test_repair_table5 (
)
ENGINE
=
CSV
;
)
ENGINE
=
CSV
;
# Corrupt a table -- put a file with wrong # of columns
# Corrupt a table -- put a file with wrong # of columns
--exec
echo -n -e
\"
1
\"
,
\"
101
\"
,
\"
IBM
\"\\
n
>
$MYSQLTEST_VARDIR
/master-data/test/test_repair_table5.CSV
--
exec
perl
-
e
'print "\"1\",\"101\",\"IBM\"\n";'
>
$MYSQLTEST_VARDIR
/
master
-
data
/
test
/
test_repair_table5
.
CSV
CHECK
TABLE
test_repair_table5
;
CHECK
TABLE
test_repair_table5
;
REPAIR
TABLE
test_repair_table5
;
REPAIR
TABLE
test_repair_table5
;
...
...
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