php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71418 The loop and enter information on the type blob sub_type text fields db firebir
Submitted: 2016-01-20 12:11 UTC Modified: 2016-01-31 04:22 UTC
From: flaviotpd at gmail dot com Assigned:
Status: No Feedback Package: PDO Firebird
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: flaviotpd at gmail dot com
New email:
PHP Version: OS:

 

 [2016-01-20 12:11 UTC] 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();
    }


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-20 20:04 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2016-01-20 20:04 UTC] 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-31 04:22 UTC] php-bugs at lists dot php dot net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC