• Alexander Barkov's avatar
    Bug#57279 updatexml dies with: Assertion failed: str_arg[length] == 0 · 8f4af421
    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
    8f4af421
xml.test 23.1 KB