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
f576380b
Commit
f576380b
authored
Oct 06, 2003
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for #1470
parent
4ef1e363
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+2
-0
sql/sql_prepare.cc
sql/sql_prepare.cc
+1
-0
No files found.
libmysqld/lib_sql.cc
View file @
f576380b
...
...
@@ -128,6 +128,8 @@ static MYSQL_FIELD * STDCALL emb_list_fields(MYSQL *mysql)
static
my_bool
STDCALL
emb_read_prepare_result
(
MYSQL
*
mysql
,
MYSQL_STMT
*
stmt
)
{
THD
*
thd
=
(
THD
*
)
mysql
->
thd
;
if
(
mysql
->
net
.
last_errno
)
return
1
;
stmt
->
stmt_id
=
thd
->
client_stmt_id
;
stmt
->
param_count
=
thd
->
client_param_count
;
stmt
->
field_count
=
mysql
->
field_count
;
...
...
sql/sql_prepare.cc
View file @
f576380b
...
...
@@ -169,6 +169,7 @@ static bool send_prep_stmt(PREP_STMT *stmt, uint columns __attribute__((unused))
thd
->
client_stmt_id
=
stmt
->
stmt_id
;
thd
->
client_param_count
=
stmt
->
param_count
;
thd
->
net
.
last_errno
=
0
;
return
0
;
}
...
...
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