Re: API documentation issue : inconsistency in mysql_real_connectdocumentation

2001-11-26 Thread Sinisa Milivojevic
M. A. Alves writes: > On Sat, 24 Nov 2001, Sinisa Milivojevic wrote: > Not quite: > > "For a successful connection, the return value is the same as the value > of the first parameter, unless you pass NULL for that parameter." (Manual) > > > Cheers, > > -- >, > M A R I O data miner, LIA

Re: API documentation issue : inconsistency in mysql_real_connectdocumentation

2001-11-26 Thread M. A. Alves
On Sat, 24 Nov 2001, Sinisa Milivojevic wrote: > I think that our documentation is quite clear on that issue. . . . Not quite: "For a successful connection, the return value is the same as the value of the first parameter, unless you pass NULL for that parameter." (Manual) That is, if you pass

API documentation issue : inconsistency in mysql_real_connectdocumentation

2001-11-24 Thread M. A. Alves
What is the semantics of passing a NULL mysql connection to mysql_real_connect()? Does it create a new handler? This is the only possible interpretation of the result value as documented. However it is also (abundantly) documented that the handle must be created with mysql_init(). So what stands?