Bug #71418 [Fbk->NoF]: The loop and enter information on the type blob sub_type text fields db firebir
Edit report at https://bugs.php.net/bug.php?id=71418&edit=1
ID: 71418
Updated by: php-bugs@lists.php.net
Reported by: flaviotpd at gmail dot com
Summary: The loop and enter information on the type blob
sub_type text fields db firebir
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: PDO Firebird
Operating System: Windows
PHP Version: Irrelevant
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2016-01-20 20:04:36] ab@php.net
@flaviotpd, thanks for the report. Please specify also what you expect and what is the actual
result, the specific error. If any databases/tables need to be created, please include this into the
repro code. If there's a crash, please try to include a backtrace.
Thanks.
------------------------------------------------------------------------
[2016-01-20 12:11:47] flaviotpd at gmail dot com
Description:
------------
ok...
<?php
/*The loop and enter information on the type blob sub_type text fields using "PDO_FIREBIR"
and / or "ibase" the system is lost
*/
/*CREATE TABLE TESTE (
CAMPO BLOB SUB_TYPE 1 SEGMENT SIZE 4096
);
*/
$base = "localhost/3070:D:/Flavio/pessoal/projetos/firebird/data/BASEFB.FDB";
$con = new PDO("firebird:dbname=".$base,"SYSDBA","masterkey");
$valor = 'asdfghijklmnopqrstuvxwyz';
for($i = 0; $i <= 1; $i ++){
echo $i;
$valor += $i;
$ins = $con->prepare("INSERT INTO TESTE( CAMPO ) VALUES (:CAMPO)");
$ins->bindParam(":CAMPO", $valor );
$ins->execute();
}
Test script:
---------------
ok...
<?php
/*CREATE TABLE TESTE (
CAMPO BLOB SUB_TYPE 1 SEGMENT SIZE 4096
);
*/
$base = "localhost/3070:D:/Flavio/pessoal/projetos/firebird/data/BASEFB.FDB";
$con = new PDO("firebird:dbname=".$base,"SYSDBA","masterkey");
$valor = 'asdfghijklmnopqrstuvxwyz';
for($i = 0; $i <= 1; $i ++){
echo $i;
$valor += $i;
$ins = $con->prepare("INSERT INTO TESTE( CAMPO ) VALUES (:CAMPO)");
$ins->bindParam(":CAMPO", $valor );
$ins->execute();
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71418&edit=1
Thread (3 messages)