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
40d292ad
Commit
40d292ad
authored
Sep 12, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compilation
parent
51b27a3a
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 @
40d292ad
...
...
@@ -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