[Rt-commit] rt branch, 4.2/fewer-alter-table, repushed

Alex Vandiver alexmv at bestpractical.com
Wed Jul 16 11:31:16 EDT 2014


The branch 4.2/fewer-alter-table was deleted and repushed:
       was bb4142ba67c7ae98850e3f3d5af715c068a40c2e
       now 952346e35542068daa9f0a77a5f56855304838c1

1:  bb4142b ! 1: 952346e3 Reduce ALTER TABLE calls by adding/dropping multiple columns at once
    @@ -3,6 +3,34 @@
         Reduce ALTER TABLE calls by adding/dropping multiple columns at once
         
         Fixes I#21309.
    +
    +diff --git a/etc/upgrade/3.9.3/schema.Oracle b/etc/upgrade/3.9.3/schema.Oracle
    +--- a/etc/upgrade/3.9.3/schema.Oracle
    ++++ b/etc/upgrade/3.9.3/schema.Oracle
    +@@
    +-ALTER TABLE ACL DROP COLUMN DelegatedBy;
    +-ALTER TABLE ACL DROP COLUMN DelegatedFrom;
    ++ALTER TABLE ACL DROP( DelegatedBy, DelegatedFrom );
    +
    +diff --git a/etc/upgrade/3.9.3/schema.Pg b/etc/upgrade/3.9.3/schema.Pg
    +--- a/etc/upgrade/3.9.3/schema.Pg
    ++++ b/etc/upgrade/3.9.3/schema.Pg
    +@@
    +-ALTER TABLE ACL DROP COLUMN DelegatedBy;
    +-ALTER TABLE ACL DROP COLUMN DelegatedFrom;
    ++ALTER TABLE ACL
    ++    DROP COLUMN DelegatedBy,
    ++    DROP COLUMN DelegatedFrom;
    +
    +diff --git a/etc/upgrade/3.9.3/schema.mysql b/etc/upgrade/3.9.3/schema.mysql
    +--- a/etc/upgrade/3.9.3/schema.mysql
    ++++ b/etc/upgrade/3.9.3/schema.mysql
    +@@
    +-ALTER TABLE ACL DROP COLUMN DelegatedBy;
    +-ALTER TABLE ACL DROP COLUMN DelegatedFrom;
    ++ALTER TABLE ACL
    ++    DROP COLUMN DelegatedBy,
    ++    DROP COLUMN DelegatedFrom;
     
     diff --git a/etc/upgrade/3.9.5/schema.Oracle b/etc/upgrade/3.9.5/schema.Oracle
     --- a/etc/upgrade/3.9.5/schema.Oracle



More information about the rt-commit mailing list