• Alexander Barkov's avatar
    A post-fix for WL#2649 Number-to-string conversion · 67809619
    Alexander Barkov authored
    Fixing problems discovered by "mtr --embedded" and "mtr --ps"
    
    
      @ libmysqld/lib_sql.cc
       "mtr --embedded --do-test=ps" failed.
       Applying a similar change to the one previously done in protocol.cc,
       to make embedded version work the same with client/server version.
       (a bug in the WL#2649 patch)
    
      @ mysql-test/include/ctype_numconv.inc
      @ mysql-test/r/ctype_binary.result
      @ mysql-test/r/ctype_cp1251.result
      @ mysql-test/r/ctype_latin1.result
      @ mysql-test/r/ctype_ucs.result
    
      - Changing tinyint(30) to tinyint(4)
        due to problems with "mtr --ps"
        Possibly a bug in libmysql.cc, in function fetch_long_with_conversion().
        Zerofill buffer is to short.
    
      - Commenting tests with get_lock/release_lock
        "mtr --ps" failed for some reasons in ctype_cp1251.
    67809619
lib_sql.cc 31.1 KB