[Groonga-mysql-commit] mroonga/mroonga at 207ea21 [master] Indent

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Aug 17 10:07:16 JST 2017


Kouhei Sutou	2017-08-17 10:07:16 +0900 (Thu, 17 Aug 2017)

  New Revision: 207ea218ea5770d0f810dd246ce670cda39f1a2a
  https://github.com/mroonga/mroonga/commit/207ea218ea5770d0f810dd246ce670cda39f1a2a

  Message:
    Indent

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+7 -7)
===================================================================
--- ha_mroonga.cpp    2017-08-17 10:04:05 +0900 (47cc4f8b)
+++ ha_mroonga.cpp    2017-08-17 10:07:16 +0900 (bca67c1a)
@@ -15154,7 +15154,7 @@ bool ha_mroonga::storage_inplace_alter_table_add_column(
 
 #ifdef MRN_SUPPORT_GENERATED_COLUMNS
     if (MRN_GENERATED_COLUMNS_FIELD_IS_STORED(field)) {
-#ifndef MRN_MARIADB_P
+#  ifndef MRN_MARIADB_P
       MY_BITMAP generated_column_bitmap;
       if (bitmap_init(&generated_column_bitmap, NULL,
                       altered_table->s->fields, false)) {
@@ -15169,7 +15169,7 @@ bool ha_mroonga::storage_inplace_alter_table_add_column(
         break;
       }
       bitmap_set_bit(&generated_column_bitmap, field->field_index);
-#endif
+#  endif
 
       Field *altered_field = altered_table->field[i];
       my_ptrdiff_t ptr_diff = PTR_BYTE_DIFF(table->record[0], altered_table->record[0]);
@@ -15183,9 +15183,9 @@ bool ha_mroonga::storage_inplace_alter_table_add_column(
         grn_obj new_value;
         GRN_VOID_INIT(&new_value);
         while (!(error = storage_rnd_next(table->record[0]))) {
-#ifdef MRN_MARIADB_P
+#  ifdef MRN_MARIADB_P
           MRN_GENERATED_COLUMNS_UPDATE_VIRTUAL_FIELD(altered_table, altered_field);
-#else
+#  else
           if (update_generated_write_fields(&generated_column_bitmap, altered_table)) {
             error = ER_WRONG_COLUMN_NAME;
             my_message(error,
@@ -15195,7 +15195,7 @@ bool ha_mroonga::storage_inplace_alter_table_add_column(
             have_error = true;
             break;
           }
-#endif
+#  endif
           error = mrn_change_encoding(ctx, altered_field->charset());
           if (error) {
             have_error = true;
@@ -15229,9 +15229,9 @@ bool ha_mroonga::storage_inplace_alter_table_add_column(
         Field *field = altered_table->field[j];
         field->move_field_offset(-ptr_diff);
       }
-#ifndef MRN_MARIADB_P
+#  ifndef MRN_MARIADB_P
       bitmap_free(&generated_column_bitmap);
-#endif
+#  endif
     }
 #endif
 
-------------- next part --------------
HTML����������������������������...
Download 



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