From:             nerve at gmx dot net
Operating system: Gentoo Linux
PHP version:      5.1.2
PHP Bug Type:     PDO related
Bug description:  Can't execute "show master status"

Description:
------------
The problem is the same problem as the bug with the 
nuber 36347, but the solution is for this statemnts not practicable..

What to do with the statement 'show master status' or 'show slave status'
?
This statements return a result set, and im interessed in the result set.
You actually can't use PDO::query() with this statements:

HY000:2030:This command is not supported in the prepared statement
protocol yet

Using of PDO::exec() isn't a option, i want the result set!

Please help me !
Releases: php 5.1.2 on gentoo linux with mysql 5.0.18
Daniel Heule



Reproduce code:
---------------
try to execute the MySql statement 'show master status' with pdo ...

Expected result:
----------------
the result set of this query ....

Actual result:
--------------
an sql error

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

Reply via email to