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
cfa62352
Commit
cfa62352
authored
Mar 25, 2009
by
Leonard Zhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the test case error in PB.
parent
159b18fa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
mysql-test/r/rpl_timezone.result
mysql-test/r/rpl_timezone.result
+1
-0
mysql-test/t/rpl_timezone.test
mysql-test/t/rpl_timezone.test
+1
-0
No files found.
mysql-test/r/rpl_timezone.result
View file @
cfa62352
...
@@ -153,6 +153,7 @@ a b
...
@@ -153,6 +153,7 @@ a b
SET @@session.time_zone = default;
SET @@session.time_zone = default;
DROP TABLE t1;
DROP TABLE t1;
SET @@session.time_zone = default;
SET @@session.time_zone = default;
reset master;
CREATE TABLE t1 (date timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, a int(11) default NULL);
CREATE TABLE t1 (date timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, a int(11) default NULL);
SET @@session.time_zone='+01:00';
SET @@session.time_zone='+01:00';
insert into t1 values('2008-12-23 19:39:39',1);
insert into t1 values('2008-12-23 19:39:39',1);
...
...
mysql-test/t/rpl_timezone.test
View file @
cfa62352
...
@@ -159,6 +159,7 @@ SET @@session.time_zone = default;
...
@@ -159,6 +159,7 @@ SET @@session.time_zone = default;
# Insert 2 values into timestamp col with different time_zone. Check result.
# Insert 2 values into timestamp col with different time_zone. Check result.
--
connection
master
--
connection
master
reset
master
;
CREATE
TABLE
t1
(
date
timestamp
NOT
NULL
default
CURRENT_TIMESTAMP
on
update
CURRENT_TIMESTAMP
,
a
int
(
11
)
default
NULL
);
CREATE
TABLE
t1
(
date
timestamp
NOT
NULL
default
CURRENT_TIMESTAMP
on
update
CURRENT_TIMESTAMP
,
a
int
(
11
)
default
NULL
);
SET
@@
session
.
time_zone
=
'+01:00'
;
SET
@@
session
.
time_zone
=
'+01:00'
;
...
...
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