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

[Perl]Result of "SELECT 4 + '5.2'" will be round

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Perl-8.4.1
    • Component/s: Perl Driver
    • Labels:
      None

      Description

      Test Build:CUBRID 2008 R4.0 (8.4.0.2019) (64bit release build for linux_gnu)
      OS: Linux 64
      Description: Result of "SELECT 4 + '5.2'" will be round

      Repro Steps:

      perl simple_execute_01.pl
      

      Actual result

      not ok 3 - value3 ok
      #   Failed test 'value3 ok'
      #   at simple_execute_01.pl line 46.
      row_ref3 is 9
       # Looks like you failed 1 test of 3.
      

      Expect result

      csql> SELECT 4 + '5.2';
      
      === <Result of SELECT Command in Line 3> ===
      
                         4+'5.2'
      ==========================
           9.199999999999999e+00
      
      
      1 rows selected.
      

        Activity

        Hide
        hellohuizhang 张慧 added a comment -

        Result of "SELECT 4 + '5.2'" will be 9.2 in our driver.

        Show
        hellohuizhang 张慧 added a comment - Result of "SELECT 4 + '5.2'" will be 9.2 in our driver.
        Hide
        hellohuizhang 张慧 added a comment -

        Commit rev: 331

        Show
        hellohuizhang 张慧 added a comment - Commit rev: 331
        Hide
        zoujing ZouJing added a comment -

        Test build : CUBRID 2008 R4.0 (8.4.0.2019)
        OS: Linux 64bit
        Test Result: PASS
        so i close it

        Show
        zoujing ZouJing added a comment - Test build : CUBRID 2008 R4.0 (8.4.0.2019) OS: Linux 64bit Test Result: PASS so i close it

          People

          • Assignee:
            zoujing ZouJing
            Reporter:
            zoujing ZouJing
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: