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
723baa4d
Commit
723baa4d
authored
Nov 19, 2005
by
konstantin@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A fix for Bug#14845 "mysql_stmt_fetch returns MYSQL_NO_DATA when
COUNT(*) is 0" (the test case has been pushed already)
parent
86f1896f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
sql/sql_cursor.cc
sql/sql_cursor.cc
+1
-2
No files found.
sql/sql_cursor.cc
View file @
723baa4d
...
...
@@ -661,11 +661,10 @@ Materialized_cursor::~Materialized_cursor()
bool
Select_materialize
::
send_fields
(
List
<
Item
>
&
list
,
uint
flags
)
{
bool
rc
;
DBUG_ASSERT
(
table
==
0
);
if
(
create_result_table
(
unit
->
thd
,
unit
->
get_unit_column_types
(),
FALSE
,
thd
->
options
|
TMP_TABLE_ALL_COLUMNS
,
""
))
return
TRUE
;
return
rc
;
return
FALSE
;
}
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