Hello,
Bruce Momjian <bruce@momjian.us>
Hello,
Two patches included:
- the first one enables the use of bool variables in fields which might
become NULL.
Up to now the lib told you that NULL is not a bool variable, even if
you provide a indicator.
- the second patch checks whether a value is null and issues an error if
no indicator is provided.
Sidenote: IIRC, the variable should be left alone if the value is NULL.
ECPGlib sets it's value to 0 on NULL. Is this a violation of the
standard?
Regards
Christof
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/ChangeLog | modified | +5 −0 |
| src/interfaces/ecpg/include/ecpgerrno.h | modified | +1 −0 |
| src/interfaces/ecpg/lib/ecpglib.c | modified | +14 −0 |