Mam takiego if'a
IF `last_register` != NULL AND `last_register` + 900 > `unix_time` THEN
SET info = 2;
ELSE
SET info = 1;
END IF;
w zmiennej last_register jest wartość 1307698099, a unix_time 1307698348
i wykonuje się else, nie wiem czemu