¿mysql_stmt_bind_param under windows bug?

2006-06-26 Thread Arias Gonzalez, Javier
I tried to execute the example code (see below) from the function mysql_stmt_execute I found in mysql 4.1 documentation (http://dev.mysql.com/doc/refman/4.1/en/mysql-stmt-execute.html). This source code runs perfect under linux red hat with version 4.1.7 but it prints out an error if I try to

Re: ¿mysql_stmt_bind_param under windows bug?

2006-06-26 Thread Chris White
On Monday 26 June 2006 01:04 am, Arias Gonzalez, Javier wrote: memset(bind, 0, sizeof(bind)); This is probably your issue right here. You've already got bind[3] with storage allocation for 3 MYSQL_BIND's. Now you're filling bind[0] with 0's, effectively erasing the allocated MYSQL_BIND in