Fix mistake in testing for null password; add contents with links to MaxAdmin reference guide.

This commit is contained in:
Martin Brampton
2015-06-24 21:44:02 +01:00
parent e4bde4402b
commit 011c932c7d
3 changed files with 32 additions and 4 deletions

View File

@ -134,9 +134,6 @@ typedef struct mysql_session {
#endif
} MYSQL_session;
/* The following can be compared using memcmp to detect a null password */
uint8_t null_client_sha1[MYSQL_SCRAMBLE_LEN]="";
/** Protocol packing macros. */
#define gw_mysql_set_byte2(__buffer, __int) do { \
(__buffer)[0]= (uint8_t)((__int) & 0xFF); \

View File

@ -46,6 +46,9 @@
#include <log_manager.h>
#include <netinet/tcp.h>
/* The following can be compared using memcmp to detect a null password */
uint8_t null_client_sha1[MYSQL_SCRAMBLE_LEN]="";
/** Defined in log_manager.cc */
extern int lm_enabled_logfiles_bitmask;
extern size_t log_ses_count[];