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
421eeded
Commit
421eeded
authored
Jan 14, 2006
by
gvb@phoenix.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
item_timefunc.cc:
fix for bug#15828 after review
parent
45db1c24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sql/item_timefunc.cc
sql/item_timefunc.cc
+2
-1
No files found.
sql/item_timefunc.cc
View file @
421eeded
...
...
@@ -2750,7 +2750,8 @@ void Item_func_str_to_date::fix_length_and_dec()
cached_field_type
=
MYSQL_TYPE_STRING
;
max_length
=
MAX_DATETIME_FULL_WIDTH
*
MY_CHARSET_BIN_MB_MAXLEN
;
cached_timestamp_type
=
MYSQL_TIMESTAMP_NONE
;
if
((
const_item
=
args
[
1
]
->
const_item
())
&&
!
args
[
1
]
->
null_value
)
if
(
!
args
[
1
]
->
null_value
&&
(
const_item
=
args
[
1
]
->
const_item
()))
//if ((const_item= args[1]->const_item()) && !args[1]->null_value)
{
format
=
args
[
1
]
->
val_str
(
&
format_str
);
cached_format_type
=
get_date_time_result_type
(
format
->
ptr
(),
...
...
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