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
3c3ebeab
Commit
3c3ebeab
authored
Jun 22, 2004
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/dbdata/psergey/mysql-4.1-root
parents
92c0c096
271eb258
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
36 deletions
+35
-36
sql/item.cc
sql/item.cc
+35
-36
No files found.
sql/item.cc
View file @
3c3ebeab
...
@@ -756,8 +756,7 @@ bool Item_param::set_from_user_var(THD *thd, const user_var_entry *entry)
...
@@ -756,8 +756,7 @@ bool Item_param::set_from_user_var(THD *thd, const user_var_entry *entry)
if
(
entry
&&
entry
->
value
)
if
(
entry
&&
entry
->
value
)
{
{
item_result_type
=
entry
->
type
;
item_result_type
=
entry
->
type
;
switch
(
entry
->
type
)
switch
(
entry
->
type
)
{
{
case
REAL_RESULT
:
case
REAL_RESULT
:
set_double
(
*
(
double
*
)
entry
->
value
);
set_double
(
*
(
double
*
)
entry
->
value
);
break
;
break
;
...
@@ -788,8 +787,8 @@ bool Item_param::set_from_user_var(THD *thd, const user_var_entry *entry)
...
@@ -788,8 +787,8 @@ bool Item_param::set_from_user_var(THD *thd, const user_var_entry *entry)
if
(
set_str
((
const
char
*
)
entry
->
value
,
entry
->
length
))
if
(
set_str
((
const
char
*
)
entry
->
value
,
entry
->
length
))
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
}
break
;
break
;
}
default:
default:
DBUG_ASSERT
(
0
);
DBUG_ASSERT
(
0
);
set_null
();
set_null
();
...
...
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