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

[PHP]Return values are not good for cubrid_get_autocommit

    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_get_autocommit will return false when auto-commit is off and there is an error. It means we have to analysis the error message to ensure whether the auto-commit mode is off or there is an error.

      Absolutely we don't want this confusing return value. So we modify it. When the auto-commit mode is off, we will return false, and when there is an error, we will return nothing.

        Issue Links

          Activity

          Hide
          hellohuizhang 张慧 added a comment -

          Commit rev: 492

          Show
          hellohuizhang 张慧 added a comment - Commit rev: 492

            People

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

              Dates

              • Created:
                Updated:
                Resolved: