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

[PHP]Remove the support of named placeholders for prepare statements

    Details

      Description

      PHP Driver has implemented named placeholders on the client and CUBRID engine doesn't support it. However, there will be many potential problems, for example, '?' and ':' can't be in a statement at the same time and if CUBRID engine changes it escape strings, the rule used now will not be correct.

      MySQL only supports positional placeholders and PDO has implemented named and positional placeholders.

      So we decide to remove the support of named placeholders.

      1. APIS-179_FIX01.creview
        52 kB
        张慧
      2. APIS-179_FIX02.creview
        49 kB
        张慧

        Activity

        Hide
        hellohuizhang 张慧 added a comment -

        Commit rev on PHP-Apricot: 552

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

        Commit rev on PHP-Apricot: 553

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

        Commit rev on PHP-8.4.2: 554

        Show
        hellohuizhang 张慧 added a comment - Commit rev on PHP-8.4.2: 554
        Hide
        hellohuizhang 张慧 added a comment -

        Commit rev on PHP-8.4.1: 555

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

        Commit rev on PHP-8.4.0: 556

        Show
        hellohuizhang 张慧 added a comment - Commit rev on PHP-8.4.0: 556

          People

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

            Dates

            • Created:
              Updated:
              Resolved: