1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Extending tests for detach (found a memory issue in it, this fixes that and now tests it).

client/mysqlslap.c:
  Fix memory allocation
mysql-test/t/mysqlslap.test:
  Extend test for --detach
This commit is contained in:
unknown
2007-08-20 13:03:50 -07:00
parent 8d025792a5
commit c8b9315db3
2 changed files with 9 additions and 0 deletions

View File

@@ -1804,6 +1804,13 @@ limit_not_met:
{
mysql_close(mysql);
if (!(mysql= mysql_init(NULL)))
{
fprintf(stderr,"%s: mysql_init() failed ERROR : %s\n",
my_progname, mysql_error(mysql));
exit(0);
}
if (slap_connect(mysql))
goto end;
}