On Mon, Mar 08, 2010 at 10:46:03AM +0900, Takahiro Itagaki wrote:
There is a complier warning in ecpg/ecpglib/error.c on HEAD:
...
Instead, should we use if (strcmp(...) == 0) here?
Exactly. Thanks for spotting this, fixed in HEAD.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De,
There is a complier warning in ecpg/ecpglib/error.c on HEAD:
error.c: In function 'eecpg_raise_backend':
error.c:309: warning: comparison with string literal results in unspecified
behavior
It comes from the following coparison:
---
#define ECPG_SQLSTATE_ECPG_INTERNAL_ERROR YE000
char