summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_driver.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2005-07-11 14:14:56 +0000
committerAndrey Hristov <andrey@php.net>2005-07-11 14:14:56 +0000
commitb3aa24ff986d788acfa01004d6887ed6b47b7f8c (patch)
treee5326b0dfcafdf71c23b3353f29db3c32c2d3450 /ext/pdo_mysql/mysql_driver.c
parent97499262242f01eeee968fe69de461f5b2569cff (diff)
downloadphp-git-b3aa24ff986d788acfa01004d6887ed6b47b7f8c.tar.gz
fix a segfault with the following script:
<?php $dbh = new PDO('mysql:dbname=test;host=localhost', "root", "secret"); $what = 1; $stmt = $dbh->prepare('select a, b, c from t123 where a=:what'); $stmt->bindParam(1, $what, PDO_PARAM_INT, 12); var_dump($stmt->execute()); var_dump($stmt->fetchObject()); ?>
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
0 files changed, 0 insertions, 0 deletions