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 27b37e45b0
commit 798590b798
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)
{