summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-09-02 13:09:01 +0300
committerGeorgi Kodinov <joro@sun.com>2009-09-02 13:09:01 +0300
commit27065edafbe0bfaa2a0fab4b230d910a21014c90 (patch)
tree4384ba7045dcdf76aa0021601e4171b08032fd2c /tests
parent8e95f4af9e77594bd1b8122403b4d3338150c954 (diff)
downloadmariadb-git-27065edafbe0bfaa2a0fab4b230d910a21014c90.tar.gz
fixed compilation warnings
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 300b0347233..9394b0df40b 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -16997,7 +16997,7 @@ static void test_bug20023()
{
MYSQL con;
- int sql_big_selects_orig;
+ int sql_big_selects_orig= 0;
/*
Type of max_join_size is ha_rows, which might be ulong or off_t
depending on the platform or configure options. Preserve the string
@@ -17005,10 +17005,10 @@ static void test_bug20023()
*/
char max_join_size_orig[32];
- int sql_big_selects_2;
- int sql_big_selects_3;
- int sql_big_selects_4;
- int sql_big_selects_5;
+ int sql_big_selects_2= 0;
+ int sql_big_selects_3= 0;
+ int sql_big_selects_4= 0;
+ int sql_big_selects_5= 0;
char query_buffer[MAX_TEST_QUERY_LENGTH];
@@ -17147,7 +17147,7 @@ static void bug31418_impl()
MYSQL con;
my_bool is_null;
- int rc;
+ int rc= 0;
/* Create a new connection. */