| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Warren Young | Date: | December 3 2008 12:38pm |
| Subject: | Re: Problem with Null string type | ||
| View as plain text | |||
Brad Hubbard wrote: > mysqlpp::Null<mysqlpp::sql_char>, mobileNumber, ...snip... > mysqlpp::String &mob = it->mobileNumber; You mean either: mysqlpp::Null<mysqlpp::String> &mob = it->mobileNumber; or: mysqlpp::String &mob = it->mobileNumber.data; Actually, you don't have to use references if you don't want to. mysqlpp::String has reference-counted copies, so they're cheap. Also, I would use mysqlpp::sql_char here instead of String, just to avoid confusion.
| Thread | ||
|---|---|---|
| • Problem with Null string type | Brad Hubbard | 3 Dec |
| • Re: Problem with Null string type | Warren Young | 3 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 3 Dec |
| • Re: Problem with Null string type | Warren Young | 3 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 4 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 4 Dec |
| • Re: Problem with Null string type | Warren Young | 4 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 5 Dec |
| • Re: Problem with Null string type | Warren Young | 5 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 6 Dec |
| • Re: Problem with Null string type | Warren Young | 6 Dec |
| • Re: Problem with Null string type | Brad Hubbard | 6 Dec |
| • execute failed | bsingh | 8 Dec |
| • Re: execute failed | Warren Young | 8 Dec |
