Bug #71418 [Opn->Fbk]: The loop and enter information on the type blob sub_type text fields db firebir

From: Date: Wed, 20 Jan 2016 20:04:38 +0000
Subject: Bug #71418 [Opn->Fbk]: The loop and enter information on the type blob sub_type text fields db firebir
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198809@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71418&edit=1 ID: 71418 Updated by: ab@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: Open +Status: Feedback Type: Bug Package: PDO Firebird Operating System: Windows PHP Version: Irrelevant Block user comment: N Private report: N New Comment: @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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#198809) next »