summaryrefslogtreecommitdiff
path: root/storage/myisam/ha_myisam.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-10-12 11:29:32 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2022-10-12 11:29:32 +0300
commit977c385df36dcb751720dc838521b7cb5a328cb9 (patch)
tree039c8cf3e0f41bc0a1ab81eef17a4700111fbe59 /storage/myisam/ha_myisam.cc
parentfa0cada95baeb9fad5a2d6dad687bb13c93da9b6 (diff)
parent2aab7f2d0a6555f7ebb6dcde243639354ca5da53 (diff)
downloadmariadb-git-977c385df36dcb751720dc838521b7cb5a328cb9.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'storage/myisam/ha_myisam.cc')
-rw-r--r--storage/myisam/ha_myisam.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/storage/myisam/ha_myisam.cc b/storage/myisam/ha_myisam.cc
index 4e4eaceeb56..e2e786872ba 100644
--- a/storage/myisam/ha_myisam.cc
+++ b/storage/myisam/ha_myisam.cc
@@ -860,6 +860,13 @@ int ha_myisam::open(const char *name, int mode, uint test_if_locked)
/* purecov: end */
}
}
+
+ DBUG_EXECUTE_IF("key",
+ Debug_key_myisam::print_keys_myisam(table->in_use,
+ "ha_myisam::open: ",
+ table, file->s->keyinfo,
+ file->s->base.keys);
+ );
if (test_if_locked & (HA_OPEN_IGNORE_IF_LOCKED | HA_OPEN_TMP_TABLE))
(void) mi_extra(file, HA_EXTRA_NO_WAIT_LOCK, 0);