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
13331b8d
Commit
13331b8d
authored
Sep 12, 2006
by
kaa@polly.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compilation
parent
e03faff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sql/item_func.cc
sql/item_func.cc
+5
-5
No files found.
sql/item_func.cc
View file @
13331b8d
...
...
@@ -3574,7 +3574,7 @@ update_hash(user_var_entry *entry, bool set_null, void *ptr, uint length,
bool
Item_func_set_user_var
::
update_hash
(
void
*
ptr
,
uint
length
,
Item_result
type
,
CHARSET_INFO
*
cs
,
Derivation
dv
CHARSET_INFO
*
cs
,
Derivation
dv
,
bool
unsigned_arg
)
{
/*
...
...
@@ -3816,11 +3816,11 @@ Item_func_set_user_var::update()
{
if
(
!
save_result
.
vdec
)
// Null value
res
=
update_hash
((
void
*
)
0
,
0
,
DECIMAL_RESULT
,
&
my_charset_bin
,
DERIVATION_IMPLICIT
);
DERIVATION_IMPLICIT
,
0
);
else
res
=
update_hash
((
void
*
)
save_result
.
vdec
,
sizeof
(
my_decimal
),
DECIMAL_RESULT
,
&
my_charset_bin
,
DERIVATION_IMPLICIT
);
&
my_charset_bin
,
DERIVATION_IMPLICIT
,
0
);
break
;
}
case
ROW_RESULT
:
...
...
@@ -4176,7 +4176,7 @@ bool Item_user_var_as_out_param::fix_fields(THD *thd, Item **ref)
void
Item_user_var_as_out_param
::
set_null_value
(
CHARSET_INFO
*
cs
)
{
if
(
::
update_hash
(
entry
,
TRUE
,
0
,
0
,
STRING_RESULT
,
cs
,
DERIVATION_IMPLICIT
))
DERIVATION_IMPLICIT
,
0
))
current_thd
->
fatal_error
();
// Probably end of memory
}
...
...
@@ -4185,7 +4185,7 @@ void Item_user_var_as_out_param::set_value(const char *str, uint length,
CHARSET_INFO
*
cs
)
{
if
(
::
update_hash
(
entry
,
FALSE
,
(
void
*
)
str
,
length
,
STRING_RESULT
,
cs
,
DERIVATION_IMPLICIT
))
DERIVATION_IMPLICIT
,
0
))
current_thd
->
fatal_error
();
// Probably end of memory
}
...
...
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