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
f364c099
Commit
f364c099
authored
Feb 17, 2008
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge kaamos.(none):/data/src/mysql-4.1
into kaamos.(none):/data/src/opt/mysql-4.1-opt
parents
107d6251
db66526c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
libmysql/libmysql.c
libmysql/libmysql.c
+5
-8
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+1
-1
No files found.
libmysql/libmysql.c
View file @
f364c099
...
...
@@ -4522,14 +4522,11 @@ my_bool STDCALL mysql_stmt_free_result(MYSQL_STMT *stmt)
{
MYSQL
*
mysql
=
stmt
->
mysql
;
if
(
result
->
data
)
{
/* Result buffered */
free_root
(
&
result
->
alloc
,
MYF
(
MY_KEEP_PREALLOC
));
result
->
data
=
NULL
;
result
->
rows
=
0
;
stmt
->
data_cursor
=
NULL
;
}
if
(
mysql
&&
stmt
->
field_count
&&
(
int
)
stmt
->
state
>
(
int
)
MYSQL_STMT_PREPARE_DONE
)
...
...
libmysqld/lib_sql.cc
View file @
f364c099
...
...
@@ -668,7 +668,7 @@ bool Protocol::send_fields(List<Item> *list, uint flag)
DBUG_RETURN
(
0
);
field_count
=
list
->
elements
;
field_alloc
=
thd
->
current_stmt
?
&
thd
->
current_stmt
->
mem_root
:
field_alloc
=
thd
->
current_stmt
?
&
thd
->
current_stmt
->
result
.
alloc
:
&
mysql
->
field_alloc
;
if
(
!
(
client_field
=
mysql
->
fields
=
(
MYSQL_FIELD
*
)
alloc_root
(
field_alloc
,
...
...
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