• unknown's avatar
    Fix calculation for length of LPAD() and RPAD() reported to · 657a5346
    unknown authored
    client via mysql_fetch_fields(). (Bug #11311)
    
    
    mysql-test/r/func_str.result:
      Add new results
    mysql-test/t/func_str.test:
      Add new regression test
    sql/item_strfunc.cc:
      Fix length reported for LPAD() and RPAD() -- they always truncate to the
      length that is given.
    657a5346
item_strfunc.cc 73.6 KB