[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] reduce a global symbol.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 11:09:04 JST 2012


Kouhei Sutou	2011-08-12 12:36:23 +0900 (Fri, 12 Aug 2011)

  New Revision: 911becebb5a95924259ea97db2763431b63d411d
  https://github.com/mroonga/mroonga/commit/911becebb5a95924259ea97db2763431b63d411d

  Log:
    reduce a global symbol.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+15 -16)
===================================================================
--- ha_mroonga.cc    2011-08-12 12:35:29 +0900 (b5e8926)
+++ ha_mroonga.cc    2011-08-12 12:36:23 +0900 (d9d6ff5)
@@ -1025,21 +1025,6 @@ const char **ha_mroonga::bas_ext() const
   DBUG_RETURN(ha_mroonga_exts);
 }
 
-ulonglong ha_mroonga_table_flags =
-    HA_NO_TRANSACTIONS |
-    HA_PARTIAL_COLUMN_READ |
-    HA_REC_NOT_IN_SEQ |
-    HA_NULL_IN_KEY |
-    HA_CAN_INDEX_BLOBS |
-    HA_STATS_RECORDS_IS_EXACT |
-    HA_NO_PREFIX_CHAR_KEYS |
-    HA_CAN_FULLTEXT |
-    HA_CAN_INSERT_DELAYED |
-    HA_BINLOG_FLAGS |
-    HA_CAN_BIT_FIELD |
-    HA_DUPLICATE_POS;
-    //HA_HAS_RECORDS;
-
 ulonglong ha_mroonga::wrapper_table_flags() const
 {
   ulonglong table_flags;
@@ -1056,7 +1041,21 @@ ulonglong ha_mroonga::wrapper_table_flags() const
 ulonglong ha_mroonga::storage_table_flags() const
 {
   MRN_DBUG_ENTER_METHOD();
-  DBUG_RETURN(ha_mroonga_table_flags);
+  ulonglong flags =
+    HA_NO_TRANSACTIONS |
+    HA_PARTIAL_COLUMN_READ |
+    HA_REC_NOT_IN_SEQ |
+    HA_NULL_IN_KEY |
+    HA_CAN_INDEX_BLOBS |
+    HA_STATS_RECORDS_IS_EXACT |
+    HA_NO_PREFIX_CHAR_KEYS |
+    HA_CAN_FULLTEXT |
+    HA_CAN_INSERT_DELAYED |
+    HA_BINLOG_FLAGS |
+    HA_CAN_BIT_FIELD |
+    HA_DUPLICATE_POS;
+    //HA_HAS_RECORDS;
+  DBUG_RETURN(flags);
 }
 
 ulonglong ha_mroonga::table_flags() const
-------------- next part --------------
HTML����������������������������...
Download 



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