Bug #61613 [Com]: No PDO error if first SQL statement of a group is valid.

From: Date: Tue, 31 Dec 2013 10:40:45 +0000
Subject: Bug #61613 [Com]: No PDO error if first SQL statement of a group is valid.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183509@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61613&edit=1 ID: 61613 Comment by: michal dot kikta at gmail dot com Reported by: trebitzki at gmx dot net Summary: No PDO error if first SQL statement of a group is valid. Status: Assigned Type: Bug Package: PDO related Operating System: Mac OS X PHP Version: 5.3.10 Assigned To: mysql Block user comment: N Private report: N New Comment: really annoying bug causing serious production hazards if we want to optimize by batching multiple queries is there any workaround except rewriting our database layer to mysqli or writing stored procedure on our mysql servers? Previous Comments: ------------------------------------------------------------------------ [2013-05-08 12:50:08] danieldummy at hotmail dot com issue also happened in MSSQL(PDO DBLib) on Ubuntu with PHP 5.4.14-1~precise+1 ------------------------------------------------------------------------ [2012-11-04 05:19:37] invisiblexman2010 at gmail dot com I have the same issue, php 5.4.0, pdo_mysql 5.5.19, for Win64 (x86) ------------------------------------------------------------------------ [2012-10-29 09:42:41] verger dot antoine at gmail dot com Hi, I have the same issue on 5.4.6 on Ubuntu 12.04 and PDO_MYSQL 5.5.24. Di you have any idea where it comes from ? I had a look at the source from PDO and also from MySQL C API but no clue and above all too hard to find the origin. I saw that the issue has been assigned to mysql by aharvey@php.net but I don't why exactly. Could you explain me ? Antoine ------------------------------------------------------------------------ [2012-08-28 22:09:08] angel dot koilov at gmail dot com Same issue debian wheezy, php 5.4.4-4 ------------------------------------------------------------------------ [2012-08-01 19:40:01] jonwage at gmail dot com I am experiencing the same issue. Tested on 5.3.5 and 5.3.10 currently. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=61613 -- Edit this bug report at https://bugs.php.net/bug.php?id=61613&edit=1

« previous php.bugs (#183509) next »