| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | Gianni Pucciani | Date: | August 17 2004 3:51pm |
| Subject: | enum type | ||
| View as plain text | |||
Hi all,
I need to test a mysql enum field type inside my c++ function.
Can anyone tell me how this type in converted in c++ and wich type I have to use if I want
to test such a field?
I have the field STATUS of type ENUM('value1', 'value2') inside my db.
I've tried with the followng:
...
if (row[o] == "value1") do something...
...
I get no compilation errors, but the test doesn't work, always fails.
Thanks
Gianni
| Thread | ||
|---|---|---|
| • enum type | Gianni Pucciani | 17 Aug |
| • Re: enum type | Warren Young | 17 Aug |
