diff options
author | monty@mashka.mysql.fi <> | 2002-09-19 17:49:41 +0300 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-09-19 17:49:41 +0300 |
commit | ce4b584a8526fe8470cfc2187cd7b30e2b6a8a54 (patch) | |
tree | 897900b716e0af342d6a5a9d3c9f2bc23261dc72 /sql/ha_myisam.cc | |
parent | f638ee6df91a32ed767fa67cf643dfa07f9a82d4 (diff) | |
download | mariadb-git-ce4b584a8526fe8470cfc2187cd7b30e2b6a8a54.tar.gz |
Increased max possible max_allowed_packet to 1G
Small optimization to not do external locking of temporary MyISAM tables.
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r-- | sql/ha_myisam.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc index cc1e4c3f45c..f96ef7210ac 100644 --- a/sql/ha_myisam.cc +++ b/sql/ha_myisam.cc @@ -970,7 +970,9 @@ int ha_myisam::delete_table(const char *name) int ha_myisam::external_lock(THD *thd, int lock_type) { - return mi_lock_database(file,lock_type); + if (!table->tmp_table) + return mi_lock_database(file,lock_type); + return 0; } |