From 882d039556a75fd7f6bd2a605d91c8f3e616e98a Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Fri, 23 Sep 2005 21:24:30 +0000 Subject: Bug 308717: Column name "PUBLIC" in SERIES table is an Oracle reserved word Patch By Lance Larsh r=mkanat, a=justdave --- checksetup.pl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'checksetup.pl') diff --git a/checksetup.pl b/checksetup.pl index 1ad8124cf..2c7eca5c1 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -4031,6 +4031,14 @@ if ($dbh->bz_column_info("attachments", "thedata")) { $dbh->bz_drop_column("attachments", "thedata"); } +# 2005-09-15 lance.larsh@oracle.com Bug 308717 +if ($dbh->bz_column_info("series", "public")) { + # PUBLIC is a reserved word in Oracle, so renaming the column + # PUBLIC in table SERIES avoids having to quote the column name + # in every query against that table + $dbh->bz_rename_column('series', 'public', 'is_public'); +} + # If you had to change the --TABLE-- definition in any way, then add your # differential change code *** A B O V E *** this comment. -- cgit v1.2.3-24-g4f1b