Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 77195 invoked from network); 26 Apr 2007 12:22:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Apr 2007 12:22:16 -0000 Received: (qmail 71541 invoked by uid 500); 26 Apr 2007 12:22:23 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 71508 invoked by uid 500); 26 Apr 2007 12:22:23 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 71488 invoked by uid 99); 26 Apr 2007 12:22:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 05:22:23 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 05:22:15 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id BDA481A983E; Thu, 26 Apr 2007 05:21:55 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r532723 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java Date: Thu, 26 Apr 2007 12:21:55 -0000 To: derby-commits@db.apache.org From: bernt@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070426122155.BDA481A983E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bernt Date: Thu Apr 26 05:21:54 2007 New Revision: 532723 URL: http://svn.apache.org/viewvc?view=rev&rev=532723 Log: DERBY-2591 Change from Calendar.HOUR to Calendar.HOUR_OF_DAY in DataDictionaryImpl.getSystemSQLName() Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java?view=diff&rev=532723&r1=532722&r2=532723 ============================================================================== --- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java (original) +++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java Thu Apr 26 05:21:54 2007 @@ -8245,7 +8245,7 @@ //have to add 1 to the month value returned because the method give 0-January, 1-February and so on and so forth generatedSystemSQLName.append(twoDigits(calendarForLastSystemSQLName.get(Calendar.MONTH)+1)); generatedSystemSQLName.append(twoDigits(calendarForLastSystemSQLName.get(Calendar.DAY_OF_MONTH))); - generatedSystemSQLName.append(twoDigits(calendarForLastSystemSQLName.get(Calendar.HOUR))); + generatedSystemSQLName.append(twoDigits(calendarForLastSystemSQLName.get(Calendar.HOUR_OF_DAY))); generatedSystemSQLName.append(twoDigits(calendarForLastSystemSQLName.get(Calendar.MINUTE))); generatedSystemSQLName.append(twoDigits(calendarForLastSystemSQLName.get(Calendar.SECOND))); //because we don't have enough space to store the entire millisec value, just store the higher 2 digits.