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

MDEV-32216 add tests for mariadb-dump --parallel

-  --parallel=N with or without --single-transaction
-  Error cases (too many connections, emulate error on one connection)
-  Windows specific test for named pipe connections
This commit is contained in:
Vladislav Vaintroub
2023-11-23 23:33:28 +01:00
parent 4532dae016
commit a5802ed51e
8 changed files with 77 additions and 1 deletions

View File

@@ -3399,6 +3399,9 @@ int select_export::send_data(List<Item> &items)
uint used_length=0,items_left=items.elements;
List_iterator_fast<Item> li(items);
DBUG_EXECUTE_IF("select_export_kill", {
thd->killed= KILL_QUERY;
});
if (my_b_write(&cache,(uchar*) exchange->line_start->ptr(),
exchange->line_start->length()))
goto err;