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
818b0b84
Commit
818b0b84
authored
Jul 27, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test so that it will be environment-independent.
mysql-test/r/mysqldump.result: Update result file.
parent
6a77dbae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
mysql-test/r/mysqldump.result
mysql-test/r/mysqldump.result
+2
-2
mysql-test/t/mysqldump.test
mysql-test/t/mysqldump.test
+2
-3
No files found.
mysql-test/r/mysqldump.result
View file @
818b0b84
...
...
@@ -3952,12 +3952,12 @@ CREATE VIEW mysqldump_test_db.v2 AS SELECT 1 AS
CREATE VIEW mysqldump_test_db.v1 AS SELECT 1 FROM mysqldump_test_db.v2;
set names latin1;
# Dump mysqldump_test_db to
/dev/shm/t1/var/tmp/
bug30027.sql.
# Dump mysqldump_test_db to bug30027.sql.
# Drop mysqldump_test_db.
DROP DATABASE mysqldump_test_db;
# Restore mysqldump_test_db from
/dev/shm/t1/var/tmp/
bug30027.sql.
# Restore mysqldump_test_db from bug30027.sql.
# Check the view.
set names utf8;
...
...
mysql-test/t/mysqldump.test
View file @
818b0b84
...
...
@@ -1702,10 +1702,9 @@ CREATE VIEW mysqldump_test_db.v1 AS SELECT
set
names
latin1
;
--
echo
--
echo
# Dump mysqldump_test_db to
$MYSQLTEST_VARDIR/tmp/
bug30027.sql.
--
echo
# Dump mysqldump_test_db to bug30027.sql.
--
exec
$MYSQL_DUMP
--
character
-
sets
-
dir
=
$CHARSETSDIR
--
default
-
character
-
set
=
latin1
--
databases
mysqldump_test_db
>
$MYSQLTEST_VARDIR
/
tmp
/
bug30027
.
sql
# --exec $MYSQL_DUMP --character-sets-dir=$CHARSETSDIR --databases mysqldump_test_db > $MYSQLTEST_VARDIR/tmp/bug30027.sql
--
echo
--
echo
# Drop mysqldump_test_db.
...
...
@@ -1713,7 +1712,7 @@ set names latin1;
DROP
DATABASE
mysqldump_test_db
;
--
echo
--
echo
# Restore mysqldump_test_db from
$MYSQLTEST_VARDIR/tmp/
bug30027.sql.
--
echo
# Restore mysqldump_test_db from bug30027.sql.
--
exec
$MYSQL
test
<
$MYSQLTEST_VARDIR
/
tmp
/
bug30027
.
sql
...
...
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