Skip to content
  • Eloy Lafuente (stronk7)'s avatar
    d0b09c8d
    MDL-53944 dml: make char2real() for mysql to support decimals · d0b09c8d
    Eloy Lafuente (stronk7) authored
    - With the patch, 6 positions of scale accuracy are guaranteed
      per individual casted value.
    - Backed with unit tests, both for varchar and clob.
    - Added 2 missing tests about uses of the method with params
      and values.
    
    Note: 6 was picked because looking to all databases implementation
    postgres was found to be casting to real, aka, 6.
    d0b09c8d
    MDL-53944 dml: make char2real() for mysql to support decimals
    Eloy Lafuente (stronk7) authored
    - With the patch, 6 positions of scale accuracy are guaranteed
      per individual casted value.
    - Backed with unit tests, both for varchar and clob.
    - Added 2 missing tests about uses of the method with params
      and values.
    
    Note: 6 was picked because looking to all databases implementation
    postgres was found to be casting to real, aka, 6.
Loading