No answer for previous mail : Use of mysql_use_result in ODBC driver

2001-02-14 Thread Patrick FICHE

Hi,

I had not answer at my first mail...
Sorry for posting it again but this is really important for us.

-Message d'origine-
De : Patrick FICHE [mailto:[EMAIL PROTECTED]]
Envoy : lundi 12 fvrier 2001 18:09
 : Mysql
Objet : Use of mysql_use_result in ODBC driver ?


Hi all,

I would like to change the do_query function in execute.c module in the ODBC
driver to use mysql_use_result function instead of mysql_store_result
function.

There is currently some comments with an eventual problem in case of
SQLRowCount function.

To my mind, the only thing would be that SQLRowCount could only return a
result on UPDATE, INSERT and DELETE statements but not anymore on SELECT
statement if you didn't retrieve all the rows.
But the return value of SQLRowCount function is driver-defined for SELECT
statements... So is it really a problem?

Thanks for your help

Patrick

__

Patrick Fiche - Prologue Software (France)
Software Engineer
Email: [EMAIL PROTECTED]
Internet : http://www.prologue-software.com
___




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Use of mysql_use_result in ODBC driver ?

2001-02-12 Thread Patrick FICHE

Hi all,

I would like to change the do_query function in execute.c module in the ODBC
driver to use mysql_use_result function instead of mysql_store_result
function.

There is currently some comments with an eventual problem in case of
SQLRowCount function.

To my mind, the only thing would be that SQLRowCount could only return a
result on UPDATE, INSERT and DELETE statements but not anymore on SELECT
statement if you didn't retrieve all the rows.
But the return value of SQLRowCount function is driver-defined for SELECT
statements... So is it really a problem?

Thanks for your help

Patrick

__

Patrick Fiche - Prologue Software (France)
Software Engineer
Email: [EMAIL PROTECTED]
Internet : http://www.prologue-software.com
___




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php