[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] [wrapper] make readable all columns.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:25:23 JST 2012


Kouhei Sutou	2011-06-18 15:32:49 +0900 (Sat, 18 Jun 2011)

  New Revision: 18b571a8a35738ade9c65ec9dbcf0fb057bf5f06
  https://github.com/mroonga/mroonga/commit/18b571a8a35738ade9c65ec9dbcf0fb057bf5f06

  Log:
    [wrapper] make readable all columns.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+6 -0)
===================================================================
--- ha_mroonga.cc    2011-06-18 15:27:07 +0900 (f73d75f)
+++ ha_mroonga.cc    2011-06-18 15:32:49 +0900 (8b12c48)
@@ -2565,6 +2565,9 @@ int ha_mroonga::wrapper_write_row(uchar *buf)
     grn_obj value;
     GRN_VOID_INIT(&value);
 
+#ifndef DBUG_OFF
+    my_bitmap_map *tmp_map = dbug_tmp_use_all_columns(table, table->read_set);
+#endif
     uint i;
     uint n_keys = table->s->keys;
     for (i = 0; i < n_keys; i++) {
@@ -2591,6 +2594,9 @@ int ha_mroonga::wrapper_write_row(uchar *buf)
         // TODO: check rc;
       }
     }
+#ifndef DBUG_OFF
+    dbug_tmp_restore_column_map(table->read_set, tmp_map);
+#endif
     grn_obj_unlink(ctx, &value);
   }
 
-------------- next part --------------
HTML����������������������������...
Télécharger 



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