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
f49dc058
Commit
f49dc058
authored
Mar 18, 2010
by
Igor Babaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the vcol suite independent on time zone.
parent
ee231394
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
mysql-test/suite/vcol/inc/vcol_supported_sql_funcs_main.inc
mysql-test/suite/vcol/inc/vcol_supported_sql_funcs_main.inc
+1
-0
mysql-test/suite/vcol/r/vcol_supported_sql_funcs_innodb.result
...-test/suite/vcol/r/vcol_supported_sql_funcs_innodb.result
+2
-1
mysql-test/suite/vcol/r/vcol_supported_sql_funcs_myisam.result
...-test/suite/vcol/r/vcol_supported_sql_funcs_myisam.result
+2
-1
No files found.
mysql-test/suite/vcol/inc/vcol_supported_sql_funcs_main.inc
View file @
f49dc058
...
@@ -912,6 +912,7 @@ let $rows = 1;
...
@@ -912,6 +912,7 @@ let $rows = 1;
let
$cols
=
a
long
,
b
datetime
as
(
from_unixtime
(
a
));
let
$cols
=
a
long
,
b
datetime
as
(
from_unixtime
(
a
));
let
$values1
=
1196440219
,
default
;
let
$values1
=
1196440219
,
default
;
let
$rows
=
1
;
let
$rows
=
1
;
set
time_zone
=
'UTC'
;
--
source
suite
/
vcol
/
inc
/
vcol_supported_sql_funcs
.
inc
--
source
suite
/
vcol
/
inc
/
vcol_supported_sql_funcs
.
inc
--
echo
# GET_FORMAT()
--
echo
# GET_FORMAT()
...
...
mysql-test/suite/vcol/r/vcol_supported_sql_funcs_innodb.result
View file @
f49dc058
...
@@ -2194,6 +2194,7 @@ a b
...
@@ -2194,6 +2194,7 @@ a b
drop table t1;
drop table t1;
set sql_warnings = 0;
set sql_warnings = 0;
# FROM_UNIXTIME()
# FROM_UNIXTIME()
set time_zone='UTC';
set sql_warnings = 1;
set sql_warnings = 1;
create table t1 (a long, b datetime as (from_unixtime(a)));
create table t1 (a long, b datetime as (from_unixtime(a)));
show create table t1;
show create table t1;
...
@@ -2205,7 +2206,7 @@ t1 CREATE TABLE `t1` (
...
@@ -2205,7 +2206,7 @@ t1 CREATE TABLE `t1` (
insert into t1 values (1196440219,default);
insert into t1 values (1196440219,default);
select * from t1;
select * from t1;
a b
a b
1196440219 2007-11-30
08
:30:19
1196440219 2007-11-30
16
:30:19
drop table t1;
drop table t1;
set sql_warnings = 0;
set sql_warnings = 0;
# GET_FORMAT()
# GET_FORMAT()
...
...
mysql-test/suite/vcol/r/vcol_supported_sql_funcs_myisam.result
View file @
f49dc058
...
@@ -2194,6 +2194,7 @@ a b
...
@@ -2194,6 +2194,7 @@ a b
drop table t1;
drop table t1;
set sql_warnings = 0;
set sql_warnings = 0;
# FROM_UNIXTIME()
# FROM_UNIXTIME()
set time_zone='UTC';
set sql_warnings = 1;
set sql_warnings = 1;
create table t1 (a long, b datetime as (from_unixtime(a)));
create table t1 (a long, b datetime as (from_unixtime(a)));
show create table t1;
show create table t1;
...
@@ -2205,7 +2206,7 @@ t1 CREATE TABLE `t1` (
...
@@ -2205,7 +2206,7 @@ t1 CREATE TABLE `t1` (
insert into t1 values (1196440219,default);
insert into t1 values (1196440219,default);
select * from t1;
select * from t1;
a b
a b
1196440219 2007-11-30
08
:30:19
1196440219 2007-11-30
16
:30:19
drop table t1;
drop table t1;
set sql_warnings = 0;
set sql_warnings = 0;
# GET_FORMAT()
# GET_FORMAT()
...
...
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