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

[PHP]when use cubrid_connect_with_url() in PHP, the user was changed to "PUBLIC" by mistake.

    Details

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

      Description

      When use cubrid_connect_with_url($conn_url [, string $userid [, string $passwd, ...]), the real user was changed to "PUBLIC" by mistake.

      Conditions:
      (1)the db_user part exists in $conn_url
      and
      (2)There is only one argument in cubrid_connect_with_url()

      Referrence:
      http://php.net/manual/en/function.cubrid-connect-with-url.php
      http://bts4.nhncorp.com/nhnbts/browse/CUBRIDSUS-9277

        Issue Links

          Activity

          Hide
          jinhu 李金虎 added a comment -

          modify the php_cubrid.c.
          When invoking the cubrid_connect_with_url() with the second argument which is userid, this userid is used preferentially.

          Committed revision 902.

          Show
          jinhu 李金虎 added a comment - modify the php_cubrid.c. When invoking the cubrid_connect_with_url() with the second argument which is userid, this userid is used preferentially. Committed revision 902.

            People

            • Assignee:
              jinhu 李金虎
              Reporter:
              jinhu 李金虎
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: