Skip to content
Snippets Groups Projects
  • Mergen Imeev's avatar
    fa7e6f7d
    sql: ignore \0 in string passed to C-function · fa7e6f7d
    Mergen Imeev authored
    Prior to this patch string passed to user-defined C-function from SQL
    was cropped in case it contains '\0'. At the same time, it wasn't
    cropped if it is passed to the function from BOX. Now it isn't cropped
    when passed from SQL.
    
    Part of #5938
    fa7e6f7d
    History
    sql: ignore \0 in string passed to C-function
    Mergen Imeev authored
    Prior to this patch string passed to user-defined C-function from SQL
    was cropped in case it contains '\0'. At the same time, it wasn't
    cropped if it is passed to the function from BOX. Now it isn't cropped
    when passed from SQL.
    
    Part of #5938