mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge MySQL->MariaDB
* Finished Monty and Jani's merge * Some InnoDB tests still fail (because it's old xtradb code run against newer testsuite). They are expected to go after mergning with the latest xtradb.
This commit is contained in:
@ -28,10 +28,10 @@
|
||||
|
||||
#include "mysql_priv.h"
|
||||
|
||||
SQL_CRYPT::SQL_CRYPT(const char *password)
|
||||
SQL_CRYPT::SQL_CRYPT(const char *password, uint length)
|
||||
{
|
||||
ulong rand_nr[2];
|
||||
hash_password(rand_nr,password, (uint) strlen(password));
|
||||
hash_password(rand_nr,password, length);
|
||||
crypt_init(rand_nr);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user