| List: | MySQL++ | « Previous MessageNext Message » | |
| From: | lists | Date: | September 19 2008 8:01am |
| Subject: | RE: Trouble with datatype 'TIME' | ||
| View as plain text | |||
Hello again,
sorry for spoiling the list, my bad.
some more information on this issue:
a simple
cout << res[0][0] << endl;
is delivering the correct result.
I did not read the interface definition correctly:
mysqlpp::sql_time tt("07:42:43");
cout << tt.hour() << ":" << tt.minute() << ":" <<
tt.second() << endl;
hour(), minute() and second() are delivering unsigned char's, i.e. BYTEs, I have read
const char*.
Sorry again.
| Thread | ||
|---|---|---|
| • Trouble with datatype 'TIME' | lists | 19 Sep |
| • RE: Trouble with datatype 'TIME' | lists | 19 Sep |
| • Re: Trouble with datatype 'TIME' | Warren Young | 19 Sep |
