[Groonga-mysql-commit] mroonga/mroonga [master] explicitly set LC_ALL=C to get fast and stable sort result.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 5日 (月) 22:34:15 JST


Kazuhiko	2012-03-05 22:34:15 +0900 (Mon, 05 Mar 2012)

  New Revision: 5c4622245debea4d81a6b0a62c032d77b18a7bda

  Log:
    explicitly set LC_ALL=C to get fast and stable sort result.

  Modified files:
    test/sql/update-result-files.sh
    test/sql/update-test-files.sh

  Modified: test/sql/update-result-files.sh (+1 -1)
===================================================================
--- test/sql/update-result-files.sh    2012-03-05 22:28:33 +0900 (fde1cc1)
+++ test/sql/update-result-files.sh    2012-03-05 22:34:15 +0900 (65eae51)
@@ -13,7 +13,7 @@ list_paths()
 {
     variable_name=$1
     echo "$variable_name = \\"
-    sort | \
+    LC_ALL=C sort | \
     sed \
       -e 's,^,\t,' \
       -e 's,$, \\,'

  Modified: test/sql/update-test-files.sh (+1 -1)
===================================================================
--- test/sql/update-test-files.sh    2012-03-05 22:28:33 +0900 (8aadb4b)
+++ test/sql/update-test-files.sh    2012-03-05 22:34:15 +0900 (c362719)
@@ -4,7 +4,7 @@ list_paths()
 {
     variable_name=$1
     echo "$variable_name = \\"
-    sort | \
+    LC_ALL=C sort | \
     sed \
       -e 's,^,\t,' \
       -e 's,$, \\,'




Groonga-mysql-commit メーリングリストの案内
Back to archive index