id
stringlengths
22
25
commit_message
stringlengths
137
6.96k
diffs
listlengths
0
63
derby-DERBY-680-3b118182
DERBY-2228 Fix ij's util class to make correct determination if running on J2SE or JSR 169. Also set DECIMAL parameter in PreparedStatement using setString and retry using setLong if a conversion error occurs. This fixes the NullPointerExcecption seen in DERBY-680. Previously the code was using the ResultSetMetaData wh...
[ { "file": "java/tools/org/apache/derby/impl/tools/ij/util.java", "hunks": [ { "added": [ "\tprivate static boolean IS_AT_LEAST_JDBC2;", "\t\tboolean isAtLeastJDBC2;", " // Need to test to see if this is", " // currently JDBC 2 or JS...
derby-DERBY-6807-0a1be27f
DERBY-6810: Add regression tests for XXE vulnerability. This patch was contributed by Abhinav Gupta (abhinavgupta2004 at gmail dot com) This change adds a new regression test suite to hold tests for XXE vulnerabilities in XML data type processing. The new test case is in a suite by its own because we want to control...
[]
derby-DERBY-6807-7643f965
DERBY-6807: XXE attack possible by using XmlVTI and the XML datatype This change enhances the DocumentBuilderFactory which is used by the XmlVTI for parsing XML documents. The XmlVTI now automatically disables external entity expansion and enables FEATURE_SECURE_PROCESSING. git-svn-id: https://svn.apache.org/repos/...
[ { "file": "java/engine/org/apache/derby/vti/XmlVTI.java", "hunks": [ { "added": [ "import javax.xml.XMLConstants;" ], "header": "@@ -35,6 +35,7 @@ import java.text.ParseException;", "removed": [] }, { "added": [ " * <p>", ...
derby-DERBY-681-8443b6fc
DERBY-681 (followup): Make the visibleSize() method of ResultColumnList less restrictive by taking into account all generated columns, not just those added in GroupByList#bindGroupByColumns. Also, add an example query to subquery.sql that shows why this change is needed. Contributed by: Manish Khettry (manish_khettry...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/ResultColumnList.java", "hunks": [ { "added": [ "\tprivate int numGeneratedColumns() ", "\t{", "\t\tint numGenerated = 0;", "\t\tint sz = size();", "\t\tfor (int i = sz - 1; i >= 0; i--) ...
derby-DERBY-681-d5ef9067
DERBY-681: Remove the "wrap group by's in a subselect" rewrite in the parser. This patch preserves the having clause through bind and optimize phases and then, during the final rewrite for aggregates in the GroupByNode, it transforms the having clause to a valid restriction. See text file attached to the Jira for more ...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CreateTableNode.java", "hunks": [ { "added": [ "\t\t\t\tif (resultColumns.size() != qeRCL.visibleSize())" ], "header": "@@ -280,7 +280,7 @@ public class CreateTableNode extends DDLStatementNode", "remove...
derby-DERBY-681-dcd2b043
DERBY-4450 GROUP BY in an IN-subquery inside HAVING clause whose select list is subset of group by columns, gives NPE Patch derby-4450b + Knut's simplification of the autocommit call in GrooupByTest#testDerby4450. This solves the problem seen in this issue, which was a regression from DERBY-681. The crux of the prob...
[]
derby-DERBY-6825-4394bdd1
DERBY-6825: Add SimpleJsonVTI and helper functions to the simpleJson optional tool; commit derby-6825-02-aa-vti.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1693506 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/optional/org/apache/derby/optional/api/SimpleJsonUtils.java", "hunks": [ { "added": [ "import java.io.FileInputStream;", "import java.io.InputStream;", "import java.io.InputStreamReader;", "import java.io.IOException;", "import ...
derby-DERBY-6825-961b0f44
DERBY-6825: Add to the simpleJson tool a function which converts a JSONArray into a Clob; commit derby-6825-05-aa-toClobFunction.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1701885 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/optional/org/apache/derby/optional/api/SimpleJsonUtils.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.types.HarmonySerialClob;" ], "header": "@@ -46,6 +46,7 @@ import org.json.simple.JSONArray;", "removed": [] } ] } ]
derby-DERBY-683-fb605fe1
DERBY-683: Commit _tstpatch3_ by Myrna. Adds derbyTesting.encoding property to harness. Excludes encodingTests from all JDKs except Sun JDK 1.5. Further investigation is required to understand why this is necessary. The changes introduced in this patch (specifically, setting -Dfile.encoding on the command- line of the ...
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/harness/HandleResult.java", "hunks": [ { "added": [ "\tpublic static String handleResult(int exitCode, InputStream stdout,", "\t InputStream stderr, PrintWriter printWriter)", "\t throws I...
derby-DERBY-6852-d055adb2
DERBY-6852: Allow identity columns to cycle This patch was contributed by Danoja Dias (danojadias at gmail dot com) This change introduces the new CYCLE keyword to the syntax of a generated identity column. The CYCLE keyword, if specified, causes Derby to select the CYCLE option in the sequence object that is created...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/ColumnDefinitionNode.java", "hunks": [ { "added": [ " long autoincrementCycle;" ], "header": "@@ -66,6 +66,7 @@ public class ColumnDefinitionNode extends TableEl...
derby-DERBY-6854-a9431f51
DERBY-6854: Fix the tests so that they run on the early access build 100 of Java 9; tests ran cleanly for me on derby-6854-01-aa-fixFor9-ea.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1725139 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6854-cd362863
DERBY-6854: Make it possible to run Derby tests on early access versions of JDK 9 JDK 9 will move the JDBC classes out of the boot class loader and into the platform class loader (see JDK-8154189 in the OpenJDK bug tracker). Derby has some test and debug code that assumes that the JDBC classes live in the boot class ...
[ { "file": "java/engine/org/apache/derby/impl/services/bytecode/d_BCValidate.java", "hunks": [ { "added": [ "import java.security.AccessController;", "import java.security.PrivilegedAction;", "import java.util.Objects;" ], "header": "@@ -22,11 +22,1...
derby-DERBY-6856-44694000
DERBY-6856: Eliminate build warnings related to RoundingMode and Class.newInstance() introduced by build 118 of JDK 9: commit derby-6856-05-ag-roundingMode-Class.newInstance.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1745932 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/ClientPreparedStatement.java", "hunks": [ { "added": [ "import java.math.RoundingMode;" ], "header": "@@ -25,6 +25,7 @@ import java.io.InputStream;", "removed": [] } ] }, { "file": "java/clien...
derby-DERBY-6856-4ba78a4b
DERBY-6856: Accidentally checked in the ShardingKey changes again; reverting. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1746068 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/jdbc/BasicClientXADataSource40.java", "hunks": [ { "added": [], "header": "@@ -21,9 +21,7 @@", "removed": [ "import java.sql.ShardingKeyBuilder;", "import java.sql.SQLFeatureNotSupportedException;" ] } ...
derby-DERBY-6856-80d39eee
DERBY-6856: Revert ShardingKey changes introduced by revision 1742858. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1742861 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/jdbc/BasicClientXADataSource40.java", "hunks": [ { "added": [], "header": "@@ -21,9 +21,7 @@", "removed": [ "import java.sql.ShardingKeyBuilder;", "import java.sql.SQLFeatureNotSupportedException;" ] } ...
derby-DERBY-6856-a12152ae
DERBY-6856: Remove deprecation warnings related to Observer/Observable by adding Derby implementations of the observable behavior. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1746066 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/jdbc/BasicClientXADataSource40.java", "hunks": [ { "added": [ "import java.sql.ShardingKeyBuilder;", "import java.sql.SQLFeatureNotSupportedException;" ], "header": "@@ -21,7 +21,9 @@", "removed": [] } ...
derby-DERBY-6856-ce40a31d
DERBY-6856: Fix more deprecation warnings when Derby is compiled with JDK 9 build 116; commit derby-6856-04-ab-autoboxingDeprecationWarnings-part2.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1742858 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/jdbc/BasicClientXADataSource40.java", "hunks": [ { "added": [ "import java.sql.ShardingKeyBuilder;", "import java.sql.SQLFeatureNotSupportedException;" ], "header": "@@ -21,7 +21,9 @@", "removed": [] } ...
derby-DERBY-6856-ddebc878
DERBY-6856: Disable SystemPrivilegesPermissionTest.testSerialization(), an unnecessary test case which fails on JDK 9. Tests passed cleanly on derby-6856-10-aa-disable-permissions-subverting-test.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1778945 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6857-0d57d84c
DERBY-6857: Deprecate support for building Derby under JDKs 6 and 7 Remove the JVMInfo constants for Java 6 and 7, since they are no longer supported. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1728767 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/drda/org/apache/derby/drda/NetworkServerControl.java", "hunks": [ { "added": [], "header": "@@ -31,7 +31,6 @@ import java.security.PrivilegedAction;", "removed": [ "import org.apache.derby.iapi.services.info.JVMInfo;" ] } ] }, { ...
derby-DERBY-6857-0feae43b
DERBY-6857: Deprecate support for building Derby under JDKs 6 and 7 Make ClassInvestigator understand the new byte codes added in Java 7 to support InvokeDynamic and lambda. Also transform an inner class to a lambda in the NetworkServerControl class to test that ClassInvestigator understands the new codes. git-svn-id...
[ { "file": "java/drda/org/apache/derby/drda/NetworkServerControl.java", "hunks": [ { "added": [ "import java.security.PrivilegedAction;" ], "header": "@@ -27,7 +27,7 @@ import java.net.InetAddress;", "removed": [ "import java.security.PrivilegedExcept...
derby-DERBY-6857-c491355c
DERBY-6857: Make classlister prune the constants files from the rosters of jar file contents; commit derby-6857-04-aa-pruneConstantClasses.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1727680 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/build/org/apache/derbyBuild/classlister.java", "hunks": [ { "added": [ " //", " // Exclude classes which are referenced only by the compiler", " // in order to copy constants into the target class. These were not recorded", " ...
derby-DERBY-6864-3602a8c8
DERBY-6864: RawDBReaderTest fails on Windows RawDBReaderTest.runRecoveryScript() opens a FileReader, but doesn't close it. When the test harness tries to delete the test directory upon completion of the test, it fails because one of the files in the directory is still open. This patch makes runRecoveryScript() open t...
[]
derby-DERBY-6864-5a3453db
DERBY-6864: RawDBReaderTest fails on Windows DataFileVTI.makeDecryptionEngine() opens a stream that reads from service.properties, but it never closes the stream. This prevents the file from being deleted later. This patch makes it open the stream in a try-with-resources statement so that it gets closed automatically....
[ { "file": "java/optional/org/apache/derby/optional/dump/DataFileVTI.java", "hunks": [ { "added": [], "header": "@@ -29,17 +29,11 @@ import java.io.FileInputStream;", "removed": [ "import java.io.ObjectInput;", "import java.io.ObjectInputStream;", "...
derby-DERBY-6864-5eb3cdfe
DERBY-6864: RawDBReaderTest fails on Windows Use BaseTestCase.assertDirectoryDeleted() instead of File.delete() to delete the db directory, so that we get more information if the directory cannot be deleted. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1728426 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6865-14248ac9
DERBY-6865: RestrictiveFilePermissionsTest fails on Windows Move the contents of FilePermissionServiceImpl into FileUtil. It was originally separated out of FileUtil because it used functionality only available on Java 7 and higher, so it had to be loaded via reflection. Since Java 8 is the minimum level on trunk, it ...
[ { "file": "java/engine/org/apache/derby/iapi/services/io/FileUtil.java", "hunks": [ { "added": [ "import java.nio.file.Files;", "import java.nio.file.Path;", "import java.nio.file.attribute.AclEntry;", "import java.nio.file.attribute.AclEntryPermission;"...
derby-DERBY-6865-8aa8deb9
DERBY-6865: RestrictiveFilePermissionsTest fails on Windows Remove use of reflection in the test. Reflection was used to access functionality only available on Java 7 and higher. Since Java 8 is the minimum level now, reflection is no longer needed. This doesn't fix the test failure, but it makes it easier to debug t...
[]
derby-DERBY-6868-949e80b7
DERBY-6868: Remove the dependency on Jakarta ORO Rewrite the Sed class so that it uses java.util.regex instead of Jakarta ORO for regular expression matching and substitution. Remove tools/java/jakarta-oro-2.0.8.jar and all references to it. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1729326 13...
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/harness/Sed.java", "hunks": [ { "added": [ " * written using the java.util.regex regular expression classes.", "import java.util.List;", "import java.util.regex.Pattern;", "import java.util.st...
derby-DERBY-6869-3592c633
DERBY-6869: XMLXXETest fails in non-English locales Decorate the test with a LocaleTestSetup that forces it to run in US locale, so that it always sees English error messages. Change the failing assert so that it reports the original exception in case it doesn't get the expected exception. Makes it easier to debug th...
[]
derby-DERBY-6875-9a1012a6
DERBY-6875: Mirror selection broken on Derby download pages. This change changes the tool which generates the Derby download page for a new release, to remove the comment markers from the mirror selection portion of the page. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1732683 13f79535-47bb-03...
[ { "file": "java/build/org/apache/derbyBuild/ReleaseNotesTransformer.java", "hunks": [ { "added": [ " \"[if-any http] [for http]\\n\" +", " \"[end] [end]\\n\" +", " \"[if-any ftp] [for ftp]\\n\" +", " \"[end] [end]\\n\" +", ...
derby-DERBY-6879-677a71c4
DERBY-6879: Engine deadlock between XA timeout handling and cleanupOnError This patch was contributed by Brett Bergquist (brett at thebergquistfamily dot com) The original problem to be solved is that a connection that is performing a XA transaction that discovers an error that must be cleaned up is going to have a l...
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/util/DeadlockWatchdog.java", "hunks": [ { "added": [ "/*", " * Derby - Class org.apache.derbyTesting.functionTests.util.Barrier", " *", " * Licensed to the Apache Software Foundation (ASF) und...
derby-DERBY-6879-698bfec5
DERBY-6879: Engine deadlock between XA timeout handling and cleanupOnError This patch was contributed by Brett Bergquist (brett at thebergquistfamily dot com) This change is a follow-up to revision 1751977. The problem with that revision occurs if a timeout occurs calling "cancel" and if an error occurs on the clien...
[ { "file": "java/engine/org/apache/derby/jdbc/XATransactionState.java", "hunks": [ { "added": [ " ", " /**", " * A class used to monitor if the transaction is in the middle of", " * cancelling or cleaning up on an error. ", " ...
derby-DERBY-6879-88b727b0
DERBY-6879: Engine deadlock between XA timeout handling and cleanupOnError This patch was contributed by Brett Bergquist (brett at thebergquistfamily dot com) The original problem to be solved is that a connection that is performing a XA transaction that discovers an error that must be cleaned up is going to have a l...
[ { "file": "java/engine/org/apache/derby/jdbc/XATransactionState.java", "hunks": [ { "added": [ " public synchronized boolean cancel() {", " public synchronized void run() {", " if (null != xaState) {", " xa...
derby-DERBY-688-24f43da2
DERBY-688: Enhancements to XML functionality toward XPath/XQuery support This revision contains d688_phase2_v1_code.patch and d688_phase2_v3_tests.patch This patch was contributed by Army Brown (qozinx@gmail.com). Attaching a "phase 2" patch that does the following: - Adds syntax and binding logic for XMLQUERY oper...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/BinaryOperatorNode.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.services.io.StoredFormatIds;", "" ], "header": "@@ -29,6 +29,8 @@ import org.apache.derby.iapi.error.StandardException;",...
derby-DERBY-688-3bcc92e6
DERBY-688: Enhancements to XML functionality toward XPath and XQuery support This revision contains d688_phase5_v1.patch. This patch was contributed by Army Brown (qozinx@gmail.com). The phase 5 patch, d688_phase5_v1.patch, adds code to determine whether or not the user's classpath has the required XML classes and, ...
[ { "file": "java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java", "hunks": [ { "added": [ " * deeper in the execution codepath. The initial check for the", " * required XML classes can be found in XML.checkXMLRequirements()." ], "header": "@@...
derby-DERBY-688-6e7bbc8c
DERBY-688: Enhancements to XML functionality toward XPath/XQuery support This revision contains d688_phase1_v3.patch. This patch was contributed by Army Brown (qozinx@gmail.com). Attaching a "phase 1" patch, d688_phase1_v1.patch, for this issue that does the following: 1. Reorganizes XML-specific code as follows:...
[ { "file": "java/engine/org/apache/derby/iapi/types/XML.java", "hunks": [ { "added": [], "header": "@@ -46,28 +46,6 @@ import java.io.ObjectOutput;", "removed": [ "import org.xml.sax.ErrorHandler;", "import org.xml.sax.XMLReader;", "import org.xml.s...
derby-DERBY-688-9f654e53
DERBY-688: Enhancements to XML functionality toward XPath/XQuery support This revision contains d688_phase3_v1_code.patch and d688_phase3_v1_tests.patch This patch was contributed by Army Brown (qozinx@gmail.com). Attaching a "phase 3" patch that implements the XMLQUERY operator. The patch is in two parts: - d688...
[ { "file": "java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java", "hunks": [ { "added": [ "import org.w3c.dom.Element;", "import org.w3c.dom.NodeList;" ], "header": "@@ -32,7 +32,9 @@ import java.io.StringReader;", "removed": [] }, { ...
derby-DERBY-688-e1858949
DERBY-688: Enhancements to XML functionality toward XPath/XQuery support This patch was contributed by Army Brown (qozinx@gmail.com) This change contains d688_phase6_v1.patch, which changes the SQLSTATEs for XML errors to match the SQL/XML specification where possible, and that moves the Derby-specific XML sql states...
[ { "file": "java/engine/org/apache/derby/iapi/types/XML.java", "hunks": [ { "added": [ " SQLState.LANG_NOT_AN_XML_DOCUMENT);" ], "header": "@@ -377,7 +377,7 @@ public class XML", "removed": [ " SQLState.LANG_INVALID_XML_C...
derby-DERBY-688-f67c2ee7
DERBY-688: Enhancements to XML functionality toward XPath/XQuery support This patch was submitted by Army Brown (qozinx@gmail.com) Attaching a "phase 7" patch, d688_phase7_v1.patch, that does the following: 1 - Makes changes to catch all "Throwable" errors that might be thrown by Xalan or JAXP, instead of ju...
[ { "file": "java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java", "hunks": [ { "added": [ "import org.apache.xml.utils.PrefixResolverDefault;", "" ], "header": "@@ -56,6 +56,8 @@ import org.apache.xpath.XPathContext;", "removed": [] }, ...
derby-DERBY-6880-21044de3
DERBY-6880: Update failing with java.sql.SQLDataException This change reverts part of the changes made by revision 1628596 for DERBY-6742. Specifically, the section of code added to UpdateResultSet.collectAffectedRows is removed. That code caused problems with certain SQL UPDATE statements which were compiled with St...
[]
derby-DERBY-6881-349d2a29
DERBY-6881: Test failures with JDK 9-ea b111 ClassLoaderTestSetup casts the context class loader to URLClassLoader in order to create a new URLClassLoader with the same URLs as the original class loader. In JDK 9, the context class loader is no longer a URLClassLoader after JEP 261. This code now results in a ClassCas...
[ { "file": "java/testing/org/apache/derbyTesting/junit/ClassLoaderTestSetup.java", "hunks": [ { "added": [], "header": "@@ -24,7 +24,6 @@ import java.net.URLClassLoader;", "removed": [ "import org.apache.derbyTesting.functionTests.tests.upgradeTests.UpgradeClassLoader;...
derby-DERBY-6882-5b838fd0
DERBY-6882: Add ALTER TABLE ALTER COLUMN ... SET GENERATED functionality, which switches an identity column from ALWAYS to BY DEFAULT and vice-versa. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1738368 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/ColumnDefinitionNode.java", "hunks": [ { "added": [ "\t//alter table command to change the ALWAYS vs DEFAULT nature of an autoinc column", "\tpublic static final int MODIFY_AUTOINCREMENT_ALWAYS_VS_DEFAULT = 3;" ...
derby-DERBY-6885-bb5be6f1
DERBY-6885: Remove ReuseFactory The methods getInteger(), getShort(), getByte(), getLong() and getBoolean() are now simple wrappers around Integer.valueOf(), Short.valueOf(), and so on. They no longer have any purpose, and can be removed. Callers can either call the corresponding valueOf() method directly or rely on a...
[ { "file": "java/engine/org/apache/derby/iapi/services/io/ArrayInputStream.java", "hunks": [ { "added": [], "header": "@@ -27,10 +27,6 @@ import java.io.EOFException;", "removed": [ "import org.apache.derby.iapi.services.io.LimitObjectInput;", "import org.apa...
derby-DERBY-6890-dc05c9d8
DERBY-6890: ALTER TABLE DROP COLUMN corrupts secondary index collation data. During ALTER TABLE DROP COLUMN, we rebuild all the indexes on the table. Some indexes may be entirely dropped, some indexes may be rebuilt with a subset of columns, some indexes are simply rebuild with essentially the same content. The issue...
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java", "hunks": [ { "added": [ "\t\t\tcollation = new int[numIndexes][]; ", "\t\t\t\t// Setup collation id array to be passed in on call to create index.", "\t\t\t\tcollation[i] = ",...
derby-DERBY-6891-f5bf9a9e
DERBY-6891: Improve the synchronization behavior of DerbyObservable; commit derby-6891-01-ab-synchronizeMethods.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1750214 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/monitor/DerbyObservable.java", "hunks": [ { "added": [ "import java.util.ArrayList;" ], "header": "@@ -21,7 +21,7 @@", "removed": [ "import java.util.Vector;" ] }, { "a...
derby-DERBY-6902-3ef48bb1
DERBY-6902: Value out of range error This change adds still more new test cases to ParameterMappingTest, derived from the original scenario described in the issue. The new test cases explore some datatype conversions from string-to-integer. They also look at some other variations on the original query from the issue...
[]
derby-DERBY-6902-9fbbcb81
DERBY-6902: Value out of range error This change adds several new test cases to ParameterMappingTest, derived from the original scenario described in the issue. These test cases are designed to demonstrate the particular exception discussed in the issue, as well as to demonstrate several ways to use a CAST operator s...
[]
derby-DERBY-6904-f15ef888
DERBY-6903: ALTER TABLE ALTER COLUMN resets CYCLE option DERBY-6904: Enhance ALTER TABLE to allow CYCLE option to be changed DERBY-6905: Enhance SYS.SYSCOLUMNS to report the CYCLE value DERBY-6906: Allow a GENERATED column to explicitly specify NO CYCLE This patch was contributed by Harshvardhan Gupta (harshvardhan145...
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/ColumnDescriptor.java", "hunks": [ { "added": [ "\tprivate boolean\t\t\t\tautoincCycle;" ], "header": "@@ -66,6 +66,7 @@ public final class ColumnDescriptor extends TupleDescriptor", "removed": [] ...
derby-DERBY-6918-43d83c68
DERBY-6918: Problem with schema name containing a period When processing DELETE statements in a database schema including referential integrity constraints that specify ON DELETE CASCADE, it is easiest to keep the schema name and table name separate, rather than pasting them together into a compound name joined with a...
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/DMLModStatementNode.java", "hunks": [ { "added": [ "\tprotected String[] fkSchemaNames; // referencing schema names." ], "header": "@@ -95,6 +95,7 @@ abstract class DMLModStatementNode extends DMLStatementNode",...
derby-DERBY-694-ad94e28d
DERBY-694: Commit Narayanan's DERBY-694_v6.diff patch so that statement severity errors don't close jdbc objects which they shouldn't. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@430051 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/Connection.java", "hunks": [ { "added": [ " ", " /**", " * ", " * Rollback the specific UnitOfWorkListener. ", " * @param uwl The UnitOfWorkLitener to be rolled back", ...
derby-DERBY-6956-2a5acb4b
DERBY-6956: CREATE TABLE AS SELECT cannot copy DECIMAL(31,6) This change adds several test tests to serve as regression tests. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1805356 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6959-2636edd9
DERBY-6959: Require Standard SET keyword when changing the cycling behavior of an identity column; commit derby-6959-01-ab-requireSETkeyword.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1808071 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-6961-71bdb5f4
DERBY-6961: Correctly handle ALTER TABLE...SET [NO] CYCLE on exhausted identity columns; commit derby-6961-01-aa-recyclingExhaustedIdentityColumns.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1808668 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.types.TypeId;" ], "header": "@@ -80,6 +80,7 @@ import org.apache.derby.iapi.store.access.TransactionController;", "re...
derby-DERBY-6974-e1dddd62
DERBY-6974: Convert Derby build to JDK 9 and compile at Java 9 byte code level. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1813709 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/build/org/apache/derbyBuild/javadoc/DiskLayoutTaglet.java", "hunks": [ { "added": [ "import jdk.javadoc.doclet.Taglet;", "import com.sun.source.doctree.DocTree;", "import com.sun.source.doctree.TextTree;", "import com.sun.source.doctree.U...
derby-DERBY-6977-5cc99059
DERBY-6977: Eliminate collisions on generated names for constraints; commit derby-6977-01-ad-useUUID.diff. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1815172 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java", "hunks": [ { "added": [ " // Used for generating system names which are strictly increasing", " // within a VM instance. This ordering is purely in order to preserve", " //...
derby-DERBY-7-2537b48c
DERBY-7: The NULLIF built-in function of Derby seems to accept only string types. Passing any other type argument raises error. Fix submitted by Mamta Satoor (msatoor@gmail.com) git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@227281 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/ConditionalNode.java", "hunks": [ { "added": [ "\t//true means we are here for NULLIF(V1,V2), false means we are here for following", "\t//CASE WHEN BooleanExpression THEN thenExpression ELSE elseExpression END", ...
derby-DERBY-700-48ceb6e4
DERBY-700 backout change pending discussion on StorageFile changes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@547062 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/io/DirFile.java", "hunks": [ { "added": [], "header": "@@ -196,19 +196,6 @@ class DirFile extends File implements StorageFile", "removed": [ " ", " /**", " * Return Random Acess file to the loc...
derby-DERBY-700-6e1c9cd2
DERBY-700 Derby does not prevent dual boot of database from different ClassLoaders on Linux git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@547042 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/io/DirFile.java", "hunks": [ { "added": [ " ", " /**", " * Return Random Acess file to the lock file, that is used to ", " * get the exclusing file lock. File locks are not acquired on ", ...
derby-DERBY-700-8a393cee
DERBY-700 part 2 add ClassLoaderBootTest git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@547046 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-700-992b79d1
DERBY-4588 Provide a diagnostic property that will print a stack trace on succes sful boot to help diagnose dual boot issues after the DERBY-700 fix To use, set the property derby.stream.error.logBootTrace=true A stack trace will print in the derby.log on boot and shutdown. git-svn-id: https://svn.apache.org/repos...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/BaseDataFileFactory.java", "hunks": [ { "added": [ " boolean logBootTrace = Boolean.valueOf(startParams.getProperty(Property.LOG_BOOT_TRACE,", " PropertyUtil.getSystemProperty(Property.LOG_BOOT...
derby-DERBY-700-c73be02b
DERBY-700: Some cleanup of ClassLoaderBootTest. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@805858 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-704-23c70bdc
Fix to DERBY-704, submitted by Knut Anders Hatlen From Knut: <quote> The patch modifies the search for a free slot in the page cache (org.apache.derby.impl.services.cache.Clock.findFreeItem()) in the following way: 1) find out how many invalid pages there are in the page cache 2) check whether pages that are ski...
[ { "file": "java/engine/org/apache/derby/impl/services/cache/Clock.java", "hunks": [ { "added": [ "\t\t// no need to sync on getting the sizes since if they are", "\t\t// wrong we will discover it in the loop.", "\t\t\t\tint invalidItems = holders.size() - validIte...
derby-DERBY-704-688ccfab
DERBY-704 Large page cache kills initial performance, additional comments from Knut.Hatlen@Sun.COM git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@345215 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/cache/Clock.java", "hunks": [ { "added": [ "\t\t\t\t// 1) find out how many invalid items there are in the", "\t\t\t\t// cache", "\t\t\t\t// 2) search for a free invalid item", "\t\t\t\t// 3) stop ...
derby-DERBY-706-2e4a44ee
DERBY-706 Improve testing and increase code coverage for Network Server classes have attached a second patch 'derby-706_2.diff' which adds some more tests and re-arranges/removes some internal methods. Details of patch are: * DDMWriter: Removes min method because Math.min is used. Use doesRequestContainData() method....
[ { "file": "java/drda/org/apache/derby/impl/drda/CodePointNameTable.java", "hunks": [ { "added": [ " put (new Integer (CodePoint.MONITOR), \"MONITOR\");" ], "header": "@@ -70,6 +70,7 @@ class CodePointNameTable extends java.util.Hashtable", "removed": [] ...
derby-DERBY-706-82c7dde0
DERBY-706 Improve testing and increase code coverage for Network Server classes Contributed by Deepa Remesh This patch adds some tests for network server and re-arranges/removes some internal methods which are not used. Details of patch are: * derbynet/getCurrentProperties.java - Added tests for NetworkServerControl...
[ { "file": "java/drda/org/apache/derby/impl/drda/DRDAStatement.java", "hunks": [ { "added": [], "header": "@@ -802,7 +802,6 @@ class DRDAStatement", "removed": [ "" ] }, { "added": [ "\t\tint[] rsDrdaTypes = getRsDRDATypes();" ...
derby-DERBY-707-b7cdec2d
DERBY-707 providing RowLocation for deleted+purged row to GenericConglomerateController causes nullpointerexception, submitted by andreas.korneliussen@sun.com git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@345237 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/access/conglomerate/GenericConglomerateController.java", "hunks": [ { "added": [ " if (!open_conglom.latchPage(pos)) ", " {", " return false;", " }" ], "he...
derby-DERBY-709-a4b59331
DERBY-709, committing on behalf of Suresh Thalamati -- Removed the requirement for read permission on "user.dir" for backup to run under security manager. Absolute Path were used only to log into backup history file. Changed it to log canonical paths only if it can be obtainer ,otherwise only relative paths are writte...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/RawStore.java", "hunks": [ { "added": [ " private static final int REGULAR_FILE_GET_CANONICALPATH_ACTION = 15;", " private static final int STORAGE_FILE_GET_CANONICALPATH_ACTION = 16;" ], "header":...
derby-DERBY-709-e9308b5f
DERBY-709, committing on behalf of Suresh Thalamati This patch (derby-709_latest.diff) fixes the problems appreared with earlier patch when tests are run againest JARS. --- correctly catch the Security Exception when there is no permission to get a canonical path. --- Modified the deryb_tests.plocy to allow deltes in...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/RawStore.java", "hunks": [ { "added": [ "import java.lang.SecurityException;", "" ], "header": "@@ -83,6 +83,8 @@ import java.net.MalformedURLException;", "removed": [] }, { "...
derby-DERBY-712-139ca850
DERBY-712: Wire in cacheable sequence generation, making the NEXT VALUE FOR clause behave as expected. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@907654 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/SequenceDescriptor.java", "hunks": [ { "added": [ " * See the header comment of SYSSEQUENCESRowFactory for the", " * contract of that table. In particular, if the CURRENTVALUE column", " * is null, then t...
derby-DERBY-712-1c7cfce2
DERBY-712: Support for sequences Added NextSequenceNode.java that was forgotten in the previous commit. Contributed by Suran Jayathilaka <suranjay@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@894146 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/NextSequenceNode.java", "hunks": [ { "added": [ "/*", "", " Derby - Class org.apache.derby.impl.sql.compile.NextSequenceNode", "", " Licensed to the Apache Software Foundation (ASF) u...
derby-DERBY-712-2f4a1a09
DERBY-712: Only allow RESTRICTed drops of sequences. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@910255 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBC.java", "hunks": [ { "added": [ " if ( \"TYPE\".equals( dropType ) || \"SEQUENCE\".equals( dropType ) ) { raw = raw + \" restrict \"; }" ], "header": "@@ -389,7 +389,7 @@ public class JDBC {", ...
derby-DERBY-712-4e119ab7
DERBY-712: Fix problem in 888060 having to do with placement of sanity ifdefs. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@888129 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/PrivilegeNode.java", "hunks": [ { "added": [ " }", " switch( this.objectType)", " {", " case TABLE_PRIVILEGES:", " if( SanityManager.DEBUG)", ...
derby-DERBY-712-66d9f5a2
DERBY-712: Small cleanup of PrivilegeNode before adding support for USAGE privilege. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@888060 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/PrivilegeNode.java", "hunks": [ { "added": [ " private TableName objectName;", " private TablePrivilegesNode specificPrivileges; // Null for routine and usage privs", " private RoutineDesignator rou...
derby-DERBY-712-80eb35f4
DERBY-712: Committed Suran Jayathilaka's create_drop_sequence_d.patch. This adds CREATE/DROP SEQUENCE commands. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@810151 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/depend/DependencyManager.java", "hunks": [ { "added": [ "\tdatadictionary keeping track of dependencies between objects that it handles" ], "header": "@@ -35,7 +35,7 @@ import org.apache.derby.iapi.store.access.Transact...
derby-DERBY-712-9ce74923
DERBY-712: Add dblook support for sequences. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@898123 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CreateSequenceNode.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.types.DataTypeDescriptor;", "import org.apache.derby.iapi.reference.SQLState;", "import org.apache.derby.iapi.types.TypeId;", ...
derby-DERBY-712-a4cbe6f7
DERBY-712: Wire in USAGE privilege for SEQUENCEs. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@896883 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/DDLConstantAction.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.sql.dictionary.StatementGenericPermission;" ], "header": "@@ -55,6 +55,7 @@ import org.apache.derby.iapi.sql.dictionary.RoleGrantDes...
derby-DERBY-712-bb219830
DERBY-712: Committed Suran's patch createseq_args_bind_b.diff, making it possible to create sequences with different datatypes, boundaries, steps, and cycling. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@905369 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CreateSequenceNode.java", "hunks": [ { "added": [ "", " if (dataType != null) {", " _dataType = (DataTypeDescriptor) dataType;", " } else {", " _dataTy...
derby-DERBY-712-bb40bcbe
DERBY-712: Commit Suran Jayathilaka's first increment of work for sequence generators: this patch adds two new system catalogs, SYSSEQUENCES and SYSPERMS. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@792245 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/io/StoredFormatIds.java", "hunks": [ { "added": [ "", " /**", " class org.apache.derby.impl.sql.catalog.SequenceDescriptorFinder", " */", " static public final int SEQUENCE_DESC...
derby-DERBY-716-2d3677b5
DERBY-716: Datatype tests and fix to collation of string columns returned by table functions. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@585710 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/catalog/types/TypeDescriptorImpl.java", "hunks": [ { "added": [ "import org.apache.derby.shared.common.reference.JDBC40Translation;", "" ], "header": "@@ -21,6 +21,8 @@", "removed": [] } ] }, { ...
derby-DERBY-716-3953c9e5
DERBY-716: Expose VTICosting and VTIEnvironment in Derby's public api. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@574945 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/vti/VTICosting.java", "hunks": [ { "added": [ " * <P>", " * to cost Table Functions. The methods on this interface provide the optimizer", " * </P>", " *", " * <UL> ", " * <LI> The estimat...
derby-DERBY-716-4aef9b04
DERBY-716: Commit first increment of VTI work, enabling DDL for table functions and their invocation in simple SELECTs. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@555032 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/catalog/types/BaseTypeIdImpl.java", "hunks": [ { "added": [ " \": \" + getSQLTypeName();" ], "header": "@@ -195,7 +195,7 @@ public class BaseTypeIdImpl implements Formatable", "removed": [ " ...
derby-DERBY-716-524a8b4d
DERBY-716: Add optimizer support for Derby-style Table Functions. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@574276 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/FromVTI.java", "hunks": [ { "added": [ "import java.lang.reflect.Modifier;" ], "header": "@@ -78,6 +78,7 @@ import org.apache.derby.iapi.sql.execute.ExecutionContext;", "removed": [] }, { ...
derby-DERBY-716-83ce7fb7
DERBY-716: Add test verifying correct behavior of table functions in subqueries with correlated references to outer query blocks. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@587491 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-716-c6c266ba
DERBY-716: Exclude summary row 0 from getFunctionColumns() result for Table Functions. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@564800 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/catalog/GetProcedureColumns.java", "hunks": [ { "added": [ "\t\tint functionParamCursor = -2;", "" ], "header": "@@ -133,6 +133,8 @@ public class GetProcedureColumns extends org.apache.derby.vti.VTITemplate", ...
derby-DERBY-716-e9ff7be5
DERBY-716: Prevent table function creation after soft-upgrade, verify with a regression test. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@578452 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-718-11ee500e
DERBY-718 Network client: deleteRow() makes getter methods return nulls for the following rows. Submitted by Fernanda.Pizzorno@Sun.COM git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@348798 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-721-31f29a4b
- DERBY-721_4 - State of InputStream retrieved from resultset is not clean , if there exists previous InputStream . Patch to throw exception if user get stream for a value in result set twice . by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp) git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@357435 13f7...
[ { "file": "java/client/org/apache/derby/client/am/ResultSet.java", "hunks": [ { "added": [ " ", " private boolean[] streamUsedFlags_;", " " ], "header": "@@ -188,7 +188,9 @@ public abstract class ResultSet implements java.sql.ResultSet,", ...
derby-DERBY-721-947123bc
- DERBY-721 State of InputStream retrieved from resultset is not clean , if there exists previous InputStream - Patch by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp) git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@349079 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/BinaryToRawStream.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.types.Resetable;", "import org.apache.derby.iapi.error.StandardException;" ], "header": "@@ -21,6 +21,8 @@", "removed": [...
derby-DERBY-721-ce0c6c47
- DERBY-721_2 State of Reader retrieved from resultset is not clean , if there exists previous Reader - Patch by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp) git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@349718 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/UTF8Reader.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.types.Resetable;", "import org.apache.derby.iapi.error.StandardException;", " ", " *", " * If source InputStream of thi...
derby-DERBY-721-da10c02a
- rollback DERBY-721 and DERBY-721_2 because they will implicitly restrict spec of network driver. - Patch by Tomohito Nakayama (tomonaka@basil.ocn.ne.jp) git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@355437 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/BinaryToRawStream.java", "hunks": [ { "added": [], "header": "@@ -21,8 +21,6 @@", "removed": [ "import org.apache.derby.iapi.types.Resetable;", "import org.apache.derby.iapi.error.StandardException;" ...
derby-DERBY-728-1451af79
DERBY-728 subtask DERBY-4757 (Client) Implement UTF8 support on DRDA (partial) Consolidate references to CcsidManager to facilitate switch from EBCDIC to UTF8 git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@987667 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/net/NetAgent.java", "hunks": [ { "added": [ " NetXAConnectionRequest netXAConnectionRequest_ = new NetXAConnectionRequest(this, netConnection_.commBufferSize_);" ], "header": "@@ -192,7 +192,7 @@ public class N...
derby-DERBY-728-802cd1c7
DERBY-728 Unable to create databases whose name containg Chinese characters through the client driver (partial) Fix SanityManger usage to be wrapped in if (SanityManager.DEBUG) blocks. Contrubuted by Tiago R. Espinha ( tiago dot derby at yahoo dot co dot uk ) git-svn-id: https://svn.apache.org/repos/asf/db/derby/c...
[ { "file": "java/drda/org/apache/derby/impl/drda/Utf8CcsidManager.java", "hunks": [ { "added": [ " if (SanityManager.DEBUG) {", " SanityManager.THROWASSERT(\"Could not convert Java String to byte[] in UTF-8\", e);", " }" ...
derby-DERBY-728-cdfb2d18
DERBY-728 Unable to create databases whose name containg Chinese characters through the client driver Incremental patches DERBY-728_p2.diff, DERBY-728_p2-test.diff Add server side UTf8CcsidManager and unit test. Change names of "convertXXXUCS2" methods to "convertXXXJavaString" for clarification. UNICODEMGR level ne...
[ { "file": "java/drda/org/apache/derby/impl/drda/CcsidManager.java", "hunks": [ { "added": [ " abstract byte[] convertFromJavaString (String sourceString);" ], "header": "@@ -44,7 +44,7 @@ abstract class CcsidManager", "removed": [ " abstract byte[]...
derby-DERBY-728-df2ca5a3
DERBY-728 Unable to create databases whose name containg Chinese characters through the client driver Small cleanup patch to add getters for short and regular datbase name. Contributed by Tiago Espina (tiago dot derby at yahoo dot com ) git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@953058 13f79...
[ { "file": "java/drda/org/apache/derby/impl/drda/DRDAConnThread.java", "hunks": [ { "added": [ "\t\t\treturn database.getDatabaseName();" ], "header": "@@ -421,7 +421,7 @@ class DRDAConnThread extends Thread {", "removed": [ "\t\t\treturn database.dbN...
derby-DERBY-728-ffe112b1
DERBY-4009 (partial) Accommodate length delimited DRDA strings where character length does not equal byte length Change client RDBNAM, USERID, and PASSWORD to allow for CcsidManager where the byte length might not equal the string length. Right now we just have EbcdicCcsidManager which has a maximum bytes per char as ...
[ { "file": "java/client/org/apache/derby/client/net/NetConnectionRequest.java", "hunks": [ { "added": [ " ", " writeScalarString(CodePoint.RDBNAM, rdbnam,", " NetConfiguration.PKG_IDENTIFIER_FIXED_LEN, //minimum RDBNAM length in bytes",...
derby-DERBY-729-985f758e
DERBY-729 Scalar time and date functions return 0 instead NULL when argument is NULL. Submitted by Bernt M. Johnsen git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@451147 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/types/SQLDate.java", "hunks": [ { "added": [ " NumberDataValue nullValueInt() {", " return new SQLInteger();", " }", "", " ", " throws StandardException", "...
derby-DERBY-733-9008adea
DERBY-733, committed on behalf of Knut Anders Hatlen. Attached patch (DERBY-733-more-exception-handling.diff) that addresses Mike's concerns for exception handling. If something goes wrong when locking, Derby will now fall back to the old behaviour. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@3...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/RAFContainer.java", "hunks": [ { "added": [ "\t\t\t\t// couldn't construct the lock, fall back to old behaviour", "", "\t\t\t\thasJava5FairLocks = false;" ], "header": "@@ -148,6 +148,9 @@...
derby-DERBY-733-a2f90d4f
Fix for DERBY-733. Committed on behalf of Knut Anders Hatlen. I have attached a patch which invokes ReentrantLock.lock() and unlock() when reading in a page from disk. I did not build my own ReentrantLock replacement, as I said I would. Instead, I have used reflection to enable this feature if the JVM supports it. Th...
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/RAFContainer.java", "hunks": [ { "added": [ "import java.lang.reflect.Method;", "import java.lang.reflect.Constructor;" ], "header": "@@ -54,6 +54,8 @@ import java.io.RandomAccessFile;", "re...
derby-DERBY-733-f0cd4bf3
DERBY-801 (partial) Allow parallel access to data files Backing out the patch for DERBY-733 as it is not needed anymore and the code is cleaner without it. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@447856 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/RAFContainer.java", "hunks": [ { "added": [], "header": "@@ -55,8 +55,6 @@ import java.io.RandomAccessFile;", "removed": [ "import java.lang.reflect.Method;", "import java.lang.reflect.Constructor;"...
derby-DERBY-737-da67b78a
DERBY-737: SYSCS_UTIL.SYSCS_COMPRESS_TABLE should create statistics This patch was contributed by Mamta A. Satoor (msatoor@gmail.com) The changes have been very localized in AlterTableConstantAction.java!updateIndex(). Currently, this method checks if statistics already exist for an index. If yes, then it sets a flag...
[ { "file": "java/engine/org/apache/derby/iapi/db/OnlineCompress.java", "hunks": [ { "added": [ " // key column in base row. All offsets are 0 " ], "header": "@@ -334,7 +334,7 @@ public class OnlineCompress", "removed": [ ...
derby-DERBY-750-7e95befd
DERBY-750, committing on behalf of Suresh Thalamati. By looking at the stacks, my suspicion is backup is looking at a table that is not completely created yet, container file might be there but the first page (Alloc page) might have been created. It might take some time for me to fix this one. As a temporary s...
[]