|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77031 ATTR_EMULATE_PREPARES and multiquery
Submitted: 2018-10-18 09:48 UTC Modified: -
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: giolaza at gmail dot com Assigned:
Status: Open Package: PDO MySQL
PHP Version: 7.2.11 OS: Windows, Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-10-18 09:48 UTC] giolaza at gmail dot com
PDO::ATTR_EMULATE_PREPARES and connect->quety('UPDATE 1 SLQ; UPDATE 2 SQL') problem

Test script:
$q2[]='UPDATE `users` set `has_trialPeriod`=0,`last_changedBalance`=1539846901 where id=1';
$q2[]='UPDATE `users` set `balance_usd`=(`balance_usd`-99990000) where id=1';
$q=implode(';', $q2);


got err

Actual result:


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Mar 05 17:01:23 2021 UTC