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
504bbe49
Commit
504bbe49
authored
Apr 18, 2006
by
pem@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-review fix for BUG#18787. Renamed a local variable in
Item_func_sp::tmp_table_field() to something more descriptive.
parent
57107fc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
sql/item_func.cc
sql/item_func.cc
+6
-6
No files found.
sql/item_func.cc
View file @
504bbe49
...
@@ -4909,19 +4909,19 @@ longlong Item_func_found_rows::val_int()
...
@@ -4909,19 +4909,19 @@ longlong Item_func_found_rows::val_int()
Field
*
Field
*
Item_func_sp
::
tmp_table_field
(
TABLE
*
t_arg
)
Item_func_sp
::
tmp_table_field
(
TABLE
*
t_arg
)
{
{
Field
*
res
=
0
;
Field
*
field
=
0
;
DBUG_ENTER
(
"Item_func_sp::tmp_table_field"
);
DBUG_ENTER
(
"Item_func_sp::tmp_table_field"
);
if
(
m_sp
)
if
(
m_sp
)
res
=
m_sp
->
create_result_field
(
max_length
,
(
const
char
*
)
name
,
t_arg
);
field
=
m_sp
->
create_result_field
(
max_length
,
(
const
char
*
)
name
,
t_arg
);
if
(
!
res
)
if
(
!
field
)
res
=
Item_func
::
tmp_table_field
(
t_arg
);
field
=
Item_func
::
tmp_table_field
(
t_arg
);
if
(
!
res
)
if
(
!
field
)
my_message
(
ER_OUT_OF_RESOURCES
,
ER
(
ER_OUT_OF_RESOURCES
),
MYF
(
0
));
my_message
(
ER_OUT_OF_RESOURCES
,
ER
(
ER_OUT_OF_RESOURCES
),
MYF
(
0
));
DBUG_RETURN
(
res
);
DBUG_RETURN
(
field
);
}
}
...
...
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