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
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
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
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
-
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
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
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