@@ -25,6 +25,24 @@ with this program; if not, write to the Free Software Foundation, Inc.,
2525
2626/* Utility function to verify the field members */
2727
28+ static int test_conc97 (MYSQL * mysql )
29+ {
30+ MYSQL_STMT * stmt = mysql_stmt_init (mysql );
31+ int rc ;
32+
33+ mysql_close (mysql );
34+
35+ rc = mysql_stmt_reset (stmt );
36+ FAIL_IF (!rc , "Error expected while resetting stmt" );
37+
38+ rc = mysql_stmt_close (stmt );
39+ check_stmt_rc (rc , stmt );
40+
41+ mysql = mysql_init (NULL );
42+
43+ return OK ;
44+ }
45+
2846static int test_conc83 (MYSQL * mysql )
2947{
3048 MYSQL_STMT * stmt ;
@@ -4844,6 +4862,7 @@ int test_notrunc(MYSQL *mysql)
48444862}
48454863
48464864struct my_tests_st my_tests [] = {
4865+ {"test_conc97" , test_conc97 , TEST_CONNECTION_NEW , 0 , NULL , NULL },
48474866 {"test_conc83" , test_conc83 , TEST_CONNECTION_NEW , 0 , NULL , NULL },
48484867 {"test_conc60" , test_conc60 , TEST_CONNECTION_DEFAULT , 0 , NULL , NULL },
48494868 {"test_notrunc" , test_notrunc , TEST_CONNECTION_DEFAULT , 0 , NULL , NULL },
0 commit comments