Blame SOURCES/mysql-5.6.19-gcc49-aarch64-opt.patch

80384c
diff --git a/storage/perfschema/pfs_account.cc b/storage/perfschema/pfs_account.cc
80384c
index 405364a..ed3bef1 100644
80384c
--- a/storage/perfschema/pfs_account.cc
80384c
+++ b/storage/perfschema/pfs_account.cc
80384c
@@ -201,6 +201,13 @@ static void set_account_key(PFS_account_key *key,
80384c
   key->m_key_length= ptr - &key->m_hash_key[0];
80384c
 }
80384c
 
80384c
+#if defined(__aarch64__)
80384c
+PFS_account *
80384c
+find_or_create_account(PFS_thread *thread,
80384c
+		       const char *username, uint username_length,
80384c
+		       const char *hostname, uint hostname_length) __attribute__((optimize (1)));
80384c
+#endif
80384c
+
80384c
 PFS_account *
80384c
 find_or_create_account(PFS_thread *thread,
80384c
                          const char *username, uint username_length,
80384c
diff --git a/storage/perfschema/pfs_digest.cc b/storage/perfschema/pfs_digest.cc
80384c
index addfac1..68e76cd 100644
80384c
--- a/storage/perfschema/pfs_digest.cc
80384c
+++ b/storage/perfschema/pfs_digest.cc
80384c
@@ -168,6 +168,14 @@ static LF_PINS* get_digest_hash_pins(PFS_thread *thread)
80384c
   return thread->m_digest_hash_pins;
80384c
 }
80384c
 
80384c
+#if defined(__aarch64__)
80384c
+PFS_statement_stat*
80384c
+find_or_create_digest(PFS_thread *thread,
80384c
+                      PSI_digest_storage *digest_storage,
80384c
+                      const char *schema_name,
80384c
+                      uint schema_name_length) __attribute__((optimize (1)));
80384c
+#endif
80384c
+
80384c
 PFS_statement_stat*
80384c
 find_or_create_digest(PFS_thread *thread,
80384c
                       const sql_digest_storage *digest_storage,
80384c
diff --git a/storage/perfschema/pfs_host.cc b/storage/perfschema/pfs_host.cc
80384c
index 0c6f5cf..fc624d7 100644
80384c
--- a/storage/perfschema/pfs_host.cc
80384c
+++ b/storage/perfschema/pfs_host.cc
80384c
@@ -193,6 +193,11 @@ static void set_host_key(PFS_host_key *key,
80384c
   key->m_key_length= ptr - &key->m_hash_key[0];
80384c
 }
80384c
 
80384c
+#if defined(__aarch64__)
80384c
+PFS_host *find_or_create_host(PFS_thread *thread,
80384c
+                              const char *hostname, uint hostname_length) __attribute__((optimize (1)));
80384c
+#endif
80384c
+
80384c
 PFS_host *find_or_create_host(PFS_thread *thread,
80384c
                               const char *hostname, uint hostname_length)
80384c
 {
80384c
diff --git a/storage/perfschema/pfs_instr.cc b/storage/perfschema/pfs_instr.cc
80384c
index cf0e6fd..8682e04 100644
80384c
--- a/storage/perfschema/pfs_instr.cc
80384c
+++ b/storage/perfschema/pfs_instr.cc
80384c
@@ -1149,6 +1149,11 @@ LF_PINS* get_filename_hash_pins(PFS_thread *thread)
80384c
   @param create                       create a file instance if none found
80384c
   @return a file instance, or NULL
80384c
 */
80384c
+#if defined(__aarch64__)
80384c
+PFS_file*
80384c
+find_or_create_file(PFS_thread *thread, PFS_file_class *klass,
80384c
+                    const char *filename, uint len, bool create) __attribute__((optimize (1)));
80384c
+#endif
80384c
 PFS_file*
80384c
 find_or_create_file(PFS_thread *thread, PFS_file_class *klass,
80384c
                     const char *filename, uint len, bool create)
80384c
diff --git a/storage/perfschema/pfs_instr_class.cc b/storage/perfschema/pfs_instr_class.cc
80384c
index 4d73396..139a2db 100644
80384c
--- a/storage/perfschema/pfs_instr_class.cc
80384c
+++ b/storage/perfschema/pfs_instr_class.cc
80384c
@@ -1233,6 +1233,11 @@ static int compare_keys(PFS_table_share *pfs, const TABLE_SHARE *share)
80384c
   @param share                        table share
80384c
   @return a table share, or NULL
80384c
 */
80384c
+#if defined(__aarch64__)
80384c
+PFS_table_share* find_or_create_table_share(PFS_thread *thread,
80384c
+                                            bool temporary,
80384c
+                                            const TABLE_SHARE *share) __attribute__((optimize (1)));
80384c
+#endif
80384c
 PFS_table_share* find_or_create_table_share(PFS_thread *thread,
80384c
                                             bool temporary,
80384c
                                             const TABLE_SHARE *share)
80384c
diff --git a/storage/perfschema/pfs_user.cc b/storage/perfschema/pfs_user.cc
80384c
index 9f53702..2f418a7 100644
80384c
--- a/storage/perfschema/pfs_user.cc
80384c
+++ b/storage/perfschema/pfs_user.cc
80384c
@@ -193,6 +193,12 @@ static void set_user_key(PFS_user_key *key,
80384c
   key->m_key_length= ptr - &key->m_hash_key[0];
80384c
 }
80384c
 
80384c
+#if defined(__aarch64__)
80384c
+PFS_user *
80384c
+find_or_create_user(PFS_thread *thread,
80384c
+                    const char *username, uint username_length)  __attribute__((optimize (1)));
80384c
+#endif
80384c
+
80384c
 PFS_user *
80384c
 find_or_create_user(PFS_thread *thread,
80384c
                     const char *username, uint username_length)