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
540e2f78
Commit
540e2f78
authored
Nov 23, 2020
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix GCC warning/error.
parent
295f3e4c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/mysql_client_test.c
tests/mysql_client_test.c
+2
-1
No files found.
tests/mysql_client_test.c
View file @
540e2f78
...
@@ -21184,13 +21184,14 @@ static void test_cache_metadata()
...
@@ -21184,13 +21184,14 @@ static void test_cache_metadata()
{
{
char
char_val
[]
=
"blah"
;
char
char_val
[]
=
"blah"
;
int
int_val
=
1
;
int
int_val
=
1
;
int
rc
;
MYSQL_BIND
param
=
{
0
};
MYSQL_BIND
param
=
{
0
};
my_bool
is_null
=
FALSE
;
my_bool
is_null
=
FALSE
;
MYSQL_STMT
*
stmt
=
mysql_stmt_init
(
mysql
);
MYSQL_STMT
*
stmt
=
mysql_stmt_init
(
mysql
);
check_stmt
(
stmt
);
check_stmt
(
stmt
);
int
rc
=
mysql_stmt_prepare
(
stmt
,
"SELECT ?"
,
-
1
);
rc
=
mysql_stmt_prepare
(
stmt
,
"SELECT ?"
,
-
1
);
myquery
(
rc
);
myquery
(
rc
);
param
.
buffer
=
char_val
;
param
.
buffer
=
char_val
;
...
...
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