diff options
| author | Andrey Hristov <andrey@php.net> | 2005-07-11 14:14:56 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2005-07-11 14:14:56 +0000 |
| commit | b3aa24ff986d788acfa01004d6887ed6b47b7f8c (patch) | |
| tree | e5326b0dfcafdf71c23b3353f29db3c32c2d3450 /ext/pdo_mysql/mysql_driver.c | |
| parent | 97499262242f01eeee968fe69de461f5b2569cff (diff) | |
| download | php-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
