[Devel] unixodbc trim padding result
Alex Gradinar
Alex.Gradinar at cartel.md
Fri Mar 17 18:02:34 CET 2006
Hi,
I've write new patch for unixodbc module.
Some of DBMS pads CHAR fields with spaces.
This patch removing tail padding chars from result strings.
If don't remove spaces the data in memory will contain padding chars and
comparing won't be successed.
For example:
I use 'domain' module and if the string contains spaces the function
is_from_local returns False.
Best regards,
Alex Gradinar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unixodbc-res-trim.patch
Type: application/octet-stream
Size: 830 bytes
Desc: not available
Url : http://openser.org/pipermail/devel/attachments/20060317/6a8314a9/unixodbc-res-trim.obj
More information about the Devel
mailing list