mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
PostgreSQL: PGSQL bool value is now converted to text on U++ side (best of bad solutions...)
git-svn-id: svn://ultimatepp.org/upp/trunk@1531 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6a695d1eae
commit
42ca8f5a39
1 changed files with 1 additions and 1 deletions
|
|
@ -549,7 +549,7 @@ void PostgreSQLConnection::GetColumn(int i, Ref f) const
|
|||
f.SetValue(atof(s));
|
||||
break;
|
||||
case BOOL_V:
|
||||
f.SetValue(*s == 't' ? true : false);
|
||||
f.SetValue(*s == 't' ? "1" : "0");
|
||||
break;
|
||||
case DATE_V:
|
||||
f.SetValue(sDate(s));
|
||||
|
|
|
|||
Loading…
Reference in a new issue