• unknown's avatar
    Bug #31758 inet_ntoa, oct crashes server with null+filesort · 899d0cff
    unknown authored
    Item_func_inet_ntoa and Item_func_conv inherit 'maybe_null' flag from an
    argument, which is wrong.
    Both can be NULL with notnull arguments, so that's fixed.
    
    
    mysql-test/r/func_str.result:
      Bug #31758 inet_ntoa, oct crashes server with null+filesort
      
      test case
    mysql-test/t/func_str.test:
      Bug #31758 inet_ntoa, oct crashes server with null+filesort
      
      test result
    sql/item_strfunc.h:
      Bug #31758 inet_ntoa, oct crashes server with null+filesort
      
      missing maybe_null flags set for Item_func_inet_ntoa and Item_func_conv
    899d0cff
item_strfunc.h 20.6 KB