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
222fddcb
Commit
222fddcb
authored
Aug 15, 2007
by
evgen@moonbone.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql_client_test.c:
Post fix for the bug#29948.
parent
1cc8f0e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/mysql_client_test.c
tests/mysql_client_test.c
+3
-3
No files found.
tests/mysql_client_test.c
View file @
222fddcb
...
@@ -15746,7 +15746,7 @@ static void test_bug29948()
...
@@ -15746,7 +15746,7 @@ static void test_bug29948()
char
kill_buf
[
20
];
char
kill_buf
[
20
];
const
char
*
query
;
const
char
*
query
;
int
buf
;
int
buf
;
unsigned
long
length
;
unsigned
long
length
,
cursor_type
;
dbc
=
mysql_init
(
NULL
);
dbc
=
mysql_init
(
NULL
);
DIE_UNLESS
(
dbc
);
DIE_UNLESS
(
dbc
);
...
@@ -15779,8 +15779,8 @@ static void test_bug29948()
...
@@ -15779,8 +15779,8 @@ static void test_bug29948()
stmt
=
mysql_stmt_init
(
dbc
);
stmt
=
mysql_stmt_init
(
dbc
);
check_stmt
(
stmt
);
check_stmt
(
stmt
);
buf
=
CURSOR_TYPE_READ_ONLY
;
cursor_type
=
CURSOR_TYPE_READ_ONLY
;
res
=
mysql_stmt_attr_set
(
stmt
,
STMT_ATTR_CURSOR_TYPE
,
(
void
*
)
&
buf
);
res
=
mysql_stmt_attr_set
(
stmt
,
STMT_ATTR_CURSOR_TYPE
,
(
void
*
)
&
cursor_type
);
myquery
(
res
);
myquery
(
res
);
query
=
"SELECT * from t1 where a=?"
;
query
=
"SELECT * from t1 where a=?"
;
...
...
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