[Groonga-mysql-commit] mroonga/mroonga at 5d3b78e [master] Indent #if

Back to archive index

Kouhei Sutou null+****@clear*****
Wed May 8 12:19:47 JST 2013


Kouhei Sutou	2013-05-08 12:19:47 +0900 (Wed, 08 May 2013)

  New Revision: 5d3b78e9297ba66de0f35365fe0b1e7a07006446
  https://github.com/mroonga/mroonga/commit/5d3b78e9297ba66de0f35365fe0b1e7a07006446

  Message:
    Indent #if

  Modified files:
    mrn_table.cpp

  Modified: mrn_table.cpp (+6 -6)
===================================================================
--- mrn_table.cpp    2013-05-08 12:18:47 +0900 (2071a7d)
+++ mrn_table.cpp    2013-05-08 12:19:47 +0900 (7509152)
@@ -892,22 +892,22 @@ TABLE_SHARE *mrn_get_table_share(TABLE_LIST *table_list, int *error)
   key_length = get_table_def_key(table_list, &key);
 #else
   char key[MAX_DBKEY_LENGTH];
-#if MYSQL_VERSION_ID >= 100002 && defined(MRN_MARIADB_P)
+#  if MYSQL_VERSION_ID >= 100002 && defined(MRN_MARIADB_P)
   key_length = create_table_def_key(key, table_list->db, table_list->table_name);
-#else
+#  else
   key_length = create_table_def_key(thd, key, table_list, FALSE);
-#endif
+#  endif
 #endif
 #if MYSQL_VERSION_ID >= 50500
   my_hash_value_type hash_value;
   hash_value = my_calc_hash(&table_def_cache, (uchar*) key, key_length);
-#if MYSQL_VERSION_ID >= 100002 && defined(MRN_MARIADB_P)
+#  if MYSQL_VERSION_ID >= 100002 && defined(MRN_MARIADB_P)
   share = get_table_share(thd, table_list->db, table_list->table_name, key,
                           key_length, 0, hash_value);
-#else
+#  else
   share = get_table_share(thd, table_list, key, key_length, 0, error,
                           hash_value);
-#endif
+#  endif
 #else
   share = get_table_share(thd, table_list, key, key_length, 0, error);
 #endif
-------------- next part --------------
HTML����������������������������...
Download 



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