|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2016-12-05 16:45 UTC] dorin dot marcoci at gmail dot com
[2016-12-07 20:18 UTC] ab@php.net
[2016-12-07 20:18 UTC] ab@php.net
-Status: Open
+Status: Closed
[2016-12-07 20:19 UTC] ab@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 16:00:02 2025 UTC |
Description: ------------ The problem occurs when Firebird 3.0 is used. Using the "pdo_firebird" extension, the problem occurs. If you use the "Interbase" extension is run normally. Test script: --------------- <?php $pdo = new PDO('firebird:dbname=localhost:/tmp/TEST.FDB;charset=ISO8859_1', 'SYSDBA', 'masterkey', array( PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_CASE => PDO::CASE_LOWER, )); $stmt = $pdo->prepare("INSERT INTO animal (type) VALUES ('cat') RETURNING type"); $stmt->execute(); echo $stmt->fetchColumn(); ?> Expected result: ---------------- cat Actual result: -------------- SQLSTATE[HY000]: General error: -902 Dynamic SQL Error SQLDA error Wrong number of parameters (expected 1, got 0)