[Groonga-mysql-commit] mroonga/mroonga at a720c6a [master] mariadb 10: fix a crash bug

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jun 30 09:21:13 JST 2016


Kouhei Sutou	2016-06-30 09:21:13 +0900 (Thu, 30 Jun 2016)

  New Revision: a720c6ab1de5107a2ccc54ce775515df8af54e68
  https://github.com/mroonga/mroonga/commit/a720c6ab1de5107a2ccc54ce775515df8af54e68

  Message:
    mariadb 10: fix a crash bug
    
    https://gitter.im/groonga/ja?at=57746049265214c130a655ed
    
    Reported by yoyoshifgs. Thanks!!!

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2016-06-28 18:22:47 +0900 (8e9424f)
+++ ha_mroonga.cpp    2016-06-30 09:21:13 +0900 (d8de6e9)
@@ -9431,7 +9431,7 @@ bool ha_mroonga::have_custom_normalizer(KEY *key) const
   MRN_DBUG_ENTER_METHOD();
 
 #ifdef MRN_SUPPORT_CUSTOM_OPTIONS
-  if (key->option_struct->normalizer) {
+  if (key->option_struct && key->option_struct->normalizer) {
     DBUG_RETURN(true);
   }
 #endif
-------------- next part --------------
HTML����������������������������...
Download 



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