/[smecontribs]/rpms/smeserver-kronolith/contribs7/kronolith-2.3.sql.patch
ViewVC logotype

Annotation of /rpms/smeserver-kronolith/contribs7/kronolith-2.3.sql.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sat Dec 6 04:12:45 2008 UTC (15 years, 10 months ago) by mrjhb3
Branch: MAIN
CVS Tags: smeserver-kronolith-2_2-11_el4_sme, smeserver-kronolith-2_2-3_el4_sme, smeserver-kronolith-2_2-10_el4_sme, smeserver-kronolith-2_2-4_el4_sme, smeserver-kronolith-2_2-5_el4_sme, smeserver-kronolith-2_2-6_el4_sme, HEAD
Please see changelog

1 mrjhb3 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-kronolith-2.3/root/etc/e-smith/events/actions/kronolith_upgrade mezzanine_patched_smeserver-kronolith-2.3/root/etc/e-smith/events/actions/kronolith_upgrade
2     --- smeserver-kronolith-2.3/root/etc/e-smith/events/actions/kronolith_upgrade 2008-09-30 23:01:03.000000000 -0500
3     +++ mezzanine_patched_smeserver-kronolith-2.3/root/etc/e-smith/events/actions/kronolith_upgrade 2008-09-30 23:00:28.000000000 -0500
4     @@ -91,6 +91,30 @@
5     $statement->execute or die "execute: $$statement: $DBI::errstr";
6     }
7    
8     +unless (defined $kronolith_shares->{share_owner})
9     +{
10     + # We need to be careful about this one as it will fail if the
11     + # column exists, so we check the error.
12     + my $statement =
13     + 'ALTER TABLE kronolith_shares CHANGE share_owner share_owner ' .
14     + 'VARCHAR(255) ';
15     + $statement = $db_kronolithhandle->prepare($statement) or
16     + die "prepare: $$statement: $DBI::errstr";
17     + $statement->execute or die "execute: $$statement: $DBI::errstr";
18     +}
19     +
20     +unless (defined $kronolith_shares_users->{user_uid})
21     +{
22     + # We need to be careful about this one as it will fail if the
23     + # column exists, so we check the error.
24     + my $statement =
25     + 'ALTER TABLE kronolith_shares_users CHANGE user_uid user_uid ' .
26     + 'VARCHAR(255) ';
27     + $statement = $db_kronolithhandle->prepare($statement) or
28     + die "prepare: $$statement: $DBI::errstr";
29     + $statement->execute or die "execute: $$statement: $DBI::errstr";
30     +}
31     +
32     unless (defined $kronolith_shares_groups->{group_uid})
33     {
34     # We need to be careful about this one as it will fail if the

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed