summaryrefslogtreecommitdiff
path: root/tests/mysql_client_test.c
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2021-08-11 23:00:37 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2021-08-11 23:00:37 +0400
commit38b79d7295e7a9ed2e4fdd72e6a63505a32c806f (patch)
tree5469e83c89f728054a784643a3c33e463422c03c /tests/mysql_client_test.c
parent582cf12f949d462073b01aea4dc61628880d6d60 (diff)
downloadmariadb-git-38b79d7295e7a9ed2e4fdd72e6a63505a32c806f.tar.gz
MENT-1019.bb-10.4-hf
Audit-plugin related fixes.
Diffstat (limited to 'tests/mysql_client_test.c')
-rw-r--r--tests/mysql_client_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 32681ac20a1..78656850e48 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -5256,10 +5256,10 @@ static void test_manual_sample()
{
unsigned int param_count;
MYSQL_STMT *stmt;
- short small_data;
- int int_data;
+ short small_data= 1;
+ int int_data= 2;
int rc;
- char str_data[50];
+ char str_data[50]= "std_data";
ulonglong affected_rows;
MYSQL_BIND my_bind[3];
my_bool is_null;