id
stringlengths
22
25
commit_message
stringlengths
137
6.96k
diffs
listlengths
0
63
derby-DERBY-481-95a483de
DERBY-481: Grammar changes for declaring generated columns. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@708169 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/compile/CompilerContext.java", "hunks": [ { "added": [ "\tpublic static final int\t\t\tNON_DETERMINISTIC_ILLEGAL\t\t=\t0x00001000;", "" ], "header": "@@ -99,6 +99,8 @@ public interface CompilerContext exte...
derby-DERBY-481-a008fbf0
DERBY-481: Add some tests for generated columns which coerce between different length character and numeric columns. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@711579 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-481-c0342dee
DERBY-481: Forbid SET NULL/DEFAULT in delete actions for foreign keys defined on generated columns. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@711135 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/AlterTableNode.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.services.io.FormatableBitSet;" ], "header": "@@ -24,6 +24,7 @@ package\torg.apache.derby.impl.sql.compile;", "removed": [] ...
derby-DERBY-481-e0bc63ca
DERBY-481: Add tests for bulk import of generated columns. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@729329 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-481-ec4aa986
DERBY-481: Add support for NOT NULL constraints on generated columns. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@711571 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/GenericColumnDescriptor.java", "hunks": [ { "added": [ " private boolean hasGenerationClause;" ], "header": "@@ -67,6 +67,7 @@ public final class GenericColumnDescriptor", "removed": [] }, ...
derby-DERBY-481-f18c7165
DERBY-481: Forbid renaming of columns referenced by generation clauses and prevent users from adding defaults to generated columns. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@712664 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-481-f4d0cf75
DERBY-481: Allow DEFAULT literal on INSERTs into generated columns which don't have explicity target lists. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@710071 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4810-28e70780
DERBY-4810: setTimestamp() methods don't agree on trailing zeros git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1000811 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4812-8e4af955
DERBY-4812 ReplicationMessageTransmit run does not unwrap PrivilegedActionException which can lead to failure of replicationTests.ReplicationRun_Local_StateTest_part1_1 git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1002291 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/replication/net/ReplicationMessageReceive.java", "hunks": [ { "added": [ " * IOException is raised with cause" ], "header": "@@ -113,7 +113,7 @@ public class ReplicationMessageReceive {", "removed": [ ...
derby-DERBY-4814-26f891cf
DERBY-4814: Minor cleanup of Derby151Test git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1000779 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4825-1ada130a
DERBY-4825: Assert failure in LargeDataLocksTest.testGetCharacterStream() because of wrong number of locks Wait for background thread to complete post-commit work before counting the locks, so that the locks it obtains don't intermittently show up in the lock table. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1006332 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4825-bf59358c
DERBY-4825: Assert failure in LargeDataLocksTest.testGetCharacterStream() because of wrong number of locks Report the contents of the lock table to help debugging. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1004609 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4828-9e89a519
DERBY-4828: Import fails if column names contain double quotes git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1004197 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4829-d1a83916
DERBY-4829: dblook fails if there is a column privilege on a table whose name contains a quote Properly quote strings and identifiers. Also add missing clause in the generated GRANT statement to prevent syntax errors when copying statements from the dblook output. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1005362 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/tools/org/apache/derby/impl/tools/dblook/DB_GrantRevoke.java", "hunks": [ { "added": [ "import java.sql.PreparedStatement;" ], "header": "@@ -22,6 +22,7 @@", "removed": [] }, { "added": [ " // Statement that...
derby-DERBY-4835-598c5959
DERBY-4835 Trigger plan does not recompile with upgrade from 10.5.3.0 to 10.6.1.0 causing java.lang.NoSuchMethodError The problem was that the clearing of stored statements during the upgrade was conditional. The clearing should happen unconditionally during upgrade. Unconditional clearing of SPSes has fixed the problem with this jira. Also, added a test in upgrade suite for triggers. The test has been added to BasicSetup.java which will ensure that this trigger test will automatically get run with even future releases. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1021426 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4835-95971f27
DERBY-5120 Row from SYSDEPENDS gets deleted when a table has update triggers defined on it and an upate is made to the table This commit moves recording to trigger action sps's dependency on trigger table from create trigger constant action and alter table constant action to SPSDescriptor. This central location in SPSDescriptor for recording the dependency will take care of create trigger, alter table and sps regeneration cases. The checkin also required fixing triggerGeneral.sql because now that we do not loose the dependency between trigger action sps and trigger table, the change in trigger table always sends an invalidation signal to it's triggers which causes those triggers to recompile when they fire next time. For triggerGeneral case, the trigger in question ends up being incorrect(because of alter table add column) and thus would cause the test to fail. I resolved it by fixing the trigger action. Additionally, I have added upgrade test case which checks how the trigger invalidation signal are missed prior to this fix thus not catching incorrect triggers. This test has been disabled for 10.5.1.1, 10.5.3.0, 10.6.1.0 and 10.6.2.1 because those 4 releases do not have DERBY-4835 fix in them. Because of that missing fix, the triggers donot get invalidated as part of upgrade for those releases and hence the test added by this jira would fail for those 4 releases. To avoid the failure, I have disabled the test for those 4 releases. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1146915 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4835-ae72a308
DERBY-6003: Create row templates outside of the generated code Upgrade test fix in preparation for the actual fix for this issue. Improve SYSCS_INVALIDATE_STORED_STATEMENTS by making it null out the plans in SYS.SYSSTATEMENTS. Previously, it only marked them as invalid. Use the improved SYSCS_INVALIDATE_STORED_STATEMENTS to work around problems in the upgrade tests when downgrading to a version that suffers from DERBY-4835 or DERBY-5289. Remove the old workarounds for DERBY-4835, DERBY-5105, DERBY-5263 and DERBY-5289, as they are now handled by the centralized workaround that uses SYSCS_INVALIDATE_STORED_STATEMENTS. This change is needed because later patches for this issue will change the format of many stored plans, so more of the test cases need to work around the downgrade bugs in some old versions. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1418296 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java", "hunks": [ { "added": [ " * @param recompile Whether to recompile or invalidate" ], "header": "@@ -4429,6 +4429,7 @@ public final class\tDataDictionaryImpl", "removed": [] ...
derby-DERBY-4835-caf6b950
DERBY-5105: NoSuchMethodError in upgrade tests (testTriggerBasic) Disable the post soft upgrade phase for the versions that suffer from DERBY-4835. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1081072 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4836-45e3ef08
DERBY-4836: many failures with IBM 1.5 and 1.6 on windows after test InternationalConnectTest Ensure that the databases are shut down before attempting to delete them. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1028035 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4836-4b013e1c
DERBY-4836; many failures with IBM 1.5 and 1.6 on windows after test InternationalConnectTest revive test for IBM 1.5 and 1.6 jvms; need IBM 1.6 SR9 and IBM 1.5 SR13. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1213473 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4836-65b2c92d
DERBY-4836; many test failures on windows with ibm 1.5 and 1.6 on windows after test InternationalConnectTest skipping over the test with ibm jvms while investigating. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1005285 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4836-e5a97fee
DERBY-4836 many failures with IBM 1.5 and 1.6 on windows after test InternationalConnectTest Stopped testBoundaries() fixture from running on IBM and Windows (Sun < 1.5) Added cleanup for the additional databases that are created by testBoundaries() git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1027261 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4843-2aa7d957
DERBY-4843: Consult isPoolable hint before caching prepared statement Added tests to verify that Derby heeds the isPoobable hint before adding a statement to the cache. The default being true, this mechanism is supposedly used primarily for avoiding that ad-hoc queries "pollute" the cache. Only the client driver has a JDBC statement object cache. Patch file: derby-4843-2a-test_isPoolable.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1129136 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4845-1ea68f8c
DERBY-4845: Improve the dependency tracking for our build targets Don't access the readOnlyUpgrade field in DataDictionaryImpl directly from iapi code. Added a method to the DataDictionary interface instead. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1200232 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/SPSDescriptor.java", "hunks": [ { "added": [ "\t\tif (!dd.isReadOnlyUpgrade()) {" ], "header": "@@ -393,7 +393,7 @@ public class SPSDescriptor extends TupleDescriptor", "removed": [ "\t\tif ...
derby-DERBY-4845-4e29c88d
DERBY-4845: Improve the dependency tracking for our build targets Remove dependency on EmbedConnection40 from BrokeredConnection40. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1205195 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection40.java", "hunks": [ { "added": [], "header": "@@ -24,7 +24,6 @@ package org.apache.derby.iapi.jdbc;", "removed": [ "import java.sql.Connection;" ] }, { "added": [ ...
derby-DERBY-4845-70a4f2da
DERBY-4845: Improve the dependency tracking for our build targets Don't use impl class StatementNode in iapi classes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1196560 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/compile/Parser.java", "hunks": [ { "added": [], "header": "@@ -23,12 +23,6 @@ package org.apache.derby.iapi.sql.compile;", "removed": [ "/* Strictly speaking we shouldn't import classes under the impl hierarchy here", ...
derby-DERBY-4845-999e32af
DERBY-4845: Improve the dependency tracking for our build targets Use DependableFinder interface instead of impl classes in iapi code. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1196562 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/ColPermsDescriptor.java", "hunks": [ { "added": [], "header": "@@ -26,10 +26,8 @@ import org.apache.derby.catalog.DependableFinder;", "removed": [ "import org.apache.derby.iapi.sql.dictionary.DataDictionary;"...
derby-DERBY-4845-9eb1bd12
DERBY-4845: Improve the dependency tracking for our build targets Move getCreateAliasNode() and mapTableAsVTI() out of NodeFactory to prevent that they expose impl classes to iapi code. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1198695 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/compile/NodeFactory.java", "hunks": [ { "added": [], "header": "@@ -21,13 +21,8 @@", "removed": [ "import java.util.Properties;", "", "import org.apache.derby.iapi.sql.dictionary.DataDictionary;", ...
derby-DERBY-4845-a6532d02
DERBY-4845: Improve the dependency tracking for our build targets Don't call code that only works on Java SE platforms from code that's supposed to work on CDC/Foundation Profile platforms. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1200293 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/db/SlaveDatabase.java", "hunks": [ { "added": [], "header": "@@ -25,7 +25,6 @@ import org.apache.derby.iapi.error.PublicAPI;", "removed": [ "import org.apache.derby.iapi.error.ExceptionSeverity;" ] }, { ...
derby-DERBY-4845-ba954df7
DERBY-4845: Improve the dependency tracking for our build targets Remove dependency on EmbedCallableStatement40 from BrokeredCallableStatement40. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1205378 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/jdbc/BrokeredCallableStatement40.java", "hunks": [ { "added": [ "public class BrokeredCallableStatement40 extends BrokeredCallableStatement30", " implements EngineCallableStatement40 {" ], "header": "@@ -31...
derby-DERBY-4845-c9ec6b98
DERBY-4845: Improve the dependency tracking for our build targets Get rid of a call to Util.notImplemented() from BrokeredStatement by pulling the isClosed() method up from BrokeredStatement40, BrokeredPreparedStatement40 and BrokeredCallableStatement40 to their common super-class. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1204934 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/jdbc/BrokeredStatement.java", "hunks": [ { "added": [], "header": "@@ -21,12 +21,8 @@", "removed": [ "import org.apache.derby.iapi.reference.JDBC30Translation;", "import org.apache.derby.iapi.error.StandardExcepti...
derby-DERBY-4845-e6a99982
DERBY-4845: Improve the dependency tracking for our build targets Make NodeFactory return nodes of type Node (in an iapi package) instead of QueryTreeNode (which lives in an impl packages) to remove dependencies on implementation code in iapi code. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1199160 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/compile/NodeFactory.java", "hunks": [ { "added": [], "header": "@@ -25,12 +25,6 @@ import org.apache.derby.iapi.services.context.ContextManager;", "removed": [ "/* Strictly speaking we shouldn't import classes under the...
derby-DERBY-4845-ec600145
DERBY-4845: Improve the dependency tracking for our build targets Don't use impl.jdbc.Util from the iapi.jdbc package. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1205753 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/jdbc/BrokeredCallableStatement40.java", "hunks": [ { "added": [], "header": "@@ -29,8 +29,6 @@ import java.sql.NClob;", "removed": [ "import org.apache.derby.iapi.reference.SQLState;", "import org.apache.derby.imp...
derby-DERBY-4849-b4885a64
DERBY-4849: Re-compilation may cause duplicate entries in the XPLAIN table Avoid writing XPLAIN data if result set is being closed due to invalidation. Patch file: derby-4849-2c-broad_fix_with_test.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1028716 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/conn/StatementContext.java", "hunks": [ { "added": [], "header": "@@ -28,16 +28,11 @@ import org.apache.derby.iapi.error.StandardException;", "removed": [ "import org.apache.derby.iapi.sql.PreparedStatement;", ...
derby-DERBY-485-2542f1dd
DERBY-485 Catch SecurityExceptions and LinkageExceptions consistently when loading application classes (e.g. procedures, functions) and report as a ClassNotFoundException with the text of the underlying exception. Enhance the test lang/dcl.jar to have a signed jar file as a database jar, a hacked version of the jar file and a jar file with an invalid class (for a LinkageError). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@230183 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/loader/ClassFactory.java", "hunks": [ { "added": [ "\t\t@exception ClassNotFoundException Class cannot be found, or", "\t\ta SecurityException or LinkageException was thrown loading the class." ], "header...
derby-DERBY-4853-2e1d391a
Derby DERBY-4853 log derby.properties location and derby.log location to derby.log With this change,we will log additional information in derby.log to make it easier for the support group to work with customer problems. Following 2 additional properties will now always be put in derby.log (every time a database is booted) user.dir derby.system.home user.dir is the system property which gives the user working directory. If the user has not specified derby,system.home, then Derby will look for optional derby.properties file in user.dir . If user has provided derby.system.home, then the optional derby.properties will be looked in derby.system.home rather than user.dir If user has not provided derby.system.home, then a sample of the 2 properties on derby.log looks as follows on my machine user.dir=C:\p4clients\svnmain\client2\trunk\systest\out142 derby.system.home=null If user has set derby.system.home to c:./temp, then a sample of the 2 properties on derby.log looks as follows on my machine user.dir=C:\p4clients\svnmain\client2\trunk\systest\out142 derby.system.home=c:/temp In addition to the above 2 properties, there can be following 3 optional properties in the log (following the 2 properties mentioned above) derby.stream.error.file derby.stream.error.method derby.stream.error.field The above 3 properties provide a way to alter where error messages get logged rather than tranditional derby.log file. In the absence of the above 3 optional properties, the location of derby.log follows the same logic as derby.properties. But if the user has set any or all of the 3 optional properties, then derby.log will not be in same location as derby.properties. In the Derby code, derby.stream.error.file takes precedence over the other 2 properties and derby.stream.error.method take precedence over the last property. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1071886 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/raw/data/BaseDataFileFactory.java", "hunks": [ { "added": [ "\t\t//Log derby.system.home It will have null value if user didn't set it", "\t\tlogMsg(Property.SYSTEM_HOME_PROPERTY+\"=\" + ", "\t\t\t\tPropertyUtil.g...
derby-DERBY-4855-f22d75de
DERBY-4855: Add pointer to download page to cli.xconf as part of creating the download page from the release notes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1035700 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/build/org/apache/derbyBuild/ReleaseNotesTransformer.java", "hunks": [ { "added": [ " *", " * <p>", " * In addition, this task adds a pointer to the download page to src/documentation/conf/cli.xconf. This causes", " * the site-building scr...
derby-DERBY-4856-022cb5be
DERBY-4856: Set svn:eol-style on new files git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1043334 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/error/ThreadDump.java", "hunks": [ { "added": [ "/*", "", " Derby - Class org.apache.derby.iapi.error.ThreadDump", "", " Licensed to the Apache Software Foundation (ASF) under one or more", ...
derby-DERBY-4856-4c5c16b6
DERBY-4856 this is part three of thread dump and diagnostic information check in. With this check in, user can use derby.stream.error.extendedDiagSeverityLevel to turn on more tracing or turn it off. I am assuming in the code whether database is up or not based on the information. Also modify tests that affected by this fix. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1058404 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/context/ContextManager.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.services.info.JVMInfo;" ], "header": "@@ -37,6 +37,7 @@ import org.apache.derby.iapi.services.property.PropertyUtil;", "re...
derby-DERBY-4856-b175fd27
DERBY-4856 DERBY-4929 Add thread dump information for error StandardException and SQLException. Due to DERBY-289, ThreadDump.java and ExceptionUtil.java should go to iapi/error for engine. Currently, all thread dump information goes to derby.log git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1043290 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/services/context/ContextManager.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.error.ExceptionUtil;" ], "header": "@@ -29,6 +29,7 @@ import org.apache.derby.iapi.error.PassThroughException;", "removed"...
derby-DERBY-4857-0a218e3a
DERBY-4857: Utilize the SOAP API to fetch JIRA issue list for release notes generation Fixed bug in the ancestry chain computation logic. Moved date formatting code into DerbyVersion, added getFormattedReleaseDate() and modified toString(). Fixed typo(s). Renamed variable. Patch file: derby-4857-6a-client_tweaks.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1030471 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "tools/release/jirasoap/src/main/java/org/apache/derbyBuild/jirasoap/DerbyVersion.java", "hunks": [ { "added": [ "import java.util.Calendar;", "import java.util.GregorianCalendar;", "", "//@Immutable", " /**", " * Sha...
derby-DERBY-4857-1d8d2017
DERBY-4857: Utilize the SOAP API to fetch JIRA issue list for release notes generation Integrated the JIRA SOAP tool with the ant genrelnotes target, which now: o checks if the required properties have been set o builds the JIRA SOAP tool using Maven 2 o executes the JIRA SOAP tool to generate the issue list o executes the ReleaseNotesGenerator The target is started from the directory tools/release. Try 'ant -p' or see JavaDoc for ReleaseNotesGenerator for help on usage. Patch file: derby-4857-4b-jirasoap_ant_integration.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1027882 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "tools/release/jirasoap/src/main/java/org/apache/derbyBuild/jirasoap/FilteredIssueListerAntWrapper.java", "hunks": [ { "added": [ "/*", "", " Derby - Class org.apache.derbyBuild.jirasoap.FilteredIssueListerAntWrapper", "", " Licen...
derby-DERBY-4859-44454b6d
DERBY-4859: Missing doPrivileged in DatabaseClasses.WriteClassFile() git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1025888 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/services/reflect/DatabaseClasses.java", "hunks": [ { "added": [ "import java.security.AccessController;", "import java.security.PrivilegedActionException;", "import java.security.PrivilegedExceptionAction;" ], ...
derby-DERBY-4860-adc593f7
DERBY-4860 RunSuite on derbylang and other subsuites fails with java.lang.NoClassDefFoundError because of prepended ^ git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1025795 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/functionTests/harness/RunSuite.java", "hunks": [ { "added": [ "\t\tif (jvmflags != null && jvmflags.length() > 0)", "\t\t //DERBY-4680 Make sure ^ does not get appended to jvmflags", "\t\t if (jflags != null && j...
derby-DERBY-4868-c769b622
DERBY-4868: Remove Types.BIT/Types.BOOLEAN switch in JVMInfo Only needed for Java versions 1.3 and earlier, which are no longer supported. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1028645 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/catalog/types/BaseTypeIdImpl.java", "hunks": [ { "added": [], "header": "@@ -27,28 +27,19 @@ import org.apache.derby.iapi.services.sanity.SanityManager;", "removed": [ "import org.apache.derby.iapi.types.DataValueDescriptor;", ...
derby-DERBY-4869-08904579
DERBY-4869: Correct error messages returned by ResultSet.getObject(int,Class). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1052044 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/net/NetResultSet40.java", "hunks": [ { "added": [ " throw mismatchException( \"NULL\", columnIndex, null );", " " ], "header": "@@ -275,11 +275,11 @@ public class NetResultSet40 extends NetResu...
derby-DERBY-4869-09869c6d
DERBY-4869: Add JDBC 4.1 getParentLogger() method to Derby's implementations of Driver and CommonDataSource. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1067954 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/jdbc/ClientConnectionPoolDataSource40.java", "hunks": [ { "added": [ "import java.sql.SQLFeatureNotSupportedException;", "import java.util.logging.Logger;" ], "header": "@@ -22,6 +22,8 @@", "removed": [] ...
derby-DERBY-4869-16bb01f1
DERBY-4869: Make new getObject() overloads return null for null values; also, rework the getObject() methods to remove the SuppressWarnings annotation. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1055872 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/CallableStatement40.java", "hunks": [ { "added": [], "header": "@@ -331,7 +331,6 @@ public class CallableStatement40 extends org.apache.derby.client.am.CallableStat", "removed": [ " @SuppressWarnings(\"unchecked\")"...
derby-DERBY-4869-18378229
DERBY-4869: Add Connection.getSchema() and setSchema() per JDBC 4.1. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1063723 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-20bc4615
DERBY-4869: Attempt to fix problem in tinderbox tests introduced by a previous commit today. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1068073 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/jdbc/Driver40.java", "hunks": [ { "added": [ "import java.sql.SQLFeatureNotSupportedException;", "import java.util.logging.Logger;" ], "header": "@@ -45,7 +45,9 @@ import java.sql.Connection;", "removed": [] ...
derby-DERBY-4869-226afe36
DERBY-4869: Attempt to reduce instability in StatementTest.test_jdbc4_1_queryTimeoutException(). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1064281 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-2add32c4
DERBY-4869 Implement JDBC 4.1, th api increment introduced by Java 7. Add tests for Connection.setTypeMap(Map) when Map is not null. Add extra tests for case in Connection.abort(executor) when executor is null git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1083094 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-48aecee6
DERBY-4869: Another attempt to reduce the timeout-related instability in StatementTest. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1070504 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-4eb3fedd
DERBY-4869: Wrap query timeout SQLState in a SQLTimeoutException per the JDBC 4.1 spec clarification. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1063295 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/SQLExceptionFactory40.java", "hunks": [ { "added": [ "import java.sql.SQLTimeoutException;" ], "header": "@@ -30,6 +30,7 @@ import java.sql.SQLIntegrityConstraintViolationException;", "removed": [] } ...
derby-DERBY-4869-4f2e50da
DERBY-4869: Implement JDBC 4.1, the api increment introduced by Java 7 Calculate expected time and timestamp strings in a way that takes the time zone into consideration. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1054933 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-53389ca5
DERBY-4869: Eliminate a try-catch block in the getObject(Class) overloads. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1058554 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/jdbc/EmbedResultSet40.java", "hunks": [ { "added": [ " Object retval;", " if ( String.class.equals( type ) ) { retval = getString( columnIndex ); }", " else if ( BigDecimal.class.equals( type ) ) ...
derby-DERBY-4869-5cb4c04d
DERBY-4869: Hook up implicitly closed ResultSets to the Statement.closeOnCompletion() logic. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1066127 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/ResultSet.java", "hunks": [ { "added": [ " ", " nullDataForGC();", " }", " /** Close Statement if it is set to closeOnCompletion */", " private void closeStatementOnCom...
derby-DERBY-4869-62a70825
DERBY-4869: Make AutoloadTest aware of the new driver classes introduced by the getParentLogger() work. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1068524 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-6e97c842
DERBY-4869: JDBC 4.1 spec clarification that addBatch(String) should fail on prepared and callable statements. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1051890 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-71e32dc4
DERBY-4869: Hide some behavior in the physical connections which we don't want to be visible to applications. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1060535 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/Connection.java", "hunks": [ { "added": [ " implements java.sql.Connection, ConnectionCallbackInterface" ], "header": "@@ -30,7 +30,7 @@ import org.apache.derby.client.net.NetXAResource;", "removed": [ ...
derby-DERBY-4869-795f705e
DERBY-4869: Implementation of Connection.abort(Executor) for JDBC 4.1. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1060422 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/Connection.java", "hunks": [ { "added": [ "public abstract class Connection", " implements java.sql.Connection, ConnectionCallbackInterface, Runnable", "{" ], "header": "@@ -29,8 +29,9 @@ import ...
derby-DERBY-4869-7f1559df
DERBY-4869: Check in a test case verifying a JDBC 4.1 spec clarification: an exception should be raised if a PreparedStatement or CallableStatement is used to compile SQL text. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1062822 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-81ee7008
DERBY-4869: Add JDBC 4.1 changes to DatabaseMetaData. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1064868 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-821bc130
DERBY-4869: Wire network ResultSet for generated keys into the machinery for Statement.closeOnCompletion(). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1061977 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/ResultSet.java", "hunks": [ { "added": [ " Statement outerStatement_; // for auto-generated keys" ], "header": "@@ -39,6 +39,7 @@ public abstract class ResultSet implements java.sql.ResultSet,", "removed": [...
derby-DERBY-4869-91a8a211
DERBY-4869: Fixed compiler warnings and removed unnecessary try/catch in test case for getTypeMap() git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1083628 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-9c8b7175
DERBY-4869: Uncomment the signature-matching tests on Java 7 now that all of the JDBC 4.1 methods have been added. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1068489 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-b451cabe
DERBY-4869: Second attempt to remove the instability in StatementTest. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1069070 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-d79f538e
DERBY-4869: Add xa and pooled connections to the tests of Connection.abort() with and without a SecurityManager. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1060570 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-dd7903b0
DERBY-4869: Disable signature checking tests on platforms that support JDBC 4.1 These tests will fail until the new JDBC 4.1 methods have been implemented, so silence them for now. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1035164 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/JDBC.java", "hunks": [ { "added": [ " /**", " * Does java.sql.ResultSet implement java.lang.AutoCloseable?", " * Indicates JDBC 4.1.", " */", " private static final boolean...
derby-DERBY-4869-de8ba180
DERBY-4869: Implement Statement.closeOnCompletion(), new in JDBC 4.1. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1061824 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/am/LogicalStatementEntity.java", "hunks": [ { "added": [ " /**", " * Returns the associated physical statement.", " *", " * @return A statement.", " * @throws SQLException if the...
derby-DERBY-4869-e3fb83e8
DERBY-4869: Don't intercept all SQLExceptions in NetResultSet40.getObject(int,Class). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1052271 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/client/org/apache/derby/client/net/NetResultSet40.java", "hunks": [ { "added": [ " throw mismatchException( \"NULL\", columnIndex );" ], "header": "@@ -275,11 +275,9 @@ public class NetResultSet40 extends NetResultSet{", "removed": [...
derby-DERBY-4869-e749e124
DERBY-4869: Add exception-raising stubs for Connection.get/setNetworkTimeout(), new methods introduced by JDBC 4.1. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1063822 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4869-f8cb3d70
DERBY-4869: Add tests for abort() on pooled and xa connections, and fix some bugs in the forwarding of the abort() call. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1060557 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java", "hunks": [ { "added": [ " public final String getPassword(String user)" ], "header": "@@ -1888,7 +1888,7 @@ public final class TestConfiguration {", "removed": [ " f...
derby-DERBY-4874-374d58fe
DERBY-6383(Update trigger defined on one column fires on update of other columns). This regression is caused by DERBY-4874(Trigger does not recognize new size of VARCHAR column expanded with ALTER TABLE. It fails with ERROR 22001: A truncation error was encountered trying to shrink VARCHAR) The regression is for Statement level triggers. The statement trigger gets fired incorrectly for any column update rather than just the column specified in the UPDATE of column clause. The fix is going to ensure that SYSTRIGGERS has the correct list of columns on which trigger should be fired. Row level triggers work fine. The only workaround at this point is to drop and recreate the statement triggers. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1537593 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/compile/CreateTriggerNode.java", "hunks": [ { "added": [ "\t\t\t//then it means that a set of trigger columns are specified", "\t\t\t//in the CREATE TRIGGER statement. This can only happen for", "\t\t\t//an UPDATE t...
derby-DERBY-4874-50734d82
DERBY-534: Support use of the WHEN clause in CREATE TRIGGER statements Make the code in TriggerDescriptor.getActionSPS() reusable for TriggerDescriptor.getWhenClauseSPS() so that the fixes for DERBY-4874 and Cloudscape bug 4821 also get applied to the WHEN clause. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1531226 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/TriggerDescriptor.java", "hunks": [ { "added": [ " return getSPS(lcc, false /* isWhenClause */);", " }", "", " /**", " * Get the SPS for the triggered SQL statement or...
derby-DERBY-4874-995d3ac9
DERBY-4874: TriggerTests should report why it cannot drop table git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1057542 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4877-0f26c836
DERBY-4877: Unchecked warnings in jdbc4 test suite git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1029453 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4881-a6695094
DERBY-4881: Deadlock accessing SYS.SYSSTATISTICS Read table statistics from the system table using READ_UNCOMMITTED to avoid deadlocks with transactions inserting new statistics entries. Modified getDescriptorViaIndexMinon to allow returning multiple tuple descriptors also when isolation level is READ_UNCOMMITTED. Removed one overload of getDescriptorViaIndex (cleanup). Patch file: derby-4881-1b-deadlock_fix.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1030043 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java", "hunks": [ { "added": [ " TransactionController.ISOLATION_REPEATABLE_READ," ], "header": "@@ -1655,6 +1655,7 @@ public final class\tDataDictionaryImpl", "...
derby-DERBY-4884-5c61b1d4
DERBY-4884 (partial) DatabasePropertyTestSetup cannot change static properties in encrypted databases Changed the decorator for encrypted databases to make the connection attributes available in the code that opens a default connection. This makes it possible to reboot an encrypted database with the helper methods in the framework, which is what DatabasePropertyTestSetup needs in order to change static properties. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1032485 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/Decorator.java", "hunks": [ { "added": [ "import java.util.Properties;" ], "header": "@@ -20,11 +20,9 @@", "removed": [ "import java.sql.SQLException;", "import javax.sql.DataSource;", ...
derby-DERBY-4884-b5d1d676
DERBY-4884 (partial) DatabasePropertyTestSetup cannot change static properties in encrypted databases Make DeadlockModeTest and BlobClob4BlobTest propagate timeout settings to the encrypted database. Also make DeadlockModeTest actually use the encrypted database when running within the encryption decorator. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1032907 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4888-d4ebb499
DERBY-4888: ClassCastException when calling boolean meta-data functions with 10.7 client against 10.6 server git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1031973 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4890-e39aac27
DERBY-4890: Add BOOLEAN to the list of types supported by the setString() methods. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1032780 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4891-e19280a9
DERBY-4891: Enable testing of boolean type in ParameterMappingTest git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1032482 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4893-38b9499e
DERBY-4893: Allow Java 5 language constructs in build code - Changed source and target level for the build code to 1.5 - Changed some variable declarations to silence "unchecked" warnings emitted by the compiler after the change git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1032479 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/build/org/apache/derbyBuild/ClassSizeCrawler.java", "hunks": [ { "added": [ " Hashtable<String, int[]> classSizes = new Hashtable<String, int[]>();" ], "header": "@@ -133,7 +133,7 @@ public class ClassSizeCrawler", "removed": [ ...
derby-DERBY-4895-f29303bb
DERBY-4895 Thread local TableDescriptor#referencedColumnMap is not removed from app threads when Derby is shut down Patch derby-4895-a plus a comment as Knut suggested. The patch moves the storage of a table's referencedColumnMap to the lcc to avoid a lingering thread local in application threads after Derby has shut down (seen as potential memory leak error in TomCat deployments). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1033485 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.services.io.FormatableBitSet;" ], "header": "@@ -22,6 +22,7 @@", "removed": [] } ] }, { "file": "java...
derby-DERBY-4897-787ceb47
DERBY-4897 Get rid of warning for customized tags in javadoc build Changed all Derby custom javadoc tags to this syntax, which contains a period (".") and thus silences the warnings: <derby_custom_tag> ::= derby "." <camelCasedVersionOfOldTag> e.g. DiskLayoutTaglet.java:29: private String NAME = "derby.diskLayout"; EndFormatTaglet.java:28: private String NAME = "derby.endFormat"; FormatIdTaglet.java:29: private String NAME = "derby.formatId"; PurposeTaglet.java:29: private String NAME = "derby.purpose"; UpgradeTaglet.java:29: private String NAME = "derby.upgrade"; git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1037009 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/store/access/btree/index/B2I.java", "hunks": [ { "added": [ " * @derby.formatId ACCESS_B2I_V3_ID", " * @derby.purpose The tag that describes the on disk representation of the B2I" ], "header": "@@ -76,9 +76,9 @@...
derby-DERBY-4898-0f8de6c8
DERBY-4898: testGetURL test fails in nightly runs Disregard differences in ordering when comparing connection attributes. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1033851 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java", "hunks": [ { "added": [ " this.connectionAttributes = new Properties();" ], "header": "@@ -1009,6 +1009,7 @@ public final class TestConfiguration {", "removed": [] }, ...
derby-DERBY-4899-b1977cf5
DERBY-4899: Refactor access to primary structures in AlterTableConstantAction Use instance variables instead of passing arguments unnecessarily to a bunch of private methods. Removed unused variables and one unused method. This is a cleanup patch. Patch file: derby-4899-1b-cleanup.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1034347 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java", "hunks": [ { "added": [ " public void executeConstantAction(Activation activation)", " throws StandardException {", " // Save references to the main struc...
derby-DERBY-4902-0c4389d8
DERBY-4902: Encoding problem in output from plan exporter Make sure the encoding in the header of the generated XML file matches the actual encoding used in the file. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1035238 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/tools/org/apache/derby/impl/tools/planexporter/CreateXMLFile.java", "hunks": [ { "added": [ "import java.io.BufferedWriter;", "import java.io.OutputStreamWriter;", "import java.io.Writer;", "import java.security.PrivilegedExceptionAction;...
derby-DERBY-4903-c85d5e14
DERBY-4903: Plan exporter tool produces broken output if query contains less-than operator Patch contributed by C.S. Nirmal J. Fernando <nirmal070125@gmail.com>. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1039084 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/tools/org/apache/derby/impl/tools/planexporter/AccessDatabase.java", "hunks": [ { "added": [ "" ], "header": "@@ -260,6 +260,7 @@ public class AccessDatabase {", "removed": [] }, { "added": [ "", "", ...
derby-DERBY-4903-f67a9ca4
DERBY-4903: Plan exporter tool produces broken output if query contains less-than operator Added handling of '&' and expanded test case to test more special characters. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1039268 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/tools/org/apache/derby/impl/tools/planexporter/AccessDatabase.java", "hunks": [ { "added": [ " text = escapeInAttribute(text);" ], "header": "@@ -380,10 +380,7 @@ public class AccessDatabase {", "removed": [ " ...
derby-DERBY-4904-65ee2532
DERBY-4904: Plan exporter doesn't work if XPLAIN schema has special characters Use prepared statements to prevent the need for quoting. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1035603 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/tools/org/apache/derby/impl/tools/planexporter/AccessDatabase.java", "hunks": [ { "added": [ "import java.sql.PreparedStatement;" ], "header": "@@ -23,9 +23,9 @@ package org.apache.derby.impl.tools.planexporter;", "removed": [ "import...
derby-DERBY-4910-afa3a69d
DERBY-4910: Report underlying exception when replication tests fail git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1043748 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4911-84814bc1
DERBY-4911 restoreIntrFlagIfSeen may throw ShutdownException causing confusing console stack trace at server shutdown Patch derby-4911, which makes restoreIntrFlagIfSeen ignore ShutdownException when trying to find lcc. We sometimes saw a ShutdownException stack dump on the console when stopping the network server. restoreIntrFlagIfSeen does nothing useful when we are closing down anyway, so we can safely ignore the exception. git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1038813 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/util/InterruptStatus.java", "hunks": [ { "added": [ "import org.apache.derby.iapi.error.ShutdownException;" ], "header": "@@ -22,6 +22,7 @@", "removed": [] }, { "added": [ " Lang...
derby-DERBY-4913-000d4bcd
DERBY-4913 10.3 to 10.5 upgrade fails with ava.io.StreamCorruptedException: java.lang.ClassCastException: org.apache.derby.catalog.types.OldRoutineType incompatible with org.apache.derby.iapi.types.DataTypeDescriptor git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1053724 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/impl/sql/GenericColumnDescriptor.java", "hunks": [ { "added": [ "import org.apache.derby.catalog.types.RoutineAliasInfo;" ], "header": "@@ -21,6 +21,7 @@", "removed": [] }, { "added": [ "\t\...
derby-DERBY-4915-ba553fa0
DERBY-4915: test failure in OSReadOnlyTest in assertDirectoryDeleted Make BaseJDBCTestCase.assertDirectoryDeleted retry up to three times before giving up and raising an assert failure. Make DropDatabaseSetup.removeDir use the above mentioned method, since it is also failing to delete files on Windows. Patch file: derby-4915-1b-more_persistent_delete.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1076335 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/testing/org/apache/derbyTesting/junit/DropDatabaseSetup.java", "hunks": [ { "added": [ " BaseJDBCTestCase.assertDirectoryDeleted(dir);", "" ], "header": "@@ -116,25 +116,9 @@ class DropDatabaseSetup extends BaseTestSetup {", "r...
derby-DERBY-4915-f0f442fb
DERBY-4915: test failure in OSReadOnlyTest in assertDirectoryDeleted Increase sleep time and number of deletion attempts. Patch file: derby-4915-2a-increased_sleep.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1078608 13f79535-47bb-0310-9956-ffa450edef68
[]
derby-DERBY-4918-1620a2b9
DERBY-4918: Minor refactoring of SPSDescriptor Minor cleanup, including: o declare variables final where appropriate o replace Vector with List (local use, synchronization not needed) o added/removed synchronize keyword where appropriate o added/corrected some comments/documentation Patch file: derby-4918-1a-misc.diff (moved import line in DataDictImpl) git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1041192 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/DataDictionary.java", "hunks": [ { "added": [], "header": "@@ -21,19 +21,10 @@", "removed": [ "import org.apache.derby.iapi.services.context.ContextManager;", "", "import org.apache.derby....
derby-DERBY-4918-6efed4e8
DERBY-4918: Minor refactoring of SPSDescriptor Removed method setUUID, made uuid final. Patch file: derby-4918-2b-remove-setUUID.diff git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1042048 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/sql/dictionary/SPSDescriptor.java", "hunks": [ { "added": [ " private final UUID uuid;" ], "header": "@@ -124,8 +124,8 @@ public class SPSDescriptor extends TupleDescriptor", "removed": [ "\tprivate UUI...
derby-DERBY-4920-16a0f6c6
DERBY-4920 suites.All stuck in RAFContainer4.awaitRestoreChannel() Patch derby-4920-a. Patch details: * InterruptStatus.java Make sure we always catch ShutdownException when we access the context looking for lcc. * RAFContainer4.java Improved some comments, added a final, added a max count for a retry loop that missed it: will throw FILE_IO_INTERRUPTED if it exceeds MAX_INTERRUPT_RETRIES (as elsewhere when we give up). git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1049150 13f79535-47bb-0310-9956-ffa450edef68
[ { "file": "java/engine/org/apache/derby/iapi/util/InterruptStatus.java", "hunks": [ { "added": [ " LanguageConnectionContext lcc = null;", " try {", " lcc = (LanguageConnectionContext)ContextService.getContextOrNull(", " }...