[Groonga-mysql-commit] mroonga/mroonga at a0c85eb [master] Remove code for MySQL < 5.5

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Jun 16 22:53:37 JST 2015


Kouhei Sutou	2015-06-16 22:53:37 +0900 (Tue, 16 Jun 2015)

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

  Message:
    Remove code for MySQL < 5.5

  Modified files:
    mrn_mysql_compat.h

  Modified: mrn_mysql_compat.h (+2 -7)
===================================================================
--- mrn_mysql_compat.h    2015-06-16 22:43:35 +0900 (a717220)
+++ mrn_mysql_compat.h    2015-06-16 22:53:37 +0900 (cc242bd)
@@ -91,13 +91,8 @@
 #    endif
 #  endif
 #else
-#  if MYSQL_VERSION_ID >= 50500
-#    define MRN_GET_ERROR_MESSAGE current_thd->stmt_da->message()
-#    define MRN_GET_CURRENT_ROW_FOR_WARNING(thd) thd->warning_info->current_row_for_warning()
-#  else
-#    define MRN_GET_ERROR_MESSAGE current_thd->main_da.message()
-#    define MRN_GET_CURRENT_ROW_FOR_WARNING(thd) thd->row_count
-#  endif
+#  define MRN_GET_ERROR_MESSAGE current_thd->stmt_da->message()
+#  define MRN_GET_CURRENT_ROW_FOR_WARNING(thd) thd->warning_info->current_row_for_warning()
 #endif
 
 #if MYSQL_VERSION_ID >= 50607 && !defined(MRN_MARIADB_P)
-------------- next part --------------
HTML����������������������������...
下载 



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