[Groonga-mysql-commit] mroonga/mroonga [master] reduce a global symbol.

Zurück zum Archiv-Index

null+****@clear***** null+****@clear*****
2011年 8月 12日 (金) 12:36:23 JST


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

  New Revision: 911becebb5a95924259ea97db2763431b63d411d

  Log:
    reduce a global symbol.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+15 -16)
===================================================================
--- ha_mroonga.cc    2011-08-12 03:35:29 +0000 (b5e8926)
+++ ha_mroonga.cc    2011-08-12 03:36:23 +0000 (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




Groonga-mysql-commit メーリングリストの案内
Zurück zum Archiv-Index