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
b413d728
Commit
b413d728
authored
Feb 02, 2006
by
gunnar@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com.:/data/BK/mysql-4.1_15828
into mysql.com.:/data/BK/mysql-5.0_15828
parents
c9b7317f
8c69d6ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
mysql-test/r/date_formats.result
mysql-test/r/date_formats.result
+9
-0
mysql-test/t/date_formats.test
mysql-test/t/date_formats.test
+7
-0
No files found.
mysql-test/r/date_formats.result
View file @
b413d728
...
@@ -503,3 +503,12 @@ d1 d2
...
@@ -503,3 +503,12 @@ d1 d2
02 February
02 February
01 January
01 January
drop table t1;
drop table t1;
select str_to_date( 1, NULL );
str_to_date( 1, NULL )
NULL
select str_to_date( NULL, 1 );
str_to_date( NULL, 1 )
NULL
select str_to_date( 1, IF(1=1,NULL,NULL) );
str_to_date( 1, IF(1=1,NULL,NULL) )
NULL
mysql-test/t/date_formats.test
View file @
b413d728
...
@@ -269,4 +269,11 @@ insert into t1 (f1) values ("2005-01-01");
...
@@ -269,4 +269,11 @@ insert into t1 (f1) values ("2005-01-01");
insert
into
t1
(
f1
)
values
(
"2005-02-01"
);
insert
into
t1
(
f1
)
values
(
"2005-02-01"
);
select
date_format
(
f1
,
"%m"
)
as
d1
,
date_format
(
f1
,
"%M"
)
as
d2
from
t1
order
by
date_format
(
f1
,
"%M"
);
select
date_format
(
f1
,
"%m"
)
as
d1
,
date_format
(
f1
,
"%M"
)
as
d2
from
t1
order
by
date_format
(
f1
,
"%M"
);
drop
table
t1
;
drop
table
t1
;
#
# Bug #15828
#
select
str_to_date
(
1
,
NULL
);
select
str_to_date
(
NULL
,
1
);
select
str_to_date
(
1
,
IF
(
1
=
1
,
NULL
,
NULL
)
);
# End of 4.1 tests
# End of 4.1 tests
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