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

[Ruby] The con.glo_new() function is not supported by ruby driver

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Ruby 8.4.4.0002
    • Fix Version/s: Ruby 8.4.4.0002
    • Component/s: Ruby Driver
    • Labels:
    • Environment:
      • OS: Linux 64
      • CUBRID: 8.4.4.0227
      • Ruby: 1.8.7, 1.9.3
      • Driver: cubrid-ruby 8.4.4.0002 (20130917)

      Description

      The glo_new() function is now not available on connection class, but we can read the glo_new introdunction on the ruby driver manual http://www.cubrid.org/wiki_apis/entry/cubrid-ruby-api-documentation#glo_new

      {code}
      con = Cubrid.connect('demodb','localhost','33000','dba','')
      con.query("DROP TABLE IF EXISTS attachfile")
      con.query("CREATE Table attachfile under db_user (name string)")

      glo = con.glo_new('attachfile', 'pic.jpg'){code}

      output

      NoMethodError: undefined method `glo_new' for host: localhost, port: 33000, db: demodb, user: dba:Cubrid::Connection
      

      If the glo_new function is not supported anymore, we need to update the manual

        Activity

        Hide
        cn15800 谢韦华[Bert] added a comment -

        This is doc error, this interface(cci_glo_new) has been deleted.

        Show
        cn15800 谢韦华[Bert] added a comment - This is doc error, this interface(cci_glo_new) has been deleted.
        Hide
        cn15800 谢韦华[Bert] added a comment -

        fixed

        Show
        cn15800 谢韦华[Bert] added a comment - fixed
        Hide
        ryin005 Ray Yin added a comment -

        The glo_new() function is removed from the connection class, the manual is modified

        Close the issue

        Show
        ryin005 Ray Yin added a comment - The glo_new() function is removed from the connection class, the manual is modified Close the issue

          People

          • Assignee:
            cn15800 谢韦华[Bert]
            Reporter:
            ryin005 Ray Yin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: