Re: mysql_query() crashes for certain statement

2005-02-27 Thread Eric Lilja
"Eric Lilja" wrote: > Hello, I'm using MySQL 4.1.10 on Windows XP Pro SP2 (+ all patches on > windowsupdate). I'm using the MySQL C api in a program compiled with > MSVC++ 7.1. > > My program crashes when I call mysql_query() with the following string: > "SELECT * FROM my_recipes WHERE enum_col=

mysql_query() crashes for certain statement

2005-02-27 Thread Eric Lilja
Hello, I'm using MySQL 4.1.10 on Windows XP Pro SP2 (+ all patches on windowsupdate). I'm using the MySQL C api in a program compiled with MSVC++ 7.1. My program crashes when I call mysql_query() with the following string: "SELECT * FROM my_recipes WHERE enum_col=0" Yes, the MYSQL object is vali