João Henrique Freitas writes:
 > "Name" is type binary has a string like "xorg.conf".
 > 
 > You see any problem if binary does not return a string? Yes, binary
 > data could be a image. It will only return a without sense string.
 > 

Well, I figured that if you expect a field to contain null-terminated
strings you wouldn't use BLOB or BINARY in the first place. From a
practical point of view, BLOB or BINARY fields are allowed to contain
sequences of characters which are not zero-terminated. We could always
add a NULL byte just in case, but I somehow feel you should rather use
the correct field type if you expect to store strings. But then, this
is just my opinion and I'm open for discussions.

regards,
Markus

-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users

Reply via email to