• Alexander Barkov's avatar
    Bug#57279 updatexml dies with: Assertion failed: str_arg[length] == 0 · 57a40b19
    Alexander Barkov authored
    Problem: crash in Item_float constructor on DBUG_ASSERT due
    to not null-terminated string parameter.
    
    Fix: making Item_float::Item_float non-null-termintated parameter safe:
    - Using temporary buffer when generating error
    
    modified:
      @ mysql-test/r/xml.result
      @ mysql-test/t/xml.test
      @ sql/item.cc
    57a40b19
item.cc 213 KB