mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Added resetting of replace_result patterns after --exec command in mysqltest (in order to be consistent with ordinary query execution).
This commit is contained in:
@ -866,6 +866,10 @@ int do_exec(struct st_query* q)
|
||||
while (fgets(buf, sizeof(buf), res_file))
|
||||
replace_dynstr_append_mem(ds, buf, strlen(buf));
|
||||
pclose(res_file);
|
||||
|
||||
if (glob_replace)
|
||||
free_replace();
|
||||
|
||||
if (record)
|
||||
{
|
||||
if (!q->record_file[0] && !result_file)
|
||||
|
Reference in New Issue
Block a user