List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:March 19 2009 5:33pm
Subject:Re: checking NULL
View as plain text  
On Mar 19, 2009, at 6:47 AM, Jithin Emmanuel wrote:

>                                if(nullField == row["name"]) {

	if (row["name"] == mysqlpp::null)

It looks like you're one of those with the habit of reversing the  
order of your equality test terms to avoid errors with "=" vs "==".   
I'm not sure you can get away with that with mysqlpp::null.
Thread
checking NULLJithin Emmanuel19 Mar
  • Re: checking NULLWarren Young19 Mar
    • Re: checking NULLJithin Emmanuel19 Mar
      • Re: checking NULLWarren Young19 Mar
        • Re: checking NULLJithin Emmanuel20 Mar
          • Re: checking NULLWarren Young20 Mar
            • Re: checking NULLJithin Emmanuel20 Mar
              • Re: checking NULLJithin Emmanuel20 Mar
              • Re: checking NULLWarren Young20 Mar