From:             wijet at o2 dot pl
Operating system: Linux x86
PHP version:      5.2.0
PHP Bug Type:     MySQLi related
Bug description:  Commands out of sync, php-latest don't resolve problem

Description:
------------
I have problem when I run query after this procedule call
mysqli_query('CALL my_procedure('.$foo.')')
I always get error 
"Commands out of sync; you can't run this command now",on mysql docs I
read that I must use mysqli_free_result but this do nothing.
I try use php-5.1.6 ,5.2.0 an 5.2 latest cvs but for all version i get
this error.


Reproduce code:
---------------
mysqli_query('CALL my_procedure('.$foo.')')

mysqli_query('SELECT * FROM test')

Expected result:
----------------
execute query

Actual result:
--------------
"Commands out of sync; you can't run this command now"

-- 
Edit bug report at http://bugs.php.net/?id=39630&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39630&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39630&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39630&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39630&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39630&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39630&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39630&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39630&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39630&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39630&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39630&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39630&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39630&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39630&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39630&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39630&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39630&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39630&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39630&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39630&r=mysqlcfg

Reply via email to