[Rt-commit] rt branch, 4.0/mysql-fts, updated. rt-4.0.0-230-g3bc4282

Alex Vandiver alexmv at bestpractical.com
Mon May 9 11:12:16 EDT 2011


The branch, 4.0/mysql-fts has been updated
       via  3bc42827b3468ba5b7d49efed7905273418de8c4 (commit)
      from  01f01dc5d4b60cf066d331795109bf5e3c321891 (commit)

Summary of changes:
 sbin/rt-setup-fulltext-index.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 3bc42827b3468ba5b7d49efed7905273418de8c4
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon May 9 11:12:07 2011 -0400

    Ensure that --index-type gets the case forced correctly

diff --git a/sbin/rt-setup-fulltext-index.in b/sbin/rt-setup-fulltext-index.in
index 11ec854..48df079 100644
--- a/sbin/rt-setup-fulltext-index.in
+++ b/sbin/rt-setup-fulltext-index.in
@@ -270,7 +270,7 @@ elsif ( $DB{'type'} eq 'Pg' ) {
             ."$column tsvector )";
     }
 
-    my $index_type = $OPT{'index-type'} || '';
+    my $index_type = lc $OPT{'index-type'} || '';
     while ( $index_type ne 'gist' and $index_type ne 'gin' ) {
         $index_type = lc prompt(
             message => "You may choose between GiST or GIN indexes; the former is several times\n"

-----------------------------------------------------------------------


More information about the Rt-commit mailing list