diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-08-19 12:25:00 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-08-19 12:25:00 +0300 |
commit | f3fcf5f45c9c09242bfb8762a88c26238458e4c2 (patch) | |
tree | 914f1a5d9bd38b9f9d09d0c39306c80c00e21842 /tests | |
parent | 475f69b98587c2a0842e3fcbfe515e4362ded973 (diff) | |
parent | 17980e35fafdf0b05c89c11ecafbea96e1cfc5e5 (diff) | |
download | mariadb-git-f3fcf5f45c9c09242bfb8762a88c26238458e4c2.tar.gz |
Merge 10.5 to 10.6
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mysql_client_test.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c index 59ed669217d..9c18667614b 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; @@ -18209,9 +18209,9 @@ static void test_bug40365(void) if (!opt_silent) fprintf(stdout, "\ntime[%d]: %02d-%02d-%02d ", i, tm[i].year, tm[i].month, tm[i].day); - DIE_UNLESS(tm[i].year == 0); - DIE_UNLESS(tm[i].month == 0); - DIE_UNLESS(tm[i].day == 0); + DIE_UNLESS(tm[i].year == 0); + DIE_UNLESS(tm[i].month == 0); + DIE_UNLESS(tm[i].day == 0); } mysql_stmt_close(stmt); rc= mysql_commit(mysql); |