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
bf81d2ab
Commit
bf81d2ab
authored
Apr 18, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use mysqltest builtin $MYSQL_SERVER_VERSIOn to mask version that mysql_upgrade reports
parent
5bedd273
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
mysql-test/t/mysql_upgrade.test
mysql-test/t/mysql_upgrade.test
+1
-5
No files found.
mysql-test/t/mysql_upgrade.test
View file @
bf81d2ab
...
...
@@ -7,10 +7,6 @@
select
LENGTH
(
"
$MYSQL_UPGRADE
"
)
>
0
as
have_mysql_upgrade
;
--
enable_query_log
# Get version of the server so it can be masked out in the
# error messages from mysql_upgrade
let
$VERSION
=
`select LEFT(version(), 6)`
;
#
# Basic test that we can run mysql_upgrde and that it finds the
# expected binaries it uses.
...
...
@@ -22,7 +18,7 @@ let $VERSION=`select LEFT(version(), 6)`;
file_exists
$MYSQLTEST_VARDIR
/
master
-
data
/
mysql_upgrade_info
;
--
echo
Run
it
again
-
should
say
already
completed
--
replace_result
$VERSION
VERSION
--
replace_result
$
MYSQL_SERVER_
VERSION
VERSION
--
error
1
--
exec
$MYSQL_UPGRADE
--
skip
-
verbose
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