summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorunknown <petr/cps@mysql.com/owlet.local>2006-09-15 13:07:23 +0400
committerunknown <petr/cps@mysql.com/owlet.local>2006-09-15 13:07:23 +0400
commitabbb201661144f2a75d70c32da49dcb1692be412 (patch)
tree3a1c4f6bd0d0e7921561f89e6d54d823f9a3f2c2 /sql/handler.h
parentd57163fcf84d6fc0e8cad5fdbbe5c14274eb694c (diff)
downloadmariadb-git-abbb201661144f2a75d70c32da49dcb1692be412.tar.gz
Post-review fixes for
Bug #18559 "log tables cannot change engine, and gets deadlocked when dropping w/ log on": 1) Add more generic error messages 2) Add new handlerton flag for engines, which support log tables 3) Remove (log-tables related) mutex lock in myisam to improve performance mysql-test/r/log_tables.result: update result file to use new error messages mysql-test/t/log_tables.test: update test file with new error messages sql/handler.h: Add new handlerton flag, to mark whether engine supports log tables sql/share/errmsg.txt: Add more generic error messages sql/sql_table.cc: Update error messages storage/csv/ha_tina.cc: CSV supports log tables storage/myisam/ha_myisam.cc: MyISAM supports log tables storage/myisam/mi_write.c: remove mutex lock to improve performance
Diffstat (limited to 'sql/handler.h')
-rw-r--r--sql/handler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h
index df40a207916..6d61a6ee271 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -681,6 +681,7 @@ struct handlerton
#define HTON_FLUSH_AFTER_RENAME (1 << 4)
#define HTON_NOT_USER_SELECTABLE (1 << 5)
#define HTON_TEMPORARY_NOT_SUPPORTED (1 << 6) //Having temporary tables not supported
+#define HTON_SUPPORT_LOG_TABLES (1 << 7) //Engine supports log tables
typedef struct st_thd_trans
{