| 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 NULL | Jithin Emmanuel | 19 Mar |
| • Re: checking NULL | Warren Young | 19 Mar |
| • Re: checking NULL | Jithin Emmanuel | 19 Mar |
| • Re: checking NULL | Warren Young | 19 Mar |
| • Re: checking NULL | Jithin Emmanuel | 20 Mar |
| • Re: checking NULL | Warren Young | 20 Mar |
| • Re: checking NULL | Jithin Emmanuel | 20 Mar |
| • Re: checking NULL | Jithin Emmanuel | 20 Mar |
| • Re: checking NULL | Warren Young | 20 Mar |
