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:
cxl 2009-08-24 13:39:04 +00:00
commit 42ca8f5a39

View file

@ -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));