Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 97640 invoked from network); 11 Apr 2005 19:57:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Apr 2005 19:57:36 -0000 Received: (qmail 17447 invoked by uid 500); 11 Apr 2005 19:57:36 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 17190 invoked by uid 500); 11 Apr 2005 19:57:34 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 17172 invoked by uid 99); 11 Apr 2005 19:57:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from e33.co.us.ibm.com (HELO e33.co.us.ibm.com) (32.97.110.131) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 11 Apr 2005 12:57:32 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e33.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j3BJvR4I664002 for ; Mon, 11 Apr 2005 15:57:28 -0400 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j3BJvRCt368848 for ; Mon, 11 Apr 2005 13:57:27 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3BJvQKN009487 for ; Mon, 11 Apr 2005 13:57:27 -0600 Received: from [127.0.0.1] (DMCSDJDT41P.svl.ibm.com [9.30.40.135]) by d03av04.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3BJvP4t009378 for ; Mon, 11 Apr 2005 13:57:26 -0600 Message-ID: <425AD6A2.4010103@debrunners.com> Date: Mon, 11 Apr 2005 12:57:22 -0700 From: Daniel John Debrunner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev Subject: [PATCH] - Change engine data dictionary version to 10.1 X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="------------090706050201090102010903" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------090706050201090102010903 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This is a simple patch to change the data dictionary (system catalog) version to a new value for 10.1 on the trunk. This is to allow progress to be made on supporting upgrade in a 10.1 release from a 10.0 database. This will make a 10.1 build not able to read a database that was previously written with a 10.1 build before this change, but hopefully folks have been mindful of the warnings on the downloads page. Namely: > The development trunk is not suitable for production use because: > * It may create on-disk database formats that are not upgradable to future releases of Derby. Databases created by official Derby releases will be upgradable to future versions. I'll commit the patch in a few days if there are no objections. Dan. --------------090706050201090102010903 Content-Type: text/plain; name="set_engine_version.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="set_engine_version.txt" Index: java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java =================================================================== --- java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java (revision 160930) +++ java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java (working copy) @@ -365,7 +365,7 @@ public void boot(boolean create, Properties startParams) throws StandardException { - softwareVersion = new DD_Version(this, DataDictionary.DD_VERSION_CS_10_0); + softwareVersion = new DD_Version(this, DataDictionary.DD_VERSION_DERBY_10_1); /* There is a bootstrapping problem here. We would like to use * a language connection context to find the name of the system and default --------------090706050201090102010903--