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

[PHP]Modified cubrid_affected_rows's parameter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PHP-8.4.1, PHP-Apricot
    • Component/s: PHP Driver
    • Labels:
      None

      Description

      cubrid_affected_rows pass request resource at the first begging. However, in order to be compatible with MySQL, it changed its parameter.
      from

      {code}
      int cubrid_affected_rows ([ resource $result ] ){code}

      to

      {code}
      int cubrid_affected_rows ([ resource $conn_identifier ] ){code}

      But we need to be compatible with the previous version, so we make this function to support the following use:

      {code}
      int cubrid_affected_rows ( )
      int cubrid_affected_rows ( resource $result )
      int cubrid_affected_rows ( resource $conn_identifier ){code}

        Activity

        Hide
        hellohuizhang 张慧 added a comment -

        Commit rev on PHP-Apricot: 837

        Show
        hellohuizhang 张慧 added a comment - Commit rev on PHP-Apricot: 837
        Hide
        hellohuizhang 张慧 added a comment -

        Commit rev on PHP-8.4.1: 838

        Show
        hellohuizhang 张慧 added a comment - Commit rev on PHP-8.4.1: 838
        Hide
        hellohuizhang 张慧 added a comment -

        Commit rev on PHP-Apricot: 839

        Show
        hellohuizhang 张慧 added a comment - Commit rev on PHP-Apricot: 839
        Hide
        hellohuizhang 张慧 added a comment -

        Commit rev on PHP-8.4.1: 840

        Show
        hellohuizhang 张慧 added a comment - Commit rev on PHP-8.4.1: 840

          People

          • Assignee:
            hellohuizhang 张慧
            Reporter:
            hellohuizhang 张慧
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: