• unknown's avatar
    Portability fixes · 76d444fc
    unknown authored
    Fixes while reviewing new pushed code
    NULL as argument to encrypt/decrypt should return NULL without a warning
    
    
    client/mysqldump.c:
      Cleanup
      Ensure we free allocated memory
      Portability fixes
    client/mysqltest.c:
      Cleanup of code during review
      Portability fixes (Don't use 'bool')
    mysql-test/r/func_encrypt.result:
      NULL as argument to encrypt/decrypt should return NULL without a warning
    mysql-test/r/func_encrypt_nossl.result:
      Added test of NULL argument
    mysql-test/t/func_encrypt_nossl.test:
      Added test of NULL argument
    sql/handler.cc:
      Cleanup during code review
    sql/item_strfunc.cc:
      NULL as argument to encrypt/decrypt should return NULL without a warning
    sql/sql_parse.cc:
      Fix wrong merge (fix was not needed as the previous code was reverted)
    sql/sql_table.cc:
      Removed extra new line
    76d444fc
func_encrypt.result 9.99 KB