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

Fixed that NULL and 0 returns 0 instead of NULL

This is coded to not cause a speed impact on top level AND expressions where we don't care if an AND expression returns 0 or NULL
This commit is contained in:
monty@mashka.mysql.fi
2002-11-11 15:57:35 +02:00
parent b0f5c6d625
commit 876f3f4d30
13 changed files with 148 additions and 32 deletions

View File

@@ -204,7 +204,7 @@ else
fi
USER_OPTION=""
if test "x$USER" = "xroot"
if test -w / -o "$USER" = "root"
then
if test "$user" != "root" -o $SET_USER = 1
then