1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Bug #32307 mysqltest - does not detect illegal if syntax

This commit is contained in:
Magnus Svensson
2008-08-04 12:38:50 +02:00
parent dacfba06f8
commit c7de7ff0bd
9 changed files with 45 additions and 12 deletions

View File

@ -1883,7 +1883,6 @@ sub check_running_as_root () {
# the file will not return 0000
my $file_mode= (stat($test_file))[2] & 07777;
$ENV{'MYSQL_TEST_ROOT'}= "NO";
mtr_verbose("result: $result, file_mode: $file_mode");
if ($result eq "MySQL" && $file_mode == 0)
{