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

[PHP]Unify the return value of cubrid_fetch* when they fail

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: PHP Driver
    • Labels:
      None

      Description

      The following functions return FALSE if there are no rows and return NULL if they are unsuccessful.

      Reason: MySQL, PostgreSQL and Oracle return FALSE if there are no more rows. So we return FALSE when there are no more rows. For distinguishing this situation, we return NULL when they are unsuccessful.

        Activity

        Hide
        hellohuizhang 张慧 added a comment -

        Commit rev: 350

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: