the IF statement can't recognize a "NULL" in a column of INT?
FETCH c INTO x;
# lets say the first x = NULL.
IF x = NULL THEN
That IF statement won't execute
IF x = 1 THEN
the If statement executes. What's up with that?