• unknown's avatar
    Fix crash caused by calling DES_ENCRYPT() without the --des-key-file · 01b66f3f
    unknown authored
    option having been passed to the server. (Bug #11643)
    
    
    sql/des_key_file.cc:
      Split initialization of mutex to new function, and make sure static
      initialization variable is initialized.
    sql/item_strfunc.cc:
      Make sure to initialize mutex before using it
    sql/mysql_priv.h:
      Add init_des_key_file() declaration
    mysql-test/r/func_des_encrypt.result:
      New BitKeeper file ``mysql-test/r/func_des_encrypt.result''
    mysql-test/t/func_des_encrypt.test:
      New BitKeeper file ``mysql-test/t/func_des_encrypt.test''
    BitKeeper/etc/config:
      Disable openlogging
    01b66f3f
func_des_encrypt.test 214 Bytes