Home » U++ Library support » U++ SQL » Bugfix: DBF Logical field can contain T/F/? values
Bugfix: DBF Logical field can contain T/F/? values [message #43211] |
Sun, 08 June 2014 18:36 |
zsolt
Messages: 697 Registered: December 2005 Location: Budapest, Hungary
|
Contributor |
|
|
uppsrc/plugin/dbf/dbf.cpp:
@@ -228,17 +228,18 @@ String DbfStream::Field::Format(Value value, byte charset) const
temp[6] = s[1];
temp[7] = s[0];
#endif
return temp;
}
case 'L': {
int cond = value;
- return cond && !IsNull(cond) ? "A" : "N";
+ if(IsNull(cond)) return "?";
+ return cond ? "T" : "F";
}
default: {
NEVER();
return Null;
}
}
}
|
|
|
Goto Forum:
Current Time: Sat Apr 27 18:37:00 CEST 2024
Total time taken to generate the page: 0.04261 seconds
|