Re: [os-libsynthesis] comparison of PHOTO data

2014-07-14 Thread Lukas Zeller
Hello Patrick, the patch is fine, anyway! Regarding differences between blob and string when it comes to compare On 14 Jul 2014, at 20:10, Patrick Ohly wrote: >> My first question would be why PHOTO was defined "string" here, not "blob"? > > I changed that in this commit: > > [...] > > Unf

Re: [os-libsynthesis] comparison of PHOTO data

2014-07-14 Thread Patrick Ohly
On Mon, 2014-07-14 at 18:15 +0200, Lukas Zeller wrote: > Hello Patrick, > > On 11 Jul 2014, at 15:27, Patrick Ohly wrote: > > > I'm currently investigating why a comparison of two PHOTO fields of > > different length returns "field equal". PHOTO is defined as: > > > > > merge="fillempty"/

Re: [os-libsynthesis] comparison of PHOTO data

2014-07-14 Thread Lukas Zeller
Hello Patrick, On 11 Jul 2014, at 15:27, Patrick Ohly wrote: > I'm currently investigating why a comparison of two PHOTO fields of > different length returns "field equal". PHOTO is defined as: > > My first question would be why PHOTO was defined "string" here, not "blob"? > I think the

[os-libsynthesis] comparison of PHOTO data

2014-07-11 Thread Patrick Ohly
Hello! I'm currently investigating why a comparison of two PHOTO fields of different length returns "field equal". PHOTO is defined as: I think the specific situation is that the two values contain a null byte somewhere in the middle, and the part before that is equal. I think the follow