>>>>> "sdhawley" == sdhawley <sdhawley@stripped> writes:
sdhawley> I've been trying to get myodbc to work with php3 but I keep getting:
sdhawley> SQL error: [TCX][MyODBC]Using static cursors instead of requested type, SQL
sdhawley> state 01S02 in SQLSetStmtOption
sdhawley> I believe the problem is that in options.c(myodbc-2.50.24) line 178 you call
sdhawley> set_error which returns SQL_ERROR. In this case(sqlstate=01S02) you want to
sdhawley> return SQL_SUCCESS_WITH_INFO, check here to confirm this:
sdhawley> http://msdn.microsoft.com/library/sdkdoc/dasdk/odch77jm.htm. I think if you
sdhawley> change this one thing php3 and myodbc will start playing nice, but I only
sdhawley> started learning odbc this morning so forgive me if I'm wrong.
sdhawley> Thanks for a great db,
You are right; I have now changed this for next MyODBC release.
|• myodbc 2.50.24||Michael Widenius||1 Jul|