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

for mysql-test: fix mysqlhotcopy script to return a predictable exit code

This commit is contained in:
Sergei Golubchik
2014-09-16 13:35:28 +02:00
parent f18b1400d1
commit 33656e042d
2 changed files with 4 additions and 1 deletions

View File

@@ -56,6 +56,9 @@ WARNING: THIS PROGRAM IS STILL IN BETA. Comments/patches welcome.
# Documentation continued at end of file
# fix CORE::GLOBAL::die to return a predictable exit code
BEGIN { *CORE::GLOBAL::die= sub { warn @_; exit 1; }; }
my $VERSION = "1.23";
my $opt_tmpdir = $ENV{TMPDIR} || "/tmp";