summaryrefslogtreecommitdiff
path: root/ext/sybase/php_sybase_db.c
diff options
context:
space:
mode:
authorZak Greant <zak@php.net>2002-10-09 12:33:40 +0000
committerZak Greant <zak@php.net>2002-10-09 12:33:40 +0000
commit0ecf32f75044c42113acdd389dab95e20dd1cf59 (patch)
tree04fac5dcce1fe480177c97938591645f5bde9dd2 /ext/sybase/php_sybase_db.c
parenta15877930c0d1f60bb1c67a2220afeec0842f1d7 (diff)
downloadphp-git-0ecf32f75044c42113acdd389dab95e20dd1cf59.tar.gz
Possible fix for bug #19529 (thanks Rasmus, Arjen and Monty)
Major changes to _restore_connection_defaults - added code block to finds and releases the active mysql result (if any) - this should prevent the 'Commands out of sync' error that would be raised when a query is made when unfreed results exist Minor changes to _restore_connection_defaults - replaced calls to mysql_real_query with mysql_query - we probably should not be using mysql_real_query without checking to see if we have a version that supports the function. - given that we control the query strings here and do not need to worry about binary safety, I am using mysql_query instead - see the bug report for further discussion
Diffstat (limited to 'ext/sybase/php_sybase_db.c')
0 files changed, 0 insertions, 0 deletions