Uploaded image for project: 'CUBRID APIs'
  1. CUBRID APIs
  2. APIS-657

[PHP][Manual] cubrid_unbuffered_query() returns a cubrid request resource but not a connection resource

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: PHP 8.4.4.0001
    • Fix Version/s: PHP 8.4.4.0002
    • Component/s: PHP Driver
    • Labels:
    • Environment:
      • OS: Linux
      • CUBRID: 8.4.4.1001
      • PHP: 5.5.0
      • Driver: cubrid-php 8.4.4.0002 (20130903)

      Description

      • Test Code
        <?php
        
        $connect_url = "CUBRID:10.34.64.57:33367:demodb:::";
        $conn = cubrid_connect_with_url($connect_url, "dba", "");
        
        @cubrid_execute($conn, "drop table if exists tbl");
        cubrid_execute($conn, "create table tbl(id int)");
        cubrid_execute($conn, "insert into tbl values(1)");
        
        $unbuff=cubrid_unbuffered_query("select * from tbl", $conn);
        
        var_Dump($unbuff);
        
        ?>
        

      Result: resource(6) of type (CUBRID Request)

      The manual should be updated

        Activity

        Hide
        cn15800 谢韦华[Bert] added a comment - - edited

        fixed.

        Show
        cn15800 谢韦华[Bert] added a comment - - edited fixed.
        Hide
        ryin005 Ray Yin added a comment -

        The manual has been updated http://jp1.php.net/manual/en/function.cubrid-unbuffered-query.php

        Close the issue

        Show
        ryin005 Ray Yin added a comment - The manual has been updated http://jp1.php.net/manual/en/function.cubrid-unbuffered-query.php Close the issue

          People

          • Assignee:
            cn15800 谢韦华[Bert]
            Reporter:
            ryin005 Ray Yin
            CC (Referrer):
            andrew liu, Isaiah Choe, 户向伟, 范再强
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: