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
0561e65a
Commit
0561e65a
authored
Oct 11, 2006
by
kaa@polly.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-4.1-maint
into polly.local:/home/kaa/src/maint/m41-maint--07OGk
parents
737e13e5
b62f0c7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/item_timefunc.cc
sql/item_timefunc.cc
+1
-1
No files found.
sql/item_timefunc.cc
View file @
0561e65a
...
@@ -1980,7 +1980,7 @@ void Item_date_add_interval::fix_length_and_dec()
...
@@ -1980,7 +1980,7 @@ void Item_date_add_interval::fix_length_and_dec()
cached_field_type
=
MYSQL_TYPE_DATETIME
;
cached_field_type
=
MYSQL_TYPE_DATETIME
;
else
if
(
arg0_field_type
==
MYSQL_TYPE_DATE
)
else
if
(
arg0_field_type
==
MYSQL_TYPE_DATE
)
{
{
if
(
int_type
<=
INTERVAL_DAY
||
int_type
==
INTERVAL_YEAR_MONTH
||
int_type
==
INTERVAL_WEEK
)
if
(
int_type
<=
INTERVAL_DAY
||
int_type
==
INTERVAL_YEAR_MONTH
)
cached_field_type
=
arg0_field_type
;
cached_field_type
=
arg0_field_type
;
else
else
cached_field_type
=
MYSQL_TYPE_DATETIME
;
cached_field_type
=
MYSQL_TYPE_DATETIME
;
...
...
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