main logo
Subject: Re: Zeros in text (was: FAQ: Re: V4RB 1.9.1b11)
Author: jda
Posted: 2002/05/27 16:18:50
 
View Entire Thread
New Search


>
> >
>> Well, it's too late for that. My distributed code uses text fields to
>> store, for example, aliases. These can have zeros (RB allows zeros in
>> strings). Since the prohibition regarding zeros is not in the
>> Valentina documentation anywhere (I went back to look at the kernel
>> and RB docs for the description of text, and found nothing about not
>> using zeros) I suspect others may have as well. Therefore, I would
>> ask that you do your best in the future to not use strlen() for text
>> fields if it can be avoided -- it will certainly break some code.
>
>For now this works.
>
>But will be great if you will change in next update to BLOB.
>

Well, I've converted my lists from text fields to blobs for this
release -- it's too late to change the underlying db structure for
older versions for now, because it would require too much testing
before the deadline.

If you do change the code to change the "zero-tolerance" policy
(sorry, couldn't help it), please let me and the list know -- it will
help us track down any odd behavior that arises.

Jon
 
©2002 jda
<-- Prior Message New Search Next Message -->