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
0372ca79
Commit
0372ca79
authored
Nov 06, 2006
by
petr/cps@outpost.site
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix mysql-test-run.pl to support --timezone option,
which got broken during refactoring.
parent
1b231a17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+8
-1
No files found.
mysql-test/mysql-test-run.pl
View file @
0372ca79
...
...
@@ -3614,6 +3614,14 @@ sub run_testcase_start_servers($) {
return
;
}
#
# Set the timezone, in the case it was specified in the test
# We need to do this before the server is started, as mysqld
# uses this information at startup
#
$ENV
{'
TZ
'}
=
$tinfo
->
{'
timezone
'};
if
(
$tinfo
->
{'
component_id
'}
eq
'
mysqld
'
)
{
if
(
!
$opt_skip_ndbcluster
and
...
...
@@ -3978,7 +3986,6 @@ sub run_mysqltest ($) {
# -------------------------------------------------------
# Init variables that change for each testcase
# -------------------------------------------------------
$ENV
{'
TZ
'}
=
$tinfo
->
{'
timezone
'};
my
$res
=
mtr_run_test
(
$exe
,
$args
,"","",
$path_timefile
,"");
...
...
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