• unknown's avatar
    Bug #31758 inet_ntoa, oct crashes server with null+filesort · e722393f
    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
    e722393f
func_str.test 27.6 KB