[Rt-commit] rt branch, 4.4/fix-oracle-inconsistent-datatypes, created. rt-4.4.4-86-gae10cd454

Blaine Motsinger blaine at bestpractical.com
Thu Feb 20 13:08:45 EST 2020


The branch, 4.4/fix-oracle-inconsistent-datatypes has been created
        at  ae10cd4540132cd35d30cf79558facde6d844b7e (commit)

- Log -----------------------------------------------------------------
commit ae10cd4540132cd35d30cf79558facde6d844b7e
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Thu Feb 20 12:06:48 2020 -0600

    Fix inconsistent datatypes error for Oracle upgrade
    
    This commit fixes an inconsistent datatypes error when upgrading
    on Oracle.  The NOT NULL limit is correct, but fails for != ''.

diff --git a/etc/upgrade/4.3.0/content b/etc/upgrade/4.3.0/content
index 96edfd005..0379c4895 100644
--- a/etc/upgrade/4.3.0/content
+++ b/etc/upgrade/4.3.0/content
@@ -44,7 +44,7 @@ our @Initial = (
                 OPERATOR        => '!=',
                 VALUE           => '',
                 ENTRYAGGREGATOR => 'AND',
-            );
+            ) if RT->Config->Get('DatabaseType') ne 'Oracle';
             $users->Limit(
                 FIELD           => $column,
                 OPERATOR        => 'IS NOT',

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


More information about the rt-commit mailing list