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

[ADO.NET] Cannot not get the ServerVersion from CUBRIDConnection

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: ADO.NET 8.4.4.0001
    • Fix Version/s: ADO.NET 9.2.0.0001
    • Component/s: ADO.NET
    • Labels:
    • Environment:
      • OS: Win7 32 bit
      • CUBRID: 8.4.4.0227
      • Driver: cubrid-ado.net 8.4.4.0001 (20130822)
      • Framework: .NET 4.0

      Description

      • Brief: CUBRIDConnection.ServerVersion returns null when the connection is opened
      • Test Code: {code}
        CUBRIDConnection conn = new CUBRIDConnection();
        conn.ConnectionString = "server=localhost;database=demodb;port=33000;user=dba;password=";
        conn.Open();
        Console.WriteLine(conn.ServerVersion);
        conn.Close();{code}

      Expected Result: CUBRID 8.4.4.0227

      Actual Result: null

        Activity

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

        I test the issue with cubrid(10.34.64.57), it is ok.The test program can print the server version.

        If the cubrid's response is null, the version will be null.

        {code}
        issue cases execution started..
        8.4.4.0227
        issue cases execution end...{code}
        Show
        cn15800 谢韦华[Bert] added a comment - I test the issue with cubrid(10.34.64.57), it is ok.The test program can print the server version. If the cubrid's response is null, the version will be null. {code} issue cases execution started.. 8.4.4.0227 issue cases execution end...{code}
        Hide
        cn15800 谢韦华[Bert] added a comment - - edited

        9.2.0

        {code}
        issue cases execution started...
        9.2.0.0125
        issue cases execution end...
        请按任意键继续. . .
        请按任意键继续. . .{code}
        Show
        cn15800 谢韦华[Bert] added a comment - - edited 9.2.0 {code} issue cases execution started... 9.2.0.0125 issue cases execution end... 请按任意键继续. . . 请按任意键继续. . .{code}
        Hide
        ryin005 Ray Yin added a comment -
        • Test OS: Win 32
        • CUBRID: 9.2.0.0149
        • Driver: cubrid-ado.net 9.2.0.0002 (20130911)
        • Framework: .NET 4.0

        Test Result: Pass

        Close the issue

        Show
        ryin005 Ray Yin added a comment - Test OS: Win 32 CUBRID: 9.2.0.0149 Driver: cubrid-ado.net 9.2.0.0002 (20130911) Framework: .NET 4.0 Test Result: Pass 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: