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
44008094
Commit
44008094
authored
Dec 16, 2009
by
Jim Winstead
Browse files
Options
Browse Files
Download
Plain Diff
Merge approved bug fix
parents
4338e06f
f20d15d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libmysql/libmysql.c
libmysql/libmysql.c
+2
-2
No files found.
libmysql/libmysql.c
View file @
44008094
...
...
@@ -2270,7 +2270,7 @@ mysql_stmt_param_metadata(MYSQL_STMT *stmt)
/* Store type of parameter in network buffer. */
static
void
store_param_type
(
char
**
pos
,
MYSQL_BIND
*
param
)
static
void
store_param_type
(
unsigned
char
**
pos
,
MYSQL_BIND
*
param
)
{
uint
typecode
=
param
->
buffer_type
|
(
param
->
is_unsigned
?
32768
:
0
);
int2store
(
*
pos
,
typecode
);
...
...
@@ -2550,7 +2550,7 @@ int cli_stmt_execute(MYSQL_STMT *stmt)
that is sent to the server.
*/
for
(
param
=
stmt
->
params
;
param
<
param_end
;
param
++
)
store_param_type
(
(
char
**
)
&
net
->
write_pos
,
param
);
store_param_type
(
&
net
->
write_pos
,
param
);
}
for
(
param
=
stmt
->
params
;
param
<
param_end
;
param
++
)
...
...
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