mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MariaDB adjustments to innodb_gis tests.
Some test are still disabled as they provide different results, fail on different error or crash. Fixes also MDEV-14060 InnoDB: Foreign key constraint to geometry type does not work where test intentionally tried incorrect cases.
This commit is contained in:
15
mysql-test/include/kill_and_restart_mysqld.inc
Normal file
15
mysql-test/include/kill_and_restart_mysqld.inc
Normal file
@@ -0,0 +1,15 @@
|
||||
if (!$restart_parameters)
|
||||
{
|
||||
let $restart_parameters = restart;
|
||||
}
|
||||
|
||||
--let $_server_id= `SELECT @@server_id`
|
||||
--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.$_server_id.expect
|
||||
|
||||
--echo # Kill and $restart_parameters
|
||||
--exec echo "$restart_parameters" > $_expect_file_name
|
||||
--shutdown_server 0
|
||||
--source include/wait_until_disconnected.inc
|
||||
--enable_reconnect
|
||||
--source include/wait_until_connected_again.inc
|
||||
--disable_reconnect
|
Reference in New Issue
Block a user