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
8b5ac76d
Commit
8b5ac76d
authored
Jun 04, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing STMT_ATTR_PREFETCH_ROWS to mysql_stmt_attr_get
parent
c72c3e4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
libmysql/libmysql.c
libmysql/libmysql.c
+5
-2
No files found.
libmysql/libmysql.c
View file @
8b5ac76d
...
...
@@ -2809,10 +2809,13 @@ my_bool STDCALL mysql_stmt_attr_get(MYSQL_STMT *stmt,
{
switch
(
attr_type
)
{
case
STMT_ATTR_UPDATE_MAX_LENGTH
:
*
(
u
nsigned
long
*
)
value
=
stmt
->
update_max_length
;
*
(
u
long
*
)
value
=
stmt
->
update_max_length
;
break
;
case
STMT_ATTR_CURSOR_TYPE
:
*
(
unsigned
long
*
)
value
=
stmt
->
flags
;
*
(
ulong
*
)
value
=
stmt
->
flags
;
break
;
case
STMT_ATTR_PREFETCH_ROWS
:
*
(
ulong
*
)
value
=
stmt
->
prefetch_rows
;
break
;
default:
return
TRUE
;
...
...
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