Re: [Firebird-docs] 2.5.4 ReleaseNotes P.73

2015-08-19 Thread Mark Rotteveel
On Wed, 19 Aug 2015 14:40:42 +0200, Paul Vinkenoog wrote: >> The way I read it, "set the XSQLVAR.sqlind to NOT NULL and leave >> XSQLVAR.sqldata NULL." refers to the "? IS NULL" parameter, not the first >> parameter ("SOME_COL = ?"). > > If you read it in context (see below), you see that param1

Re: [Firebird-docs] 2.5.4 ReleaseNotes P.73

2015-08-19 Thread Paul Vinkenoog
Mark Rotteveel wrote: > On Wed, 19 Aug 2015 11:22:35 +0200, Paul Vinkenoog > wrote: > > Hi all, > > > >> > I think this is mistake, isn't it? Abount "SOME_COL = ? OR ? IS NULL > >> > Predication" > >> > > >> > --- > >> > • If “param1” is not NULL, the language interface is required to > >> > ass

Re: [Firebird-docs] 2.5.4 ReleaseNotes P.73

2015-08-19 Thread Mark Rotteveel
On Wed, 19 Aug 2015 11:22:35 +0200, Paul Vinkenoog wrote: > Hi all, > >> > I think this is mistake, isn't it? Abount "SOME_COL = ? OR ? IS NULL >> > Predication" >> > >> > --- >> > • If “param1” is not NULL, the language interface is required to >> > assign the correct value for the first paramet

Re: [Firebird-docs] 2.5.4 ReleaseNotes P.73

2015-08-19 Thread Paul Vinkenoog
Hi all, > Tsutomu is right. param1 is the parameter with a 'normal' SQL data type > (i.e. not SQL_NULL). So if it is not NULL, XSQLVAR.sqldata should point > to the value and XSQLVAR.sqlind should be set to 0 (indicating NOT NULL). To be exact: XSQLVAR.sqlind should *point to* a 0 value. Paul -

Re: [Firebird-docs] 2.5.4 ReleaseNotes P.73

2015-08-19 Thread Paul Vinkenoog
Hi all, > > I think this is mistake, isn't it? Abount "SOME_COL = ? OR ? IS NULL > > Predication" > > > > --- > > • If “param1” is not NULL, the language interface is required to > > assign the correct value for the first parameter, set the > > XSQLVAR.sqlind to NOT NULL and leave XSQLVAR.sqldata

Re: [Firebird-docs] 2.5.4 ReleaseNotes P.73

2015-08-18 Thread Mark Rotteveel
On Wed, 19 Aug 2015 09:23:20 +0900, Tsutomu Hayashi wrote: > Hi All > > Now I am translating version2.5.4 ReleaseNotes to Japanese. > > I think this is mistake, isn't it? Abount "SOME_COL = ? OR ? IS NULL > Predication" > > > --- > • If “param1” is not NULL, the language interface is required

[Firebird-docs] 2.5.4 ReleaseNotes P.73

2015-08-18 Thread Tsutomu Hayashi
Hi All Now I am translating version2.5.4 ReleaseNotes to Japanese. I think this is mistake, isn't it? Abount "SOME_COL = ? OR ? IS NULL Predication" --- • If “param1” is not NULL, the language interface is required to assign the correct value for the first parameter, set the XSQLVAR.sqlind to N