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
3441e357
Commit
3441e357
authored
Dec 15, 2011
by
Mattias Jonsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post push fix for merge.test and mysqlcheck.test on windows
parent
de6a7a66
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
mysql-test/r/mysqlcheck.result
mysql-test/r/mysqlcheck.result
+1
-0
mysql-test/t/merge.test
mysql-test/t/merge.test
+7
-3
mysql-test/t/mysqlcheck.test
mysql-test/t/mysqlcheck.test
+1
-0
No files found.
mysql-test/r/mysqlcheck.result
View file @
3441e357
...
@@ -147,6 +147,7 @@ DROP TABLE `@`;
...
@@ -147,6 +147,7 @@ DROP TABLE `@`;
CREATE TABLE `я` (a INT);
CREATE TABLE `я` (a INT);
SET NAMES DEFAULT;
SET NAMES DEFAULT;
mysqlcheck --default-character-set="latin1" --databases test
mysqlcheck --default-character-set="latin1" --databases test
call mtr.add_suppression("Can't find file: '..test.@003f.frm'");
test.?
test.?
Error : Table doesn't exist
Error : Table doesn't exist
status : Operation failed
status : Operation failed
...
...
mysql-test/t/merge.test
View file @
3441e357
...
@@ -1817,9 +1817,13 @@ CREATE TABLE t1(a INT);
...
@@ -1817,9 +1817,13 @@ CREATE TABLE t1(a INT);
--
echo
# Test reattach merge failure
--
echo
# Test reattach merge failure
LOCK
TABLES
m1
READ
;
LOCK
TABLES
m1
READ
;
--
echo
# Replace 't1' with 't3' table using file operations.
--
echo
# Replace 't1' with 't3' table using file operations.
remove_file
$MYSQLD_DATADIR
/
test
/
t1
.
frm
;
# move + remove is a work around for windows.
remove_file
$MYSQLD_DATADIR
/
test
/
t1
.
MYI
;
move_file
$MYSQLD_DATADIR
/
test
/
t1
.
frm
$MYSQLD_DATADIR
/
test
/
oldt1
.
frm
;
remove_file
$MYSQLD_DATADIR
/
test
/
t1
.
MYD
;
move_file
$MYSQLD_DATADIR
/
test
/
t1
.
MYI
$MYSQLD_DATADIR
/
test
/
oldt1
.
MYI
;
move_file
$MYSQLD_DATADIR
/
test
/
t1
.
MYD
$MYSQLD_DATADIR
/
test
/
oldt1
.
MYD
;
remove_file
$MYSQLD_DATADIR
/
test
/
oldt1
.
frm
;
remove_file
$MYSQLD_DATADIR
/
test
/
oldt1
.
MYI
;
remove_file
$MYSQLD_DATADIR
/
test
/
oldt1
.
MYD
;
copy_file
$MYSQLD_DATADIR
/
test
/
t3
.
frm
$MYSQLD_DATADIR
/
test
/
t1
.
frm
;
copy_file
$MYSQLD_DATADIR
/
test
/
t3
.
frm
$MYSQLD_DATADIR
/
test
/
t1
.
frm
;
copy_file
$MYSQLD_DATADIR
/
test
/
t3
.
MYI
$MYSQLD_DATADIR
/
test
/
t1
.
MYI
;
copy_file
$MYSQLD_DATADIR
/
test
/
t3
.
MYI
$MYSQLD_DATADIR
/
test
/
t1
.
MYI
;
copy_file
$MYSQLD_DATADIR
/
test
/
t3
.
MYD
$MYSQLD_DATADIR
/
test
/
t1
.
MYD
;
copy_file
$MYSQLD_DATADIR
/
test
/
t3
.
MYD
$MYSQLD_DATADIR
/
test
/
t1
.
MYD
;
...
...
mysql-test/t/mysqlcheck.test
View file @
3441e357
...
@@ -138,6 +138,7 @@ CREATE TABLE `я` (a INT);
...
@@ -138,6 +138,7 @@ CREATE TABLE `я` (a INT);
SET
NAMES
DEFAULT
;
SET
NAMES
DEFAULT
;
--
echo
mysqlcheck
--
default
-
character
-
set
=
"latin1"
--
databases
test
--
echo
mysqlcheck
--
default
-
character
-
set
=
"latin1"
--
databases
test
# Error returned depends on platform, replace it with "Table doesn't exist"
# Error returned depends on platform, replace it with "Table doesn't exist"
call
mtr
.
add_suppression
(
"Can't find file: '..test.@003f.frm'"
);
--
replace_result
"Can't find file: './test/@003f.frm' (errno: 22)"
"Table doesn't exist"
"Table 'test.?' doesn't exist"
"Table doesn't exist"
--
replace_result
"Can't find file: './test/@003f.frm' (errno: 22)"
"Table doesn't exist"
"Table 'test.?' doesn't exist"
"Table doesn't exist"
--
exec
$MYSQL_CHECK
--
default
-
character
-
set
=
"latin1"
--
databases
test
--
exec
$MYSQL_CHECK
--
default
-
character
-
set
=
"latin1"
--
databases
test
--
echo
mysqlcheck
--
default
-
character
-
set
=
"utf8"
--
databases
test
--
echo
mysqlcheck
--
default
-
character
-
set
=
"utf8"
--
databases
test
...
...
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