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
0250c011
Commit
0250c011
authored
Mar 30, 2006
by
petr@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/home/cps/mysql/devel/5.1-repair-csv
parents
da000b2d
5d448351
Changes
1
Hide 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 @
0250c011
...
...
@@ -1424,7 +1424,7 @@ DROP TABLE test_repair_table2;
# Corrupt csv file and see if we can repair it
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
;
REPAIR
TABLE
test_repair_table3
;
SELECT
*
FROM
test_repair_table3
;
...
...
@@ -1472,7 +1472,7 @@ CREATE TABLE test_repair_table5 (
)
ENGINE
=
CSV
;
# 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
;
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