[Groonga-mysql-commit] mroonga/mroonga at b3c2bee [master] Remove unused code

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 23 15:03:11 JST 2018


Kouhei Sutou	2018-07-23 15:03:11 +0900 (Mon, 23 Jul 2018)

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

  Message:
    Remove unused code

  Modified files:
    mrn_mysql_compat.h

  Modified: mrn_mysql_compat.h (+0 -37)
===================================================================
--- mrn_mysql_compat.h    2018-07-23 13:02:58 +0900 (ade5e3af)
+++ mrn_mysql_compat.h    2018-07-23 15:03:11 +0900 (9c0251c2)
@@ -425,43 +425,6 @@ typedef HASH mrn_table_def_cache_type;
 #define MRN_ERROR_CODE_DATA_TRUNCATE(thd)                               \
   (MRN_ABORT_ON_WARNING(thd) ? ER_WARN_DATA_OUT_OF_RANGE : WARN_DATA_TRUNCATED)
 
-#if MYSQL_VERSION_ID >= 50709 && !defined(MRN_MARIADB_P)
-#  define mrn_my_hash_init(hash,                        \
-                           charset,                     \
-                           default_array_elements,      \
-                           key_offset,                  \
-                           key_length,                  \
-                           get_key,                     \
-                           free_element,                \
-                           flags)                       \
-  my_hash_init(hash,                                    \
-               charset,                                 \
-               default_array_elements,                  \
-               key_offset,                              \
-               key_length,                              \
-               get_key,                                 \
-               free_element,                            \
-               flags,                                   \
-               mrn_memory_key)
-#else
-#  define mrn_my_hash_init(hash,                        \
-                           charset,                     \
-                           default_array_elements,      \
-                           key_offset,                  \
-                           key_length,                  \
-                           get_key,                     \
-                           free_element,                \
-                           flags)                       \
-  my_hash_init(hash,                                    \
-               charset,                                 \
-               default_array_elements,                  \
-               key_offset,                              \
-               key_length,                              \
-               get_key,                                 \
-               free_element,                            \
-               flags)
-#endif
-
 #if defined(MRN_MARIADB_P) && MYSQL_VERSION_ID >= 100000
 #  define mrn_strconvert(from_cs,               \
                          from,                  \
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180723/168c3ed6/attachment-0001.htm 



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