Re: Question about ECPGset_noind_null() and ECPGis_noind_null()

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Question about ECPGset_noind_null() and ECPGis_noind_null()
Дата
Msg-id 4B05ACDD.2080603@dunslane.net
обсуждение исходный текст
Ответ на Re: Question about ECPGset_noind_null() and ECPGis_noind_null()  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Re: Question about ECPGset_noind_null() and ECPGis_noind_null()
Список pgsql-hackers

Boszormenyi Zoltan wrote:
>
> Is it *really* a bug? I recalled a comment from my C teacher
> in '92 or '93 about this exact issue, that the prefix/postfix
> increment/decrement operators are executed in the
> statement in an implementation-defined order, 
>   

Not if they come after a short-circuit operator such as && - after all, 
that's what short-circuit evaluation implies. If the left hand operand 
of && is false the right hand should not be evaluated at all.

cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Boszormenyi Zoltan
Дата:
Сообщение: Re: Question about ECPGset_noind_null() and ECPGis_noind_null()
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Question about ECPGset_noind_null() and ECPGis_noind_null()