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
babde331
Commit
babde331
authored
Oct 05, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print the newly found version number in human readable format
parent
76c63e71
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+3
-2
No files found.
mysql-test/mysql-test-run.pl
View file @
babde331
...
...
@@ -1180,9 +1180,10 @@ sub check_mysqld_features () {
# Look for version
if
(
$line
=~
/^$exe_mysqld\s\sVer\s([0-9]*)\.([0-9]*)\.([0-9]*)/
)
{
print
"
Major: $1 Minor: $2 Build: $3
\n
";
#
print "Major: $1 Minor: $2 Build: $3\n";
$mysql_version_id
=
$1
*
10000
+
$2
*
100
+
$3
;
print
"
mysql_version_id:
$mysql_version_id
\n
";
#print "mysql_version_id: $mysql_version_id\n";
mtr_report
("
MySQL Version $1.$2.$3
");
}
}
else
...
...
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