[Groonga-mysql-commit] mroonga/mroonga at 693ed25 [master] mysql8 wrapper: add HTON_SUPPORTS_ATOMIC_DDL flag

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Aug 10 18:35:39 JST 2018


Kouhei Sutou	2018-08-10 18:35:39 +0900 (Fri, 10 Aug 2018)

  New Revision: 693ed25425d2c1bd4ce29da1a868091d5ca8321a
  https://github.com/mroonga/mroonga/commit/693ed25425d2c1bd4ce29da1a868091d5ca8321a

  Message:
    mysql8 wrapper: add HTON_SUPPORTS_ATOMIC_DDL flag
    
    It's for supporting updating dd::Table after handler::create(). But is
    it OK to use this flag by Mroonga?

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+5 -0)
===================================================================
--- ha_mroonga.cpp    2018-08-10 18:35:20 +0900 (b8569357)
+++ ha_mroonga.cpp    2018-08-10 18:35:39 +0900 (7e13d1ab)
@@ -2077,6 +2077,11 @@ static int mrn_init(void *p)
 #ifndef MRN_SUPPORT_PARTITION
   hton->flags |= HTON_NO_PARTITION;
 #endif
+#ifdef HTON_SUPPORTS_ATOMIC_DDL
+  // For supporting wrapper mode for InnoDB
+  // Is it OK?
+  hton->flags |= HTON_SUPPORTS_ATOMIC_DDL;
+#endif
   hton->drop_database = mrn_drop_database;
   hton->close_connection = mrn_close_connection;
   hton->flush_logs = mrn_flush_logs;
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180810/a7a71a6c/attachment-0001.htm 



More information about the Groonga-mysql-commit mailing list
Back to archive index