MDEV-28177: server_audit; Update the offset of dbName on the aarch64 platform.
On the aarch64 platform, MySQL 5.7.33 cannot install this version of the audit plugin, but X86_64 can run well。
This commit is contained in:
parent
9f4ba624e2
commit
7af133cc11
@ -2328,6 +2328,9 @@ int get_db_mysql57(MYSQL_THD thd, char **name, int *len)
|
||||
#ifdef __x86_64__
|
||||
db_off= 608;
|
||||
db_len_off= 616;
|
||||
#elif __aarch64__
|
||||
db_off= 632;
|
||||
db_len_off= 640;
|
||||
#else
|
||||
db_off= 0;
|
||||
db_len_off= 0;
|
||||
@ -2338,6 +2341,9 @@ int get_db_mysql57(MYSQL_THD thd, char **name, int *len)
|
||||
#ifdef __x86_64__
|
||||
db_off= 536;
|
||||
db_len_off= 544;
|
||||
#elif __aarch64__
|
||||
db_off= 552;
|
||||
db_len_off= 560;
|
||||
#else
|
||||
db_off= 0;
|
||||
db_len_off= 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user