db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Army <qoz...@sbcglobal.net>
Subject [PATCH] Add "if (SanityManager.DEBUG)" around two unprotected uses of SanityManager.
Date Tue, 07 Jun 2005 00:52:12 GMT
There are two files in the codline that use SanityManager without first checking 
to see if the compiler is running in SANE mode.  This means that when the code 
is built in INSANE mode, the references to SanityManager will still exist in the 
compiled class file, which is wrong.

Attached is a very simple patch that modifies the following two files by adding 
an "if (SanityManager.DEBUG)" block around the code in question:

org/apache/derby/iapi/sql/dictionary/ColumnDescriptor.java
org/apache/derby/impl/store/raw/data/FileContainer.java

Could a committer please commit?
Army

Mime
View raw message