[Rt-commit] rt branch, 4.0/remove-oracle-binary-flag, updated. rt-4.0.2rc1-10-g870fd63

Alex Vandiver alexmv at bestpractical.com
Wed Aug 10 14:53:30 EDT 2011


The branch, 4.0/remove-oracle-binary-flag has been updated
       via  870fd633475a9b0d4c5c464b3ed76fd5272a461a (commit)
       via  f9a40a491effd3e7b45858ed34a6f434cb90c640 (commit)
       via  b7c3e503df5a8de558a27501033b440dd10891c7 (commit)
      from  57a2808d460b3dd7427d31dc9b60fdf70f07efb3 (commit)

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

- Log -----------------------------------------------------------------
commit b7c3e503df5a8de558a27501033b440dd10891c7
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Aug 10 14:45:43 2011 -0400

    Remove one pending "$binary" that wasn't caught

diff --git a/sbin/rt-setup-fulltext-index.in b/sbin/rt-setup-fulltext-index.in
index eb40cf3..51b665c 100644
--- a/sbin/rt-setup-fulltext-index.in
+++ b/sbin/rt-setup-fulltext-index.in
@@ -503,7 +503,7 @@ sub ora_create_format_column {
     }
     $detect_format .= qq{
                 WHEN type = 'text' THEN 'text'
-                WHEN type = 'text/rtf' THEN '$binary'
+                WHEN type = 'text/rtf' THEN 'ignore'
                 WHEN type LIKE 'text/%' THEN 'text'
                 WHEN type LIKE 'message/%' THEN 'text'
                 WHEN type LIKE 'multipart/%' THEN 'ignore'

commit f9a40a491effd3e7b45858ed34a6f434cb90c640
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Aug 10 14:46:20 2011 -0400

    Remove unnecessary "ignore" cases that are equivilent to the ELSE

diff --git a/sbin/rt-setup-fulltext-index.in b/sbin/rt-setup-fulltext-index.in
index 51b665c..e8aa353 100644
--- a/sbin/rt-setup-fulltext-index.in
+++ b/sbin/rt-setup-fulltext-index.in
@@ -506,16 +506,6 @@ sub ora_create_format_column {
                 WHEN type = 'text/rtf' THEN 'ignore'
                 WHEN type LIKE 'text/%' THEN 'text'
                 WHEN type LIKE 'message/%' THEN 'text'
-                WHEN type LIKE 'multipart/%' THEN 'ignore'
-                WHEN type LIKE 'image/%' THEN 'ignore'
-                WHEN type LIKE 'audio/%' THEN 'ignore'
-                WHEN type LIKE 'video/%' THEN 'ignore'
-                WHEN type LIKE '%signature%' THEN 'ignore'
-                WHEN type LIKE '%pkcs7%' THEN 'ignore'
-                WHEN type LIKE '%compress%' THEN 'ignore'
-                WHEN type LIKE '%zip%' THEN 'ignore'
-                WHEN type LIKE '%tar%' THEN 'ignore'
-                WHEN type LIKE '%/octet-stream' THEN 'ignore'
                 ELSE 'ignore'
             END;
             RETURN format;

commit 870fd633475a9b0d4c5c464b3ed76fd5272a461a
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Aug 10 14:49:01 2011 -0400

    Reword what --no-attachments does

diff --git a/sbin/rt-setup-fulltext-index.in b/sbin/rt-setup-fulltext-index.in
index e8aa353..7c4b911 100644
--- a/sbin/rt-setup-fulltext-index.in
+++ b/sbin/rt-setup-fulltext-index.in
@@ -699,9 +699,10 @@ To test what will happen without running any DDL, pass the C<--dryrun>
 flag.
 
 The Oracle index determines which content-types it will index at
-creation time. By default, uploaded attachments (attachments with
-filenames) are indexed; to ignore these instead, pass the
-C<--no-attachments> flag when the index is create.
+creation time. By default, textual message bodies and textual uploaded
+attachments (attachments with filenames) are indexed; to ignore textual
+attachments, pass the C<--no-attachments> flag when the index is
+created.
 
 
 =head1 AUTHOR

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


More information about the Rt-commit mailing list