id
stringlengths
22
25
commit_message
stringlengths
137
6.96k
diffs
listlengths
0
63
derby-DERBY-1701-27fff3cf
DERBY-1701 (partial) change SURDataModelSetup to extend from BaseJDBCTestSetup and use its connection handling. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@432031 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-1701-4292752a
DERBY-1701 (partial) Close statements and result sets in BLOBTest. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@431939 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-1701-7ebfefeb
DERBY-1555 DERBY-1701 (partial) Add utiltiy methods to BaseJDBCTestCase to get Statements, PreparedStatements against the default connection for the test. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@432222 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-1701-a6464f22
DERBY-1701 (partial) Clean up some of the jdbcapi tests by closing statements when finished and cleaning up the connection. The connection handling needs to be simplified by having default connection handling in BaseJDBCTestCase. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@431799 13f79535-47bb-03...
[]
derby-DERBY-1701-df2b52c0
DERBY-1555 DERBY-1701 (partial) Change the name of the TestConfiguration methods to openConnection from getConnection. Step to having BaseJDBCTestCase.getConnection() be a method matching BaseJDBCTestSetup.getConnection, a handle to a default connection stored in the instance. This will remove a lot of code in the clas...
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/util/BaseJDBCTestSetup.java", "hunks": [ { "added": [ " * @see TestConfiguration#openDefaultConnection()" ], "header": "@@ -60,7 +60,7 @@ public abstract class BaseJDBCTestSetup", "removed": [ ...
derby-DERBY-1701-fb2bfd52
DERBY-1555 DERBY-1701 (partial) Incremental step in changing the tests that extend SURBaseTest to use the single connection provided by BaseJDBCTestCase. Added initialize method to BaseJDBCTestCase to allow tests to have a consistent initial state for a connection. The SURBaseTest still has its con variable, will be cl...
[]
derby-DERBY-1701-ff658306
DERBY-1555 DERBY-1701 (partial) Change the tests that extend SURBaseTest to use the utilitiy methods rather than the con field from SURBaseTest to fit into the generic single connection model provided by BaseJDBCTestCase. Incremental development, next step will be to remove the con field from SURBaseTest. git-svn-id:...
[]
derby-DERBY-1701-ffe3f662
DERBY-1555 DERBY-1701 (partial) Improve the BaseJDBCTest by adding support for a default connection exactly like BaseJDBCTestSetup. Provides consistent handling for a connection in the common case of a test using just one. Removes duplicated/inconistent code across many tests. First step has the getConnection method ca...
[]
derby-DERBY-1704-0f57d0e7
DERBY-1704 (partial) Allow more concurrency in the lock manager Removed some unused code. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@499316 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/locks/SinglePool.java", "hunks": [ { "added": [], "header": "@@ -504,19 +504,6 @@ public class SinglePool extends Hashtable", "removed": [ "\t/*", "\t** Non-public methods", "\t*/", ""...
derby-DERBY-1704-7a0cbb44
DERBY-1704 (partial) Allow more concurrency in the lock manager Modified LockSpace so that it doesn't extend Hashtable. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@507428 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/locks/LockSpace.java", "hunks": [ { "added": [], "header": "@@ -28,7 +28,6 @@ import org.apache.derby.iapi.util.Matchable;", "removed": [ "import java.util.Hashtable;" ] }, { "added": [ ...
derby-DERBY-1704-7b8eea6f
DERBY-1704 (cleanup) * Remove unused imports * Make classes package private * Remove check for condition that is always true * Simplify parameter lists git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@518052 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/locks/LockControl.java", "hunks": [ { "added": [], "header": "@@ -27,7 +27,6 @@ import org.apache.derby.iapi.services.locks.Latch;", "removed": [ "import java.util.Stack;" ] }, { "added"...
derby-DERBY-1704-a67b8777
DERBY-1704 (cleanup) Remove unused Hashtable. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@518073 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/locks/LockSet.java", "hunks": [ { "added": [], "header": "@@ -35,7 +35,6 @@ import org.apache.derby.iapi.reference.Property;", "removed": [ "import java.util.Hashtable;" ] }, { "added": ...
derby-DERBY-1704-fa8c910d
DERBY-1704 (partial) Allow more concurrency in the lock manager * Made LockSet contain a HashMap instead of extending Hashtable. * Fixed some comments about MT/synchronization. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@498999 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/locks/Deadlock.java", "hunks": [ { "added": [ "\t/**", "\t * Look for a deadlock.", "\t * <BR>", "\t * MT - must be synchronized on the <code>LockSet</code> object.", "\t */" ], ...
derby-DERBY-1706-4d04c7bf
DERBY-1706 contributed by Mamta Satoor This fix addresses the null pointer reported in DERBY-1706. SESSION schema is a special schema which is used for global temporary tables. In order to handle global temporary table, Derby creates a in-memory SESSION schema descriptor which does not have any uuid associated with...
[]
derby-DERBY-171-444aa520
Committing changes for DERBY-171 - Need correlation ID in UPDATE/DELETE statements. Submitted by Rick Hillegas. Comments from Rick: I have added the optional correlation name clauses to the UPDATE and DELETE productions in the parser and added supporting bind-time logic. In addition to fixing this particular bug, I...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/ColumnReference.java", "hunks": [ { "added": [ "\t\t\t\t\"tableName: \" + ( ( tableName != null) ? tableName.toString() : \"null\") + \"\\n\" +" ], "header": "@@ -142,9 +142,7 @@ public class ColumnReference ext...
derby-DERBY-1710-6f4ffc7f
DERBY-1710: Unchecked casts from SQLException to EmbedSQLException cause ClassCastException in NetworkServerControlImpl when running Java SE 6 The attached patch makes NetworkServerControlImpl use SQLException.getSQLState() instead of EmbedSQLException.getMessageId() where possible. Where it is not possible, check tha...
[ { "file": "java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.error.StandardException;" ], "header": "@@ -50,6 +50,7 @@ import java.util.StringTokenizer;", "removed": [] }, { ...
derby-DERBY-1714-8aff1cda
DERBY-766 DERBY-1714 Working method in CodeChunk that splits expressions out of generated methods that are too large. Bumps the number of unions supported in largeCodeGen to over 6,000 from around 800. Also increases the number of rows supported in a VALUES clause. A large number of UNION clauses still requires a large...
[ { "file": "java/engine/org/apache/derby/impl/services/bytecode/BCMethod.java", "hunks": [ { "added": [ " " ], "header": "@@ -74,7 +74,7 @@ class BCMethod implements MethodBuilder {", "removed": [ "" ] } ] }, { "file": "ja...
derby-DERBY-1714-b1397ecd
DERBY-766 DERBY-1714 Convert largeCodeGen to a JUnit test, add it to the lang._Suite and add that to the derbylang.runall old harness suite. Added tests for insert a large number of rows with a VALUES clause. Test needs further improvements due to errors from DERBY-1315 and stack overflow with a large INSERT VALUES cla...
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBC.java", "hunks": [ { "added": [ "\t * Provides simple testing of the ResultSet when the contents" ], "header": "@@ -299,7 +299,7 @@ public class JDBC {", "removed": [ "\t * Provides simple tes...
derby-DERBY-1716-8af8676c
DERBY-1716 contributed by Yip Ng patch: derby1716-trunk-diff03.txt Unlike other descriptors, when privilege(s) get revoked from user, the statement is not subject to recompilation, so then we are back to square one since the previous patch attempts to bring in the permission descriptor(s) into the permission cache at ...
[ { "file": "java/engine/org/apache/derby/impl/sql/conn/GenericAuthorizer.java", "hunks": [ { "added": [ " if( requiredPermissionsList != null && ", " !requiredPermissionsList.isEmpty() && ", " int ddMode = dd.startReading...
derby-DERBY-1718-a4656283
DERBY-1718 ( creating an after insert trigger with trigger action involving xml datatype throws java.io.NottSerializableException) Patch contributed by Yip Ng. The fix basically implements the Formatable interface for SqlXmlUtil class. Currently, it writes out the query expression string instead of the XPath objec...
[ { "file": "java/engine/org/apache/derby/iapi/services/io/StoredFormatIds.java", "hunks": [ { "added": [ " /**", " \tclass org.apache.derby.iapi.types.SqlXmlUtil", " */", " static public final int SQL_XML_UTIL_V01_ID =", ...
derby-DERBY-1729-fec62a7b
DERBY-1729, contributed by Yip Ng committing derby1729-trunk-diff03.txt patch. The GrantNode and RevokeNode should have derived from DDLStatementNode instead of MiscellaneousStatementNode. Subclassing DDLStatementNode will generate a call to GenericResultSetFactory's getDDLResultSet() in the activation class and invok...
[]
derby-DERBY-1732-665a8b9a
DERBY-1732 1. Make change to GenericStatementContext.isLastHandler() so it will return false for JVM errors thus allowing the outer contexts to take corrective action. 2. Store transaction context treats JVM errors as session severity. To ensure consistency, map severity for non StandardException instances to be SESSIO...
[ { "file": "java/engine/org/apache/derby/impl/sql/conn/GenericStatementContext.java", "hunks": [ { "added": [ "\t\t** session severity. It is probably an unexpected", " ** Store layer treats JVM error as session severity, ", " ** hence to be consiste...
derby-DERBY-1742-4b3350cb
DERBY-1734 (partial) Change SYSALIASESRowFactory to use the utility methods to obtain SystemColumn implementations to avoid passing redundant parameters leading to bugs (see DERBY-1742). Fix the bug described by DERBY-1742 so that the column descriptor for SYSTEMALIAS BOOLEAN column is created correctly. Remove the cal...
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/SYSALIASESRowFactory.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.reference.JDBC30Translation;" ], "header": "@@ -22,6 +22,7 @@", "removed": [] } ] }, { "file": "java/en...
derby-DERBY-1746-b4fdbf81
DERBY-1746 - removing svn:externals property from <trunk>/tools/testing, adjusting upgrade tests to by default attempt to access https://svn.apache.org/repos/asf/db/derby/jars for the older version's derby.jar files; removing dependency on 'lib' in old version's directory structure. Also adjusted comments. git-svn-...
[]
derby-DERBY-1748-52121014
DERBY-1748: Global case insensitive setting Patch contributed by Gunnar Grim. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@929111 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/types/DataTypeDescriptor.java", "hunks": [ { "added": [ " * Obtain the collation type from a collation property value.", "\t * @return The collation type, or -1 if not recognized.", " */", "\tpublic st...
derby-DERBY-1748-abe46d01
DERBY-1748 (partial) Removed unused collation code git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@922682 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/i18n/LocaleFinder.java", "hunks": [ { "added": [], "header": "@@ -25,7 +25,6 @@ import org.apache.derby.iapi.error.StandardException;", "removed": [ "import java.text.RuleBasedCollator;" ] } ] }...
derby-DERBY-1751-953604b4
DERBY-1751: derbynet/testSecMec.java fails with ShutdownException in DerbyNetClient framework The attached patch avoids the problem seen in this issue by setting the console output of the network server to a file. This change in made to the following files: * functionTests/tests/jdbc4/TestConnectionMethods.java * fun...
[ { "file": "java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java", "hunks": [ { "added": [ "import java.io.FileNotFoundException;", "import java.io.FileOutputStream;", "import java.security.AccessController;", "import java.security.Privi...
derby-DERBY-1755-6c1fe080
DERBY-1756 patch Derby1756.2.diff.txt contributed by Sunitha Kambhampati with derby-962 changes, if client jvm supports EUSRIDPWD then the client would use EUSRIDPWD as the security mechanism. But it is possible that the server jvm might not support EUSRIDPWD and the connection can fail. When DERBY-1517, DERBY-1755 i...
[ { "file": "java/client/org/apache/derby/jdbc/ClientBaseDataSource.java", "hunks": [ { "added": [ " * 2. if password is available,then USRIDPWD is returned." ], "header": "@@ -277,10 +277,7 @@ public abstract class ClientBaseDataSource implements Serializable, Refe...
derby-DERBY-1756-6c1fe080
DERBY-1756 patch Derby1756.2.diff.txt contributed by Sunitha Kambhampati with derby-962 changes, if client jvm supports EUSRIDPWD then the client would use EUSRIDPWD as the security mechanism. But it is possible that the server jvm might not support EUSRIDPWD and the connection can fail. When DERBY-1517, DERBY-1755 i...
[ { "file": "java/client/org/apache/derby/jdbc/ClientBaseDataSource.java", "hunks": [ { "added": [ " * 2. if password is available,then USRIDPWD is returned." ], "header": "@@ -277,10 +277,7 @@ public abstract class ClientBaseDataSource implements Serializable, Refe...
derby-DERBY-1757-86cae7bf
DERBY-1817: Race condition in network server's thread pool Instead of always putting new sessions in the run queue when there are free threads, the network server now compares the number of free threads and the size of the run queue. This is done to prevent the run queue from growing to a size greater than the number ...
[ { "file": "java/drda/org/apache/derby/impl/drda/ClientThread.java", "hunks": [ { "added": [], "header": "@@ -47,7 +47,6 @@ final class ClientThread extends Thread {", "removed": [ "\t\t\tSession clientSession = null;" ] } ] }, { "file": "java...
derby-DERBY-1758-3098ab04
DERBY-1758: Enable xmlSuite to run as part of derbyall for qualified JVMs This patch was contributed by A B (qozinx@gmail.com) This patch adds two JUnit tests to lang/_Suite.java. The first test, XMLTypeAndOpsTest.java, is meant to be a JUnit equivalent to the current lang/xml_general.sql test. The second test, XMLMi...
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBC.java", "hunks": [ { "added": [ "import java.io.PrintWriter;", "import java.io.ByteArrayInputStream;", "import java.io.ByteArrayOutputStream;", "", "import java.lang.reflect.Method;", ...
derby-DERBY-1758-378aa34e
DERBY-2131: Use a privileged block when calling out to the JAXP parser so that users running with a security manager can insert XML values that reference external DTDs without encountering security exceptions. This patch does not include any tests; however, relevant test cases will be enabled as part of DERBY-1758. ...
[ { "file": "java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java", "hunks": [ { "added": [ " protected String serializeToString(final String xmlAsText)", " final ArrayList aList = new ArrayList();", "", " /* The call to dBuilder.parse(...
derby-DERBY-1758-b73c2a37
DERBY-1758: Enable xmlSuite to run as part of derbyall for qualified JVMs This patch was contributed by A B (qozinx@gmail.com) I'm attaching another patch, d1758_followup_v1.patch, that moves the XML utility methods out of junit.JDBC and into a new class, junit.XML, per Dan's suggestion (thanks Dan). Note that I cha...
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBC.java", "hunks": [ { "added": [], "header": "@@ -25,15 +25,6 @@ import java.util.Iterator;", "removed": [ "import java.io.PrintWriter;", "import java.io.ByteArrayInputStream;", "import java....
derby-DERBY-1758-cd4ba4a7
DERBY-1758 (partial): Adds a new JUnit test to replace the old lang/xmlBinding.java test. The patch does the following: - Adds XML file insertion utility methods to junit/XML.java - Creates a new JUnit test called lang/XMLBindingTest.java that uses the new utility methods to test various binding scenarios ...
[ { "file": "java/testing/org/apache/derbyTesting/junit/XML.java", "hunks": [ { "added": [ "import java.io.IOException;", "import java.io.InputStreamReader;", "import java.security.PrivilegedActionException;", "", "import java.sql.Connection;", ...
derby-DERBY-1758-de7372b8
DERBY-1758 (partial): 1. Updates XMLBindingTest to ignore the Windows line-ending character ("\r") when counting characters as part of serialization. 2. Updates XMLBindingTest to run with NO security manager for now. This works toward the "progress not perfection" goal of incremental development. ...
[ { "file": "java/testing/org/apache/derbyTesting/junit/SecurityManagerSetup.java", "hunks": [ { "added": [ " /**", " * Same as noSecurityManager() above but takes a TestSetup", " * instead of a BaseTestCase.", " */", " public s...
derby-DERBY-1758-f7abbf44
DERBY-1758 (partial): Enable the lang/XMLBindingTest to run under a security manager. Changes include all of the following: - Updates lang/XMLBindingTest.java so that it will run under the default testing security manager (i.e. removed the "noSecurityManager()" wrapper). - Adds a new property, derbyTesting.jaxpjar,...
[ { "file": "java/testing/org/apache/derbyTesting/junit/SecurityManagerSetup.java", "hunks": [ { "added": [ " /* When inserting XML values that use external DTD's, the JAXP", " * parser needs permission to read the DTD files. So here we set", " ...
derby-DERBY-1759-0c5a8eb5
DERBY-1759: XMLSERIALIZE doesn't follow spec when serializing sequence This patch was contributed by Army Brown (qozinx@gmail.com) The patch does the following: 1. Adds logic to SqlXmlUtil.serializeToString() to perform the steps of "sequence normalization" as required by XML serialization rules. This in...
[ { "file": "java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java", "hunks": [ { "added": [ "import org.w3c.dom.Attr;" ], "header": "@@ -32,6 +32,7 @@ import java.io.StringReader;", "removed": [] }, { "added": [ "", " ...
derby-DERBY-176-38fe427c
DERBY-176 Produce a clear error message when a SQL statement exceeds the limit(s) of the generated Java class. These limits are imposed by the Java Virtual Machine specification. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@358605 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/reference/SQLState.java", "hunks": [ { "added": [ "\tString GENERATED_CLASS_LIMIT_EXCEEDED\t= \"XBCM4.S\";" ], "header": "@@ -197,6 +197,7 @@ public interface SQLState {", "removed": [] } ] }, { "f...
derby-DERBY-176-51cefa2a
DERBY-176 DERBY-766 Modify pushing a long value in generated code to avoid using constant pool entries if the long is within the range of a short. Then use the I2L instruction to convert the int to a long. Also if the long is within range of an int, then create a integer constant pool entry and I2L to avoid using two c...
[ { "file": "java/engine/org/apache/derby/impl/services/bytecode/BCMethod.java", "hunks": [ { "added": [ " // myCode.getPC() gives the code length since", " // the program counter will be positioned after", " // the last instruction. Note this v...
derby-DERBY-176-c8208e1e
DERBY-176 Improved version of the largeCodeGen test with looping based upon query element count and a test for a large IN clause. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@354826 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-176-ee1cc94b
DERBY-176 DERBY-776 Add the initial utility code and split algorithm to split a single generated method that execeeds the java virtual machine limit of 65535 bytes of instructions. Allows the byte-code api caller to generate code without worrying about exceeding the limit. The initial split algorithm is the ability to ...
[ { "file": "java/engine/org/apache/derby/impl/services/bytecode/BCMethod.java", "hunks": [ { "added": [ " ", " /**", " * Code length at which to split into sub-methods.", " * Normally set to the maximim code length the", " * JV...
derby-DERBY-1762-8bc31837
Add DatabasePropertyTestSetup decorator that sets and clears database properties. Fix a bug in SystemPropertyTestSetup noticed while testing DatabasePropertyTestSetup. Change ConcurrencyTest to use DatabasePropertyTestSetup to work around bug DERBY-1762. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk...
[ { "file": "java/testing/org/apache/derbyTesting/junit/SystemPropertyTestSetup.java", "hunks": [ { "added": [ "\tprivate Properties newValues;", "\tprivate Properties oldValues;" ], "header": "@@ -34,8 +34,8 @@ import junit.framework.Test;", "removed"...
derby-DERBY-1764-0433f1a7
DERBY-1764 Rewrite stress.multi as a JUnit test enable StressMultiTest. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@704259 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/SystemPropertyTestSetup.java", "hunks": [ { "added": [ "\tprivate boolean staticProperties;" ], "header": "@@ -36,6 +36,7 @@ public class SystemPropertyTestSetup extends TestSetup {", "removed": [] },...
derby-DERBY-1764-bde05cd1
DERBY-1764 (partial) Rewrite stress.multi as a JUnit test incremental improvements for error handling and change StressMulti50x59 should only do an embedded run. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@678051 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-1767-69d1cb89
DERBY-1767: insertRow(), updateRow() and deleteRow() cannot handle table names and column names containing double quotes Patch contributed by Fernanda Pizzorno. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@441185 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/ResultSet.java", "hunks": [ { "added": [ " insertSQL.append(quoteSqlIdentifier(", " resultSetMetaData_.getColumnName(column)));" ], "header": "@@ -4392,7 +4392,8 @@ publi...
derby-DERBY-1768-a9988eb1
DERBY-1768: Removed empty JDBC 4.0 RowId classes git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@440321 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/jdbc/Driver40.java", "hunks": [ { "added": [], "header": "@@ -32,7 +32,6 @@ import org.apache.derby.impl.jdbc.EmbedConnection;", "removed": [ "import org.apache.derby.impl.jdbc.EmbedRowId;" ] } ] } ]
derby-DERBY-177-8106edc9
DERBY-3850: Remove unneeded workarounds for DERBY-177 and DERBY-3693 Removed the wait parameter from methods called from SPSDescriptor.updateSYSSTATEMENTS() since waiting is prevented by another mechanism now. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@692495 13f79535-47bb-0310-9956-ffa450edef6...
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/DataDictionary.java", "hunks": [ { "added": [ "\t\tTransactionController\ttc" ], "header": "@@ -1072,15 +1072,13 @@ public interface DataDictionary", "removed": [ "\t * @param wait\t\t\tTo w...
derby-DERBY-177-8c502aef
Reduced derby.locks.waitTimeout for UpdatableResultSetTest because one of the test cases gets a lock timeout in an internal transaction (compilation of a trigger statement). The hang is probably caused by DERBY-177. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@544155 13f79535-47bb-0310-9956-ffa450...
[]
derby-DERBY-177-a9215529
DERBY-3850: Remove unneeded workarounds for DERBY-177 and DERBY-3693 Removed the wait parameter from TabInfoImpl.updateRow(). The method only had two callers, both of which called it with wait=true. updateRow() passed the parameter on to openForUpdate() in RowChanger, but that method is sometimes called with wait=fals...
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/TabInfoImpl.java", "hunks": [ { "added": [], "header": "@@ -22,18 +22,14 @@", "removed": [ "import org.apache.derby.iapi.services.context.ContextService;", "import org.apache.derby.iapi.sql.conn.Langua...
derby-DERBY-1773-b9e22cc3
DERBY-1773: cursor updates fail with syntax error when column has an alias This change enhances the runtime column analysis code so that an updatable cursor can make a more nuanced decision about whether a column update is or is not allowed. Specifically, certain columns may not be updated, if they have been aliased....
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/ResultColumnList.java", "hunks": [ { "added": [ " \t/**", "\t * Return true if some columns in this list are updatable.", "\t *", "\t * @return\ttrue if any column in list is updatable, else false"...
derby-DERBY-1777-7e5c6699
DERBY-1777: Commit Army's d1777_v2.patch, cleaning up an NPE in the optimizer. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@446924 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/OptimizerImpl.java", "hunks": [ { "added": [ "\t\t\t\t/* If we already assigned at least one position in the", "\t\t\t\t * join order when this happened (i.e. if joinPosition", "\t\t\t\t * is greater than *o...
derby-DERBY-1784-b6c6e95c
DERBY-1784 contributed by Yip Ng After studying the compiler code abit more, I found that DML statements such as INSERT, UPDATE and DELETE also suffer from the same problem (they use different bind logic) With that said, this patch attempts to address all the stated problems above when column reference is qualified...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/DMLModStatementNode.java", "hunks": [ { "added": [ "\tprotected TableName synonymTableName;", "\t" ], "header": "@@ -128,7 +128,8 @@ abstract class DMLModStatementNode extends DMLStatementNode", ...
derby-DERBY-1785-9082f658
DERBY-1785 contributed by Myrna van Lunteren patch: DERBY-1785_20061007.diff Attaching a band-aid patch for this issue. I chose to comment out the method rather than remove as a way to document the quirky behavior. Having the method setSecurityProps overload the one in jvm.java causes problems when running the juni...
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/harness/j9_foundation.java", "hunks": [ { "added": [ "// Having the following method overload the one in jvm.java causes problems when running", "// the junit tests - they *do* successfully run with securityManag...
derby-DERBY-1786-9e2a7491
DERBY-1786 (a crash during re-encryption may cause an unrecoverable db) The problem was when transaction log spans more than one log file during (re) encryption of the database and if there is a crash just before switching the database to use the new encryption properties; On recovery checkpoint in the first log file ...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/RawStore.java", "hunks": [ { "added": [ " logFactory.setDatabaseEncrypted(false);" ], "header": "@@ -302,7 +302,7 @@ public final class RawStore implements RawStoreFactory, ModuleControl, ModuleSup", ...
derby-DERBY-1787-439d1e86
DERBY-1787 contributed by Mamta Satoor patch: DERBY1787_UseCorrectTerminologyV1diff.txt Grant revoke functionality was added in Derby 10.2 The comments that went into the grant revoke code, in some places refer to database owner as "dba". They are not the same thing. In the grant revoke world, dba is a role. We haven'...
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DD_Version.java", "hunks": [ { "added": [ "\t * @param\taid\t AuthorizationID of current user to be made Database Owner" ], "header": "@@ -303,7 +303,7 @@ public\tclass DD_Version implements\tFormatable", ...
derby-DERBY-1790-4ea76b17
Improve JDBC.dropSchema to include dropping synoyms based upon JDBC metadata. Includes a workaround for DERBY-1790. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@439845 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBC.java", "hunks": [ { "added": [], "header": "@@ -154,7 +154,6 @@ public class JDBC {", "removed": [ "\t * TODO: Drop Synonyms" ] }, { "added": [ "", " // S...
derby-DERBY-1793-197f1c28
DERBY-1793 Increasing the maximum time to wait for the server to start up from 30 to 60 seconds. The test checks in 500ms increments, so this change does not increase the time for test to run for those who are already successfully running it. So far this change has made this test pass in my environment, where previo...
[]
derby-DERBY-1794-197f1c28
DERBY-1793 Increasing the maximum time to wait for the server to start up from 30 to 60 seconds. The test checks in 500ms increments, so this change does not increase the time for test to run for those who are already successfully running it. So far this change has made this test pass in my environment, where previo...
[]
derby-DERBY-1810-59912979
DERBY-1810 Bumping the time to wait for server to start in this test. In my environment this test is failing consistently (and bad error handling in the test then causes this test to hang forever). Bumping the timeout so far has made it pass (I tried it 10 times), where before it failed 10 times. git-svn-id: ht...
[]
derby-DERBY-1811-0c7cafc6
DERBY-1811 Ensure embedded ResultSet.getTimestamp on a TIME column returns a java.sql.Timestamp with a date portion equal to the current date at the time the getTimestamp method is called. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@448456 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/types/SQLTime.java", "hunks": [ { "added": [ " * Convert a SQL TIME to a JDBC java.sql.Timestamp.", " * ", " * Behaviour is to set the date portion of the Timestamp", " * to the actual current ...
derby-DERBY-1816-26b9e3cc
DERBY-1816 (partial): Pre-patch "cleanup" that does the following: 1) Replaces each of the recyclable Date, Time, and Timestamp arguments with a recyclable java.util.Calendar object in client/am/Cursor.java. 2) Modifies the relevant code in client/am/DateTime.java to call methods on the recyclable Calen...
[ { "file": "java/client/org/apache/derby/client/am/Cursor.java", "hunks": [ { "added": [ " java.util.Calendar recyclableCalendar_ = null;" ], "header": "@@ -95,9 +95,7 @@ public abstract class Cursor {", "removed": [ " java.sql.Date recyclableDa...
derby-DERBY-1816-33a27994
DERBY-1816: ResultSet.getTime() on a SQL TIMESTAMP should retain millisecond precision. Patch does the following: 1. Separates the timestamp parse logic in client/am/DateTime.java into a new method called "parseTimestampString()". The new method takes a timestamp string and a Calendar object, and sets the...
[ { "file": "java/client/org/apache/derby/client/am/DateTime.java", "hunks": [ { "added": [ " Calendar cal = getCleanCalendar(recyclableCal);", "", " /* java.sql.Timestamp has nanosecond precision, so we have to keep", " * the parsed ...
derby-DERBY-1817-86cae7bf
DERBY-1817: Race condition in network server's thread pool Instead of always putting new sessions in the run queue when there are free threads, the network server now compares the number of free threads and the size of the run queue. This is done to prevent the run queue from growing to a size greater than the number ...
[ { "file": "java/drda/org/apache/derby/impl/drda/ClientThread.java", "hunks": [ { "added": [], "header": "@@ -47,7 +47,6 @@ final class ClientThread extends Thread {", "removed": [ "\t\t\tSession clientSession = null;" ] } ] }, { "file": "java...
derby-DERBY-1817-aeb14c38
DERBY-1817: Race condition in network server's thread pool Clean-up of NetworkServerControlImpl: - moves generation of connection number into addSession() - adds new method removeThread() which can be used instead of getThreadList().remove() - removes methods that are no longer used - makes methods that ar...
[ { "file": "java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java", "hunks": [ { "added": [ "\tprivate void runQueueAdd(Session clientSession)" ], "header": "@@ -1856,7 +1856,7 @@ public final class NetworkServerControlImpl {", "removed": [ ...
derby-DERBY-1817-cea6c946
DERBY-1817: Race condition in network server's thread pool Reduce the amount of code synchronized on runQueue in NetworkServerControlImpl.addSession(). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@442462 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java", "hunks": [ { "added": [ "\t\t// Check whether there are enough free threads to service all the", "\t\t// threads in the run queue in addition to the newly added session.", "\t\tboolean...
derby-DERBY-1824-22043364
DERBY-1824: Permission/privlege names in exceptions should be in upper case as keywords, not lower case. Patch contributed by Jazarine Jamal Patch file: DERBY1824.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@629024 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/StatementTablePermission.java", "hunks": [ { "added": [ "\t\t\treturn \"SELECT\";", "\t\t\treturn \"UPDATE\";", "\t\t\treturn \"REFERENCES\";", "\t\t\treturn \"INSERT\";", "\t\t\tretur...
derby-DERBY-1826-a997e8f1
DERBY-1826: Add JUnit utility methods for database/server shutdown Patch contributed by Deepa Remesh. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@448900 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java", "hunks": [ { "added": [ " return getDefaultConnection(\"create=true\");" ], "header": "@@ -408,7 +408,7 @@ public class TestConfiguration {", "removed": [ " ...
derby-DERBY-1826-f05a2f83
DERBY-1522 contributed by Deepa Remesh, dremesh@gmail.com Attaching a patch 'derby1522_v2.diff. It includes a JUnit test for testing the switch to SQL standard authorization. It tests following: 1. grant/revoke is not available if derby.database.sqlAuthorization property is not set. 2. grant/revoke is available whe...
[ { "file": "java/testing/org/apache/derbyTesting/junit/DatabasePropertyTestSetup.java", "hunks": [ { "added": [ "import org.apache.derbyTesting.functionTests.util.SQLStateConstants;", "" ], "header": "@@ -29,6 +29,8 @@ import java.util.Properties;", "...
derby-DERBY-1827-f05a2f83
DERBY-1522 contributed by Deepa Remesh, dremesh@gmail.com Attaching a patch 'derby1522_v2.diff. It includes a JUnit test for testing the switch to SQL standard authorization. It tests following: 1. grant/revoke is not available if derby.database.sqlAuthorization property is not set. 2. grant/revoke is available whe...
[ { "file": "java/testing/org/apache/derbyTesting/junit/DatabasePropertyTestSetup.java", "hunks": [ { "added": [ "import org.apache.derbyTesting.functionTests.util.SQLStateConstants;", "" ], "header": "@@ -29,6 +29,8 @@ import java.util.Properties;", "...
derby-DERBY-183-37a2f5e8
DERBY-183: Allow unnamed parameters in CREATE FUNCTION This patch was contributed by James F. Adams (derby@xemaps.com) The patch does the following: 1) Modifies java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj a) Initializes parameterName to "" in procedureParameterDefinition and functionParame...
[ { "file": "java/engine/org/apache/derby/catalog/types/RoutineAliasInfo.java", "hunks": [ { "added": [ " * Describe a routine (procedure or function) alias." ], "header": "@@ -34,7 +34,7 @@ import java.io.ObjectOutput;", "removed": [ " * Describe a r ...
derby-DERBY-1830-01b5d0b3
DERBY-1830 missed new file VTITest.java in last commit. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@449116 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-1847-41fbd581
DERBY-1909: ALTER TABLE DROP COLUMN needs to update GRANTed privileges When ALTER TABLE DROP COLUMN is used to drop a column from a table, it needs to update the GRANTed column privileges on that table. The core of this proposed patch involves refactoring and reusing the DERBY-1847 method which knows how to rewrite S...
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java", "hunks": [ { "added": [ "\t{", "\t\trewriteSYSCOLPERMSforAlterTable(tableID, tc, null);", "\t}", "\t/**", "\t * Update SYSCOLPERMS due to dropping a column from ...
derby-DERBY-1847-626d3159
DERBY-1847 contributed by Mamta Satoor patch: DERBY1846_V1_diff_AddColumnAndGrantRevoke.txt To recap the problem, in SQL Authorization mode, when a new column is added to a table, the rows in SYSCOLPERMS for the table in question were not getting updated to incorporate the new column. This caused ASSERT failure when ...
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java", "hunks": [ { "added": [ "\t/**", "\t * Need to update SYSCOLPERMS for a given table because a new column has ", "\t * been added to that table. SYSCOLPERMS has a column called \"COL...
derby-DERBY-1852-0f0f8ade
DERBY-1852: Fix "modification of access paths" code in TableOperatorNode so that the final query tree accurately reflects (and generates) the necessary modified nodes. Patch also adds corresponding test cases to lang/union.sql and updates master files accordingly. git-svn-id: https://svn.apache.org/repos/asf/db/derb...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/SetOperatorNode.java", "hunks": [ { "added": [ "\t\t * have to generate a ProjectRestrictNode. Note: we want to check", "\t\t * all SetOpNodes that exist in the subtree rooted at this SetOpNode.", "\t\t * S...
derby-DERBY-1856-47dd4379
DERBY-1878 contributed by Sunitha Kambhampati patch: derby1878.diff.txt I am attaching the patch (derby1878.diff.txt) to improve some error handling in some of the network server tests. 1.The execCmdDumpResults used by the five tests timeslice.java,maxthreads.java,testij.java,runtimeinfo.java,sysinfo.java suffer f...
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/util/ExecProcUtil.java", "hunks": [ { "added": [ "/*", " ", " Derby - Class org.apache.derbyTesting.functionTests.util.ExecProcUtil", " ", " Licensed to the Apache Software Foundatio...
derby-DERBY-1858-28c633d8
DERBY-1858 contributed by Yip Ng patch: derby1858-trunk-diff02.txt Fixes problem that DropSchemaNode's bind phase did not add the required schema privilege for it to check at runtime. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@449869 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/StatementSchemaPermission.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.services.sanity.SanityManager;" ], "header": "@@ -27,6 +27,7 @@ import org.apache.derby.iapi.reference.SQLState;", ...
derby-DERBY-1861-2bb13aca
DERBY-1861: ASSERT when combining references and expressions in ORDER BY An ORDER BY clause wihch combines both column references and expressions causes the sort engine to throw an ASSERT failure in sane builds. The data structure problems that are exposed by DERBY-1861 both have to do with the duplicate elimination ...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/OrderByColumn.java", "hunks": [ { "added": [ "\tprivate OrderByList list;" ], "header": "@@ -46,6 +46,7 @@ public class OrderByColumn extends OrderedColumn {", "removed": [] }, { ...
derby-DERBY-1862-d52f8785
DERBY-1862 Patch makes a map of column names to column number. The map is populated when the first call to findColumn is made. Patch contributed by Andreas Korneliussen andreas.korneliussen@sun.com git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@448949 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.util.ReuseFactory;" ], "header": "@@ -57,6 +57,7 @@ import org.apache.derby.iapi.reference.JDBC20Translation;", "removed": [] },...
derby-DERBY-1866-cdd73ccf
DERBY-1866 contributed by Army Brown patch: d1866_v1.patch Attaching a first patch for this issue, d1866_v1.patch. In short, the problem was that, when pushing predicates to subqueries beneath UNIONs, the predicates were always being pushed to the *first* table in the subquery's FROM list, regardless of whether or not...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/OptimizerImpl.java", "hunks": [ { "added": [ "", "\t\t/* If user specified the optimizer override for a fixed", "\t\t * join order, then desiredJoinOrderFound could be true", "\t\t * when we get he...
derby-DERBY-1876-b408ff8d
DERBY-1876 Change currentRow in EmbedResultSet to be null if not on current row, otherwise be a reference to the current row of the top-level language result set. Avoids an object allocation per-EmbedResultSet that was never used. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@566311 13f79535-47bb-03...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java", "hunks": [ { "added": [], "header": "@@ -51,13 +51,10 @@ import org.apache.derby.iapi.services.io.StreamStorable;", "removed": [ "import org.apache.derby.iapi.services.io.LimitReader;", ...
derby-DERBY-1876-c6012226
DERBY-1876: Move conversion of query timeout to milliseconds out of EmbedResultSet's constructor, and get column count without creating a meta-data object git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@522445 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java", "hunks": [ { "added": [ " private final long timeoutMillis;" ], "header": "@@ -183,7 +183,7 @@ public abstract class EmbedResultSet extends ConnectionChild", "removed": [ " ...
derby-DERBY-1876-f512b2fc
DERBY-1879 Save the EmbedResultSetMetaData object and the case-insensitive column name map in the ResultDescription object and not EmbedResultSet. This means these objects are created once per compiled plan (as needed) and not once per EmbedResultSet (as needed). This improves the performance by reducing the overhead f...
[ { "file": "java/engine/org/apache/derby/iapi/sql/ResultDescription.java", "hunks": [ { "added": [ "\t * copy. The saved JDBC ResultSetMetaData will", " * not be copied." ], "header": "@@ -74,7 +74,8 @@ public interface ResultDescription", "remove...
derby-DERBY-1878-47dd4379
DERBY-1878 contributed by Sunitha Kambhampati patch: derby1878.diff.txt I am attaching the patch (derby1878.diff.txt) to improve some error handling in some of the network server tests. 1.The execCmdDumpResults used by the five tests timeslice.java,maxthreads.java,testij.java,runtimeinfo.java,sysinfo.java suffer f...
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/util/ExecProcUtil.java", "hunks": [ { "added": [ "/*", " ", " Derby - Class org.apache.derbyTesting.functionTests.util.ExecProcUtil", " ", " Licensed to the Apache Software Foundatio...
derby-DERBY-1879-f512b2fc
DERBY-1879 Save the EmbedResultSetMetaData object and the case-insensitive column name map in the ResultDescription object and not EmbedResultSet. This means these objects are created once per compiled plan (as needed) and not once per EmbedResultSet (as needed). This improves the performance by reducing the overhead f...
[ { "file": "java/engine/org/apache/derby/iapi/sql/ResultDescription.java", "hunks": [ { "added": [ "\t * copy. The saved JDBC ResultSetMetaData will", " * not be copied." ], "header": "@@ -74,7 +74,8 @@ public interface ResultDescription", "remove...
derby-DERBY-1894-76812041
DERBY-1894 contributed by Yip Ng patch: derby1894-trunk-diff02.txt The fix is in FromBaseTable's getFromTableByName() method, where it is using the resolved synonym table name to do the binding for ORDER BY column. Patch includes additional tests. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@4...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/FromBaseTable.java", "hunks": [ { "added": [ "\t\t\t\t\t\t\t\t\t\t\t origTableName.getFullTableName());" ], "header": "@@ -2260,7 +2260,7 @@ public class FromBaseTable extends FromTable", "removed": [...
derby-DERBY-1909-41fbd581
DERBY-1909: ALTER TABLE DROP COLUMN needs to update GRANTed privileges When ALTER TABLE DROP COLUMN is used to drop a column from a table, it needs to update the GRANTed column privileges on that table. The core of this proposed patch involves refactoring and reusing the DERBY-1847 method which knows how to rewrite S...
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java", "hunks": [ { "added": [ "\t{", "\t\trewriteSYSCOLPERMSforAlterTable(tableID, tc, null);", "\t}", "\t/**", "\t * Update SYSCOLPERMS due to dropping a column from ...
derby-DERBY-1909-ee5857f3
DERBY-1489: Provide ALTER TABLE DROP COLUMN functionality This patch provides support for ALTER TABLE t DROP COLUMN c. The patch modifies the SQL parser so that it supports statements of the form: ALTER TABLE t DROP [COLUMN] c [CASCADE|RESTRICT] If you don't specify CASCADE or RESTRICT, the default is CASCADE. I...
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/SPSDescriptor.java", "hunks": [ { "added": [ "\t\t\tcase DependencyManager.DROP_COLUMN_RESTRICT:" ], "header": "@@ -908,6 +908,7 @@ public class SPSDescriptor extends TupleDescriptor", "removed": [] ...
derby-DERBY-1913-79366f5f
DERBY-1913 storetests/st_reclaim_longcol.java fails intermittently disabling test2, still machine dependent. test1 covers the original intended code path to verify that blobs are marked for post commit immediately, rather than waiting for all rows on a page to be deleted. git-svn-id: https://svn.apache.org/repos/a...
[]
derby-DERBY-1913-cf5ac0cc
DERBY-1913 storetests/st_reclaim_longcol.java fails intermittently The test was counting on being able to control the number of FREE pages, but the number is very dependent on ability of background thread to run in a timely manner. Changed the test to check number of allocated pages, which at least correctly tests th...
[]
derby-DERBY-1914-2d14fe72
DERBY-1914 test lang/wisconsin gives garbage output on zOS git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1355569 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-1917-0aceaa9f
DERBY-1917: Clob.position fails with search strings longer than 256 chars This patch was contributed by V. Narayanan (v.narayanan@sun.com) The position algorithm proceeds in a chunked fashion, searching for 256 byte chunks of the search string at a time. The chunking algorithm contained two flaws: - tmpPatternS = ...
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedClob.java", "hunks": [ { "added": [ "\t* begins at position <code>start</code>. The method uses the following", "\t* algorithm for the search", "\t*", "\t*", "\t* 1)Is the length of the cur...
derby-DERBY-1925-5110c0a4
DERBY-1925 : (Add re-encrytion of database test cases to the upgrade test.) Merged fix (r452682) from 10.2 branch to trunk. This patch adds test cases to the upgrade test to test encryption of an un-encrypted database and re-encryption of encrypted database. git-svn-id: https://svn.apache.org/repos/asf/db/derby/...
[]
derby-DERBY-1926-ee5857f3
DERBY-1489: Provide ALTER TABLE DROP COLUMN functionality This patch provides support for ALTER TABLE t DROP COLUMN c. The patch modifies the SQL parser so that it supports statements of the form: ALTER TABLE t DROP [COLUMN] c [CASCADE|RESTRICT] If you don't specify CASCADE or RESTRICT, the default is CASCADE. I...
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/SPSDescriptor.java", "hunks": [ { "added": [ "\t\t\tcase DependencyManager.DROP_COLUMN_RESTRICT:" ], "header": "@@ -908,6 +908,7 @@ public class SPSDescriptor extends TupleDescriptor", "removed": [] ...
derby-DERBY-1931-6c248652
DERBY-1931: Derby JAR files should be grouped as a single library in Package Explorer Contributed by Aaron Tarter git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@581971 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "plugins/eclipse/org.apache.derby.ui/src/org/apache/derby/ui/popup/actions/AddDerbyNature.java", "hunks": [ { "added": [ "import java.util.ArrayList;", "import java.util.List;", "", "import org.apache.derby.ui.container.DerbyClasspathContainer;...
derby-DERBY-1938-a92196cc
DERBY-1938: Add support for setObject(<arg>, null) Allow calling the two-argument PreparedStatement.setObject method with null to set a column value in the database to SQL NULL. The recommended way for maximum portability is to use the three-argument setObject method or the setNull method. Patch file: derby-1938-1b-...
[]
derby-DERBY-1939-801c5156
DERBY-1939 Bug was already fixed in trunk, merging added tests and new sanity check from 10.1 codeline to trunk. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@454623 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/store/access/DiskHashtable.java", "hunks": [ { "added": [], "header": "@@ -18,7 +18,6 @@", "removed": [ "" ] }, { "added": [ "import org.apache.derby.iapi.services.sanity.SanityManager;...
derby-DERBY-1940-d6e7d39f
DERBY-1940: Remove Ease of Development to conform to recent changes to the JDBC4 api. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@453913 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/LogicalConnection40.java", "hunks": [ { "added": [], "header": "@@ -22,7 +22,6 @@", "removed": [ "import java.sql.BaseQuery;" ] } ] }, { "file": "java/client/org/apache/derby/client/net/NetCon...
derby-DERBY-1942-2c865dd4
- DERBY-1942 There exists difference between behavior of setNull(Types.TIME) and setTiime(null) - Patch by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp) git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@464202 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-1944-8c22ad03
DERBY-1944: jdbcapi/ParameterMappingTest.java test does not execute test for setObject(Blob/Clob) in DerbyNetClient. Made the test execute tests for setObject(Blob) and setObject(Clob). Patch file: derby-1944-1a.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@674849 13f79535-47bb-0310-9956-ffa45...
[]
derby-DERBY-1947-10f111c7
DERBY-1947 OutOfMemoryError after repeated calls to boot and shutdown a database Committed DERBY-1947-4.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@531638 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java", "hunks": [ { "added": [ "\t\tif (!isClosed() &&", "\t\t\t\t(rootConnection == this) && ", "\t\t\t\t(!autoCommit && !transactionIsIdle())) {", "\t\t\tthrow newSQLException(", ...