From:             [EMAIL PROTECTED]
Operating system: win32
PHP version:      4.2.0
PHP Bug Type:     MySQL related
Bug description:  multiple sql statements query doesn't work

try to execute this SQL with a single connection->execute(), but i can't
get it work (same SQL is executed correctly in MySQL using other
interfaces). 
To be sure it's the same SQL I display it with a echo in php, and
copy/paste it in my MySQL frontend (I use Mascon). 
values in SQL are only for example. 

"lock tables attiDeMinimis write; select @progr := numero from
attiDeMinimis WHERE id=0; select @progr := @progr + 1; insert
attiDeMinimis values
(@progr,"test","2002/05/29","DE","CO","",1000,1000,NULL,4); UPDATE
attiDeMinimis SET numero = @progr WHERE id=0; unlock tables;" 

multiple statements are ok with mssql.

reply from phplens.com:

This is a php mysql client library issue i suspect. If you are not happy
with this, perhaps you can submit a bug report to http://bugs.php.net
-- 
Edit bug report at http://bugs.php.net/?id=17499&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17499&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17499&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17499&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17499&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17499&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17499&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17499&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17499&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17499&r=globals

Reply via email to