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
ec7b8717
Commit
ec7b8717
authored
May 28, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
manual types casting to satisfy gcc 3.2.1 compiler
parent
7f9788a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/item_create.cc
sql/item_create.cc
+2
-2
No files found.
sql/item_create.cc
View file @
ec7b8717
...
@@ -464,8 +464,8 @@ Item *create_func_cast(Item *a, Item_cast cast_type, CHARSET_INFO *cs)
...
@@ -464,8 +464,8 @@ Item *create_func_cast(Item *a, Item_cast cast_type, CHARSET_INFO *cs)
switch
(
cast_type
)
{
switch
(
cast_type
)
{
case
ITEM_CAST_BINARY
:
res
=
new
Item_func_binary
(
a
);
break
;
case
ITEM_CAST_BINARY
:
res
=
new
Item_func_binary
(
a
);
break
;
case
ITEM_CAST_CHAR
:
case
ITEM_CAST_CHAR
:
res
=
(
cs
==
NULL
)
?
new
Item_char_typecast
(
a
)
:
res
=
(
cs
==
NULL
)
?
(
Item
*
)
new
Item_char_typecast
(
a
)
:
new
Item_func_conv_charset
(
a
,
cs
);
(
Item
*
)
new
Item_func_conv_charset
(
a
,
cs
);
break
;
break
;
case
ITEM_CAST_SIGNED_INT
:
res
=
new
Item_func_signed
(
a
);
break
;
case
ITEM_CAST_SIGNED_INT
:
res
=
new
Item_func_signed
(
a
);
break
;
case
ITEM_CAST_UNSIGNED_INT
:
res
=
new
Item_func_unsigned
(
a
);
break
;
case
ITEM_CAST_UNSIGNED_INT
:
res
=
new
Item_func_unsigned
(
a
);
break
;
...
...
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