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
498c152b
Commit
498c152b
authored
Apr 19, 2007
by
msvensson@pilot.blaudden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add replace for varying errno
parent
da93a36a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/r/mysql_upgrade.result
mysql-test/r/mysql_upgrade.result
+1
-1
mysql-test/t/mysql_upgrade.test
mysql-test/t/mysql_upgrade.test
+1
-1
No files found.
mysql-test/r/mysql_upgrade.result
View file @
498c152b
...
...
@@ -58,5 +58,5 @@ mysql.time_zone_transition_type OK
mysql.user OK
DROP USER mysqltest1@'%';
Run mysql_upgrade with a non existing server socket
mysqlcheck: Got error: 2005: Unknown MySQL server host 'not_existing_host' (
1
) when trying to connect
mysqlcheck: Got error: 2005: Unknown MySQL server host 'not_existing_host' (
errno
) when trying to connect
FATAL ERROR: Upgrade failed
mysql-test/t/mysql_upgrade.test
View file @
498c152b
...
...
@@ -56,6 +56,6 @@ DROP USER mysqltest1@'%';
--
echo
Run
mysql_upgrade
with
a
non
existing
server
socket
--
replace_result
$MYSQLTEST_VARDIR
var
--
replace_regex
/.*
mysqlcheck
.*:
Got
/
mysqlcheck
:
Got
/
--
replace_regex
/.*
mysqlcheck
.*:
Got
/
mysqlcheck
:
Got
/
/
\
([
0
-
9
]
*
\
)
/
(
errno
)
/
--
error
1
--
exec
$MYSQL_UPGRADE
--
skip
-
verbose
--
force
--
host
=
not_existing_host
2
>&
1
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