[Groonga-mysql-commit] mroonga/mroonga at 5f7fa8b [master] mysql57: THD::abort_on_warning is removed

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Mar 16 23:27:53 JST 2015


Kouhei Sutou	2015-03-16 23:27:53 +0900 (Mon, 16 Mar 2015)

  New Revision: 5f7fa8bb975a9c6c7282b93105121838e7224d98
  https://github.com/mroonga/mroonga/commit/5f7fa8bb975a9c6c7282b93105121838e7224d98

  Message:
    mysql57: THD::abort_on_warning is removed

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+5 -1)
===================================================================
--- ha_mroonga.cpp    2015-03-16 23:24:06 +0900 (3b89a98)
+++ ha_mroonga.cpp    2015-03-16 23:27:53 +0900 (bed3f85)
@@ -157,7 +157,11 @@ static mysql_mutex_t *mrn_LOCK_open;
 #  else
 #    define MRN_PLUGIN_LAST_VALUES  NULL
 #  endif
-#  define MRN_ABORT_ON_WARNING(thd) thd->abort_on_warning
+#  if MYSQL_VERSION_ID >= 50706
+#    define MRN_ABORT_ON_WARNING(thd) false
+#  else
+#    define MRN_ABORT_ON_WARNING(thd) thd->abort_on_warning
+#  endif
 #endif
 
 #ifdef WIN32
-------------- next part --------------
HTML����������������������������...
下載 



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