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
1d5c187e
Commit
1d5c187e
authored
21 years ago
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
into deer.(none):/home/hf/work/mysql-4.1.stmt
parents
9b811484
5218a0cd
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 @
1d5c187e
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
sql/sql_prepare.cc
View file @
1d5c187e
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
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