[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] Place { into the same line

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:42:08 JST 2012


Kouhei Sutou	2012-04-10 16:56:49 +0900 (Tue, 10 Apr 2012)

  New Revision: fdcc222c0b137de76b1166ad991399ce0c585720
  https://github.com/mroonga/mroonga/commit/fdcc222c0b137de76b1166ad991399ce0c585720

  Log:
    Place { into the same line

  Modified files:
    lib/mrn_index_table_name.cpp

  Modified: lib/mrn_index_table_name.cpp (+4 -8)
===================================================================
--- lib/mrn_index_table_name.cpp    2012-04-10 16:55:46 +0900 (8aa7d77)
+++ lib/mrn_index_table_name.cpp    2012-04-10 16:56:49 +0900 (25036cb)
@@ -66,19 +66,15 @@ namespace mrn {
          mysql_string < mysql_string_end &&
            encoded < encoded_end;
          mysql_string += mb_wc_converted_length,
-           encoded += wc_mb_converted_length)
-    {
+           encoded += wc_mb_converted_length) {
       mb_wc_converted_length =
         (*mb_wc)(NULL, &wc, mysql_string, mysql_string_end);
-      if (mb_wc_converted_length > 0)
-      {
+      if (mb_wc_converted_length > 0) {
         wc_mb_converted_length = (*wc_mb)(NULL, wc, encoded, encoded_end);
-        if (wc_mb_converted_length <= 0)
-        {
+        if (wc_mb_converted_length <= 0) {
           break;
         }
-      } else if (mb_wc_converted_length == MY_CS_ILSEQ)
-      {
+      } else if (mb_wc_converted_length == MY_CS_ILSEQ) {
         *encoded = *mysql_string;
         mb_wc_converted_length = 1;
         wc_mb_converted_length = 1;
-------------- next part --------------
HTML����������������������������...
下载 



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