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

[PHP]Add cubrid_set_query_timeout and cubrid_get_query_timeout methods in PHP driver 8.4.1

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PHP-8.4.1
    • Component/s: PHP Driver
    • Labels:
      None
    • Environment:

      CUBRID 8.4.1

      Description

      If database queries are taking too long to perform, and your application is becoming unresponsive, you can configure a timeout for database queries.
      We add two functions (cubrid_get_query_timeout and cubrid_set_query_timeout) to get and set the query timeout of database queries.

      bool cubrid_set_query_timeout(resource $result, int $timeout): This function is used to set query timeout of the specified result resource according to the given $result.
      result: The result resource that is being evaluated.
      timeout: millisecond
      int cubrid_get_query_timeout(resource $result): This function get the value of query timeout with the specified result resource.

        Issue Links

          Activity

          Hide
          xiaoshan78 李成龙[이성룡] added a comment -

          commit rev: 295

          Show
          xiaoshan78 李成龙[이성룡] added a comment - commit rev: 295
          Hide
          hellohuizhang 张慧 added a comment -

          We have fixed this issue on PHP-8.4.1

          Show
          hellohuizhang 张慧 added a comment - We have fixed this issue on PHP-8.4.1

            People

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

              Dates

              • Created:
                Updated:
                Resolved: