id stringlengths 22 25 | commit_message stringlengths 137 6.96k | diffs listlengths 0 63 |
|---|---|---|
derby-DERBY-2107-b91cfb22 | DERBY-2107: Move page latching out of the lock manager
Added test case.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@506899 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/unitTests/store/T_RawStoreFactory.java",
"hunks": [
{
"added": [
"\t\tP024(0);\t// test page latching"
],
"header": "@@ -315,6 +315,7 @@ public class T_RawStoreFactory extends T_MultiThreadedIterations {",
"remov... |
derby-DERBY-2109-04243ad4 | DERBY-4786 (Shutdown command without username and password should work with mixed client and network server releases.)
This change will send shutdown command with protocol level 2 whether there is username or password provided or not. If this command fails because of DRDA_InvalidReplyHead from server, then it will resend the shutdown command but this time with protocol level 1. The attempt with protocol level 1 will be made only if there was no username and password supplied with the shutdown command because shutdown command at protocol level 1 does not support username/password.
If a client with these changes sends a shutdown command to a 10.3 server(which does not have DERBY-2109 changes) without the username and password, it will get 2 exceptions back from the server. 1st exception will be for sending the shutdown command at protocol level 2 and the 2nd will be for shutting down the server succesfully. Server will also have 2 messages, first indicating that an invalid protocol level command was received and 2nd message saying that the server is shutdown. I will create a release note for this behavior.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@999119 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/NetworkServerControlImpl.java",
"hunks": [
{
"added": [
"\t//All the commands except shutdown with username and password are at ",
"\t//protocol level 1. ",
"\tprivate final static int DEFAULT_PROTOCOL_VERSION = 1;",... |
derby-DERBY-2109-127ff35c | DERBY-2109: Commit Martin's refinement of DatabasePrincipal wildcarding.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@546683 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2109-204c0402 | DERBY-2109 Major sub-set of patch 12 that requires a user name and password for network server shutdown.
Also includes the code to check a permission when shutting down the network server but
the actual call to check the permission is commented out.
Contributed by: Martin Zaun Email: martin dot zaun at sun dot com
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@632502 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/drda/NetworkServerControl.java",
"hunks": [
{
"added": [
"\t<LI>shutdown [-h <host>][-p <portnumber>] [-ssl <sslmode>] [-user <username>] [-password <password>]: This shutdowns the network server with given user cred... |
derby-DERBY-2109-5a9d458a | DERBY-2109 Another sub-set of code from the 12 patch in the issue.
Framework code in InternalDriver and sub-classes to check permissions.
Code to enforce engine shutdown permission in InternalDriver but commented out. Need to understand which test code in the patch may be affected.
New error messages.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@632452 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/jdbc/Driver169.java",
"hunks": [
{
"added": [
"import java.security.Permission;",
"import java.security.AccessControlException;",
""
],
"header": "@@ -31,6 +31,9 @@ import java.sql.SQLException;",
"re... |
derby-DERBY-2109-a4692155 | DERBY-2109: JavaDoc @see-tag fixes.
Patch file: derby-2109-03-javadoc-see-tags.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@545514 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/authentication/DatabasePrincipal.java",
"hunks": [
{
"added": [
" * @see Principal#equals"
],
"header": "@@ -54,7 +54,7 @@ public class DatabasePrincipal implements Principal, Serializable {",
"removed": [
... |
derby-DERBY-2109-c0052e0a | DERBY-2109 Security Principals and Permission classes to support system level permissions in Derby through standard Java security policy.
Committed a sub-set of patch 12 related to the security code without enabling any functionality.
Note that the SystemPrivilegesPermissionTest is not added into the _Suite (as the complete patch does)
as I think it will fail under J2ME. It passes with classes but fails with jars but that is to be expected
as the Derby's permissions classes are not yet added into the jars, this will occur once they are used.
Patch contributed by: Martin Zaun Email: martin dot zaun at sun dot com
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@632419 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/security/DatabasePermission.java",
"hunks": [
{
"added": [
"import java.security.PrivilegedAction;",
"import java.security.PrivilegedExceptionAction;",
"import java.security.PrivilegedActionException;",
"import jav... |
derby-DERBY-2110-77d89802 | DERBY-2110 - correcting typos in a number of messages
- fix involved also updating MessageBuilder.java, because the resulting
dita file did not correctly replace all quotes when put into html.
- also corrected BlobClob4BlobTest which has the string of message 40X0D
hardcoded.
- also updated errorCode.out masters, incl. for j9_13 and j9_22, even though
that's not really needed anymore.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@479527 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/build/org/apache/derbyBuild/MessageBuilder.java",
"hunks": [
{
"added": [
" String displayText;",
" if (rawText.indexOf('\\'')>=0)",
" {",
" displayText = replaceSpecialChars( escapeTextWithAQuote( rawText ... |
derby-DERBY-2110-a396cb11 | DERBY-2110 - removing innocent spaces in the tags
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@480160 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/build/org/apache/derbyBuild/MessageBuilder.java",
"hunks": [
{
"added": [
" \" \\\"../dtd/reference.dtd\\\">\\n\";"
],
"header": "@@ -84,7 +84,7 @@ public class MessageBuilder extends Task",
"removed": [
" \" \\\"../../d... |
derby-DERBY-2112-2c140d81 | DERBY-2112 - fix NPE on executeBatchRequestX when PreparedStatement has no parameters.
Fix suggested by reporter, Cesar Devera.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@505700 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2114-03f15c03 | DERBY-2114: Remove double synchronization in Clock
Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@528370 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/services/cache/Clock.java",
"hunks": [
{
"added": [
"\tprivate final CacheStat stat;"
],
"header": "@@ -104,7 +104,7 @@ final class Clock implements CacheManager, Serviceable {",
"removed": [
"\tpublic fin... |
derby-DERBY-2114-f07c8c71 | DERBY-2114: Let Clock embed a HashMap rather than inherit from Hashtable
Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@519644 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/diag/StatementCache.java",
"hunks": [
{
"added": [
"",
"import java.util.Iterator;",
"import java.util.Collection;"
],
"header": "@@ -39,11 +39,12 @@ import java.sql.SQLException;",
"removed": [
... |
derby-DERBY-2116-0c0db14f | DERBY-2116: Test files missing svn:eol-style
Set the svn:eol-style property to native.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@478891 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/SystemPropertyTestSetup.java",
"hunks": [
{
"added": [
"/*",
" *",
" * Derby - Class org.apache.derbyTesting.functionTests.util.SystemPropertyTestSetup",
" *",
" * Licensed to the Apache Sof... |
derby-DERBY-2118-83606560 | DERBY-2118: Cleanup of ArrayInputStream
- Patch which improves the clearLimit() method by removing the
possibility that the byte array is ever null.
- Instead of using null when creating an empty ArrayInputStream an
empty array is used instead.
- Remove some unused methods.
- Change some callers of the 2-arg setLimit() to the 1-arg setLimit()
as it is more efficient.
- Fix a bug where setData() would not reset the position to zero
(previously it was unmodified at a potentially invalid position)
Contributed by Daniel John Debrunner.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@522167 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/ArrayInputStream.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.util.ReuseFactory;"
],
"header": "@@ -30,6 +30,7 @@ import org.apache.derby.iapi.services.sanity.SanityManager;",
"removed": ... |
derby-DERBY-2118-ca42415a | DERBY-2118: Make ArrayInputStream.setLimit(int,int) void
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@527830 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/ArrayInputStream.java",
"hunks": [
{
"added": [
"\tpublic void setLimit(int offset, int length) throws IOException {",
"\t\tposition = start;",
"\t\tif ((offset < 0) || (length < 0) || (end > pageData.length... |
derby-DERBY-212-ee2a8604 | DERBY-212 Optimize some specific methods in Network Server to improve performance. Submitted by Knut Anders Hatlen
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@368333 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/DRDAConnThread.java",
"hunks": [
{
"added": [
"\t/** The value returned by the previous call to",
"\t * <code>parsePKGNAMCSN()</code>. */",
"\tprivate Pkgnamcsn prevPkgnamcsn = null;",
"\t/** Current RDB Pa... |
derby-DERBY-2122-0fe7da6b | DERBY-2122: Optimize ContainerLock.isCompatible() and RowLock.isCompatible()
Build a bit mask from the compatibility tables in ContainerLock and
RowLock, and replace look-up in two-dimensional array with bitwise
and.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@481181 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/store/raw/ContainerLock.java",
"hunks": [
{
"added": [
"\t/** Integer representation of the type of the lock. */",
"\t/** Bit mask with one bit set. The position of the bit tells the type of",
"\t * the lock. */",
... |
derby-DERBY-2123-21c2a9e3 | DERBY-2123: Remove workaround for old JIT bug from StoredPage
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@480861 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java",
"hunks": [
{
"added": [],
"header": "@@ -1492,7 +1492,6 @@ public class StoredPage extends CachedPage",
"removed": [
" (ErrorObjectInput) null /* always null */, "
... |
derby-DERBY-213-3292941a | DERBY-213 additional checkin to rearrange tests
Moved procedure tests to lang/procedure.java so that resultset.java
can run with J2ME
Contributed by Philip Wilder
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@279420 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-213-e3acc4a0 | DERBY-213 - ResultSet.next() after last row of FORWARD_ONLY cursor throws an SQL Exception with Network Server
- Additional tests in jdbcapi/resultset.java
- Change to special flag to fix a small NullPointerException
- modified output files for resultset.out, updatableResultSet.out, holdCursorJDBC30, forupdate.out
- Changes to ResultSet, Statement and Connection in the org.apache.derby.client.am package. These changes have the following effects:
* FORWARD_ONLY ResultSets will no longer close implicitly after the last ResultSet has been retrieved.
* Checks to see if an auto-commit should be performed have been moved to Statement to mimic embedded functionality.
* Multiple ResultSets will now auto-commit if all ResultSets are closed if auto-commit is turned on.
Contributed by Philip Wilder
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@264128 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/ResultSet.java",
"hunks": [
{
"added": [
" //",
" //Aug 24, 2005: Auto-commit logic is no longer in the closeX() method. Insted it has been ",
" //moved to Statement and is handled ... |
derby-DERBY-2130-fa6bcd6b | DERBY-2130 - Optimizer performance slowdown from 10.1 to 10.2
Patch contributed by Army Brown
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1534465 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/OptimizerImpl.java",
"hunks": [
{
"added": [
" if (initJumpState() == READY_TO_JUMP)",
" firstLookOrder = new int[numOptimizables];"
],
"header": "@@ -223,13 +223,8 @@ class Optimizer... |
derby-DERBY-2131-378aa34e | DERBY-2131: Use a privileged block when calling out to the JAXP parser
so that users running with a security manager can insert XML values
that reference external DTDs without encountering security exceptions.
This patch does not include any tests; however, relevant test cases
will be enabled as part of DERBY-1758.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@481117 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java",
"hunks": [
{
"added": [
" protected String serializeToString(final String xmlAsText)",
" final ArrayList aList = new ArrayList();",
"",
" /* The call to dBuilder.parse(... |
derby-DERBY-2131-95685b13 | DERBY-2131 (partial): Change privileged block in SqlXmlUtil.serializeToString()
so that it contains as little code as possible. Also adds a catch block
around the privileged block to unwrap security exceptions.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@482303 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/types/SqlXmlUtil.java",
"hunks": [
{
"added": [
" protected String serializeToString(String xmlAsText)",
" ArrayList aList = new ArrayList();"
],
"header": "@@ -307,10 +307,10 @@ public class SqlXmlUtil ... |
derby-DERBY-2138-1e2aae03 | DERBY-2138 (partial) Cleanup imports on impl/sql/execute classes that imported
DataDictionaryContext without using it.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@483761 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/AlterTableConstantAction.java",
"hunks": [
{
"added": [
"import java.util.Enumeration;",
"import java.util.Iterator;",
"import java.util.List;",
"import java.util.Properties;",
"import or... |
derby-DERBY-2138-2bb479f1 | DERBY-2138 Remove the DataDictionaryContext and instead use the fact there is a single DataDictionary per database.
Cleanup DependableFinder to take a passed in reference to a data dictionary rather than trying to find the data
dictionary from the context.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@487307 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/catalog/DependableFinder.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.error.StandardException;",
"import org.apache.derby.iapi.sql.dictionary.DataDictionary;",
""
],
"header": "@@ -23,6 +23,9 ... |
derby-DERBY-2138-4841b0e3 | DERBY-2138 (partial) Move the booting of the DataDictionary to BasicDatabase from LanguageConnectionFactory
wihc makes more sense once there is a single dictionary per database. Change some calls to obtain a reference
to the DataDictionary from Database instead of looking for the pushed DataDictionaryContext.
DataDictionaryContext context is still pushed, this is an incremental step to removing it.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@484841 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/db/Database.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.sql.dictionary.DataDictionary;"
],
"header": "@@ -25,6 +25,7 @@ import org.apache.derby.iapi.services.context.ContextManager;",
"removed": []
... |
derby-DERBY-2138-62675ae2 | DERBY-2138 (partial) More import cleanups in iapi/db
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@483765 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/db/ConsistencyChecker.java",
"hunks": [
{
"added": [],
"header": "@@ -24,7 +24,6 @@ package org.apache.derby.iapi.db;",
"removed": [
"import org.apache.derby.iapi.sql.dictionary.DataDictionaryContext;"
]
},
... |
derby-DERBY-2138-69373d6e | DERBY-2138 (partial) Cleanup imports in functionTests.util that imported DatadictionaryContext but did not use it.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@483766 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/TestPropertyInfo.java",
"hunks": [
{
"added": [
"import java.util.Properties;",
"import org.apache.derby.iapi.error.PublicAPI;",
"import org.apache.derby.iapi.error.StandardException;",
"... |
derby-DERBY-2138-6fbf6699 | DERBY-2138 (partial) Organize imports in impl/sql/catalog for classes that import DataDictionaryContext but do not use it.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@483762 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/SYSVIEWSRowFactory.java",
"hunks": [
{
"added": [
"import org.apache.derby.catalog.UUID;",
"import org.apache.derby.iapi.error.StandardException;",
"import org.apache.derby.iapi.services.sanity.SanityManager... |
derby-DERBY-2138-cacb73f0 | DERBY-2138 (partial) Cleanup DependableFinder and associated classes by removing an unused method
and adding comments to related classes.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@486240 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DDdependableFinder.java",
"hunks": [
{
"added": [],
"header": "@@ -145,26 +145,6 @@ public class DDdependableFinder implements\tDependableFinder, Formatable",
"removed": [
"",
"\t/**",
"\t * ... |
derby-DERBY-2138-dee279ca | DERBY-2138 (partial) Couple of additional import cleanups for classes that imported
DataDictionaryContext without using it.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@483767 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/GenericStatement.java",
"hunks": [
{
"added": [
"import java.sql.Timestamp;",
"import org.apache.derby.iapi.error.StandardException;",
"import org.apache.derby.iapi.services.loader.GeneratedClass;",
"impor... |
derby-DERBY-2141-3fb95155 | DERBY-2141
Made BaseContainerHandle.close() synchronized as it may be called concurrently
by a stream passed outside the store and an abort triggered concurrently.
Making it synchronized will allow the first close to do the proper work and
the subsequent calls will just return with no work to do.
Also made some of the fields private to convince myself no-one outside the
class was counting on something being changed during close.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@537091 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/store/raw/data/BaseContainerHandle.java",
"hunks": [
{
"added": [
"\tprivate /*final*/ ContainerKey\t\tidentity;",
"\tprivate boolean\t\t\t\t active;\t",
"\tprotected BaseContainer\t\t container;"
... |
derby-DERBY-2141-5eee0018 | DERBY-2141 (partial) BlobClob4BlobTest.testPositionBlob() fails with NullPointerException
Preserve original stack trace for exceptions in JDBC 4.0 driver.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@501392 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/SQLExceptionFactory40.java",
"hunks": [
{
"added": [
" // Generate an EmbedSQLException",
" SQLException e =",
" super.getSQLException(message, messageId, next, severity, t, args);",
... |
derby-DERBY-2142-7106c74e | DERBY-2142 NullPointerException while using XAConnection/PooledConnection in a heavily contended multithreaded scenario
Update code comments.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@616575 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/jdbc/EmbedPooledConnection.java",
"hunks": [
{
"added": [
"\t",
"\tNotify listners that connection is closed.",
"\t\t//DERBY-2142-Null out the connection handle BEFORE notifying listeners.",
"\t\t//At time of the c... |
derby-DERBY-2142-e46ccc50 | Expand the DataSourceTest testing added in DERBY-2142 to include closing the PooledConnection during a callback resulting from a close on its logical connection.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@619695 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2142-e57849fb | DERBY-2142 NullPointerException while using XAConnection/PooledConnection in a heavily contended multithreaded scenario
core fix contributed by Asif Shahid with further suggestions from Dan Debrunner
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@616141 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/jdbc/EmbedPooledConnection.java",
"hunks": [
{
"added": [
" "
],
"header": "@@ -337,23 +337,8 @@ class EmbedPooledConnection implements javax.sql.PooledConnection, BrokeredConne",
"removed": [
"\t// my co... |
derby-DERBY-2142-fec3a1de | DERBY-2142 (test) Add a fixture (testPooledReuseOnClose) to DataSourceTest that tests the fix to DERBY-2142. It failed before revision 616141 and passed after for embedded, but fails for network client so it is disabled for that env.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@616177 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2145-2279e1ff | DERBY-2145 Fixed EmbedDatabaseMetaData.getFunctionColumns to match the changed numbers of parameters in the query
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@551878 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/EmbedDatabaseMetaData.java",
"hunks": [
{
"added": [
" return doGetProcCols(catalog, ",
" schemaPattern,",
" functionNamePattern, ",
" ... |
derby-DERBY-2149-b71ac67f | DERBY-2149: Replace Vectors and Hashtables with ArrayLists and HashMaps in RAMTransaction
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@491769 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/store/access/RAMTransaction.java",
"hunks": [
{
"added": [
"import java.util.HashMap;",
"import java.util.Iterator;"
],
"header": "@@ -22,10 +22,9 @@",
"removed": [
"import java.util.Enumeration;... |
derby-DERBY-2150-44370a8d | DERBY-2150: Reduce use of synchronized collections in GenericLanguageConnectionContext
Use HashMap instead of Hashtable.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@497334 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/conn/LanguageConnectionContext.java",
"hunks": [
{
"added": [],
"header": "@@ -22,7 +22,6 @@",
"removed": [
"import org.apache.derby.iapi.services.context.ContextManager;"
]
},
{
"added": [
... |
derby-DERBY-2150-bbf601d9 | DERBY-2150: Reduce use of synchronized collections in GenericLanguageConnectionContext
Replace Vectors with ArrayLists.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@495164 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java",
"hunks": [
{
"added": [
"import java.util.Iterator;"
],
"header": "@@ -86,8 +86,8 @@ import java.util.List;",
"removed": [
"import java.util.Vector;"
... |
derby-DERBY-2151-bf9a1af0 | DERBY-2151: Fixer-upper utility to help convert ij canon tests to JUnit
This patch modifies SQLToJUnit.java so that it quietly skips entirely
blank lines. Prior to this patch, such lines could cause SQLToJUnit to
throw a NullPointerException. An example of a canon with entirely
blank lines is tests/lang/groupBy.sql.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@573432 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/SQLToJUnit.java",
"hunks": [
{
"added": [
" // Skip entirely blank lines:",
" while (nextline != null)",
" {",
" nextline = nextline.trim()... |
derby-DERBY-2152-6c7bf483 | DERBY-2152: Clean-up patch that does the following:
1. Creates a new "init()" method for NewInvocationNode that is specifically
targeted for mapping VTI "tables" and VTI "table functions" to their
corresponding class names. The new init() method takes both a TableDescriptor
and a TableName, exactly one of which must be null. If the TableDescriptor
is null then we will resolve the TableName to a VTI "table function"; if the
TableName is null then we will resolve the TableDescriptor to a VTI "table".
Thus VTI classes are now consistently resolved inside the NewInvocationNode
class.
2. Updates NodeFactory.mapTableAsVTI() to make use of the new "init()"
method in NewInvocationNode. mapTableAsVTI() used to take as a parameter the
resolved VTI class name; now it just passes the received TableDescriptor to
the new init() method in NewInvocationNode and the latter resolves the VTI
class.
3. Combines the getVTIClassForTable() and getVTIClassForTableFunction()
methods of DataDictionary into a new method, "getVTIClass()", that takes a
TableDescriptor and a boolean value. The boolean indicates the kind of
mapping to do--"table" or "table function"--while the TableDescriptor holds
the schema and name information used for resolving the class. This resolves
the inconsistency between the argument styles used in the old getVTIClassFor*()
methods.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@494993 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/compile/NodeFactory.java",
"hunks": [
{
"added": [],
"header": "@@ -610,7 +610,6 @@ public abstract class NodeFactory",
"removed": [
"\t * @param vtiClass Java class name for virtual table"
]
}
]
},
... |
derby-DERBY-2152-b0db1404 | DERBY-2152: Support diagnostic "table functions" for querying Derby diagnostic
VTIs that take parameters. The table functions are exposed via the TABLE
constructor syntax:
SELECT <rcList> from
TABLE ( <sysdiag-schema>.<vti-table-name> (<arg-list>) )
[ AS ] corrlationName
Note that:
a. We only support VTI table function names that are in the SYSCS_DIAG schema
b. The correlation name *is* required, though use of the "AS" keyword
is optional (section 7.6 of the SQL 2003 spec, "<table primary>").
c. The argument list can be empty if the underlying VTI supports it.
The VTI table names that have been added are as follows:
SYSCS_DIAG.SPACE_TABLE maps to org.apache.derby.diag.SpaceTable
SYSCS_DIAG.ERROR_LOG_READER maps to org.apache.derby.diag.ErrorLogReader
SYSCS_DIAG.STATEMENT_DURATION maps to org.apache.derby.diag.StatementDuration
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@488827 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java",
"hunks": [
{
"added": [
"\t\t\tif (getVTIClassForTable(td) != null)"
],
"header": "@@ -1781,7 +1781,7 @@ public final class\tDataDictionaryImpl",
"removed": [
"\t\t\ti... |
derby-DERBY-2153-a6fa53ba | DERBY-2153:
1. Create a new JUnit utility file, junit/JAXPFinder.java, that is only
instantiated when all required XML classes are in the classpath.
2. Move the import of DocumentBuilderFactory out of junit/XML.java and into
junit/JAXPFinder.java. This extra level of indirection combined with the
conditional instantiation of JAXPFinder ensures that we do not attempt to
instantiate a DocumentBuilderFactory unless we have the necessary JAXP
classes.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@483532 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/XML.java",
"hunks": [
{
"added": [],
"header": "@@ -36,14 +36,6 @@ import java.sql.SQLException;",
"removed": [
"/* The following import is for a JDBC 3.0 JAXP class, which means that",
" * this file can ... |
derby-DERBY-2158-c1e3d96e | DERBY-2158 - ensure test.lang.UpdatableResultSetTest runs with JSR169 jvms
- modified test to use JDBC.vmSupportsJSR169 rather than its own mechanisms to
check for existence of java.math.BigDecimal
- added one more required check
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@497026 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2162-4a08a159 | DERBY-2162/DERBY-5618: Close the URLClassLoader when tests are done
with it so that file handles are freed and the jar files can be
deleted.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1582220 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/ClasspathSetup.java",
"hunks": [
{
"added": [
"import java.io.Closeable;",
"import java.io.IOException;",
"import java.security.PrivilegedExceptionAction;"
],
"header": "@@ -19,10 +19,13 @@",
... |
derby-DERBY-2164-1985a182 | DERBY-2164 (partial) Remove AccessFactory (store) from LanguageConnectionFactory and
instead code can find the AccessFactory from the Transaction object.
The AccessFactory getAccessManager() method already existed but was not exposed
at the highest level.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@483822 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/diag/LockTable.java",
"hunks": [
{
"added": [],
"header": "@@ -33,7 +33,6 @@ import org.apache.derby.iapi.services.sanity.SanityManager;",
"removed": [
"import org.apache.derby.iapi.sql.conn.LanguageConnectionFactory;"
]... |
derby-DERBY-2164-a96a2ab6 | DERBY-2164 (partial) Add the actual storeless implementation files that I thought had
been added under revision 497593 (they were marked as A but did not get added
into the commit for some reason).
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@497667 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/storeless/org/apache/derby/impl/storeless/StorelessService.java",
"hunks": [
{
"added": [
"/*",
"",
" Derby - Class org.apache.impl.storeless.StorelessService",
"",
" Licensed to the Apache Software Foundation (ASF) under on... |
derby-DERBY-2164-dcd3fecf | DERBY-2164 Add some comments to EngineType class and clean up its use.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@487742 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/monitor/Monitor.java",
"hunks": [
{
"added": [
"\t\tint\t\tengineType = EngineType.STANDALONE_DB;"
],
"header": "@@ -733,8 +733,7 @@ public class Monitor {",
"removed": [
"\t\tboolean\tretval = fa... |
derby-DERBY-2166-1f718563 | DERBY-2166 Implement proper handling of SocketTimeoutException in DRDAConnThread. Submitted by Bernt M. Johnsen
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@497748 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/DDMReader.java",
"hunks": [
{
"added": [
"\t\t\t} catch (java.net.SocketTimeoutException ste) {",
"",
" // Transport the timeout out through the layers. This",
" // exception i... |
derby-DERBY-217-7cf2315a | DERBY-217 add some batch test cases for the setXXX methods to jdbcapi/parameterMapping test.
Work in progress, need another commit to add the remaining setXXX methods.
git-svn-id: https://svn.apache.org/repos/asf/incubator/derby/code/trunk@190127 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-217-a9d1988a | DERBY-217 Finish adding batch test cases for setXXX methods in jdbcapi/parameterMapping.java
git-svn-id: https://svn.apache.org/repos/asf/incubator/derby/code/trunk@219679 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-218-3108420e | committing patch for DERBY-218, relaxed durability option -
for ksunithaghm@gmail.com.
A little background: Sometime earlier on the list, Dan posted a fix to make derby go faster with relaxed durability with some flags. The post is at http://article.gmane.org/gmane.comp.apache.db.derby.user/681/match=relaxed+durability
This mode is very useful for unit testing or at development time when recoverability is not required.
Basically in this mode, syncs are disabled for logs, data writes at checkpoint, page allocation when file is grown; - what this means is that data is not flushed all the way to the disk and in most cases i/o cost is not involved. Note, code already exists in Derby to do this.
So for Derby 218, This patch addresses the following requirements: 1) Have a single property to enable this relaxed durability mode, so it is easy for users to enable it.
2) Print message to derby.log that this mode is enabled
3) A way to report boot errors that may be because of this option being enabled. What this maps to is - have a marker to recognize that database was booted in this mode, and then on subsequent boot; if errors happen during recovery - report a message that it could have happened because of this mode being set.
Thanks Suresh for your comments. I have attached a new patch that takes care of them and as well as the property name change as discussed on the list.
So now,
1)To enable this no syncs mode, the property setting is derby.system.durability=test If it is set to any other value other than test, then this property setting is ignored and the system will default to the usual mode where all syncs happen correctly.
2) If database is booted in this mode then the flag to indicate this mode is being used is set in log.ctrl file and it will not change after that.Thus there wont be any switching between this mode ( no syncs) to default ( all syncs) mode because we cannot guarantee that the database will be in a consistent state once its booted in this no sync mode..
3) This flag is now written out as part of the log control flags in log.ctrl file instead of using a spare byte.
git-svn-id: https://svn.apache.org/repos/asf/incubator/derby/code/trunk@169538 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/reference/MessageId.java",
"hunks": [
{
"added": [
" String LOG_WAS_IN_DURABILITY_TESTMODE_NO_SYNC = \"L020\"; // database was running in",
" // derby.system.durabilit... |
derby-DERBY-2183-25a40e5f | DERBY-2183: Trigger recompilation problem when not qualified with schema
This patch was contributed by Yip Ng (yipng168@gmail.com)
The problem was that the compilation schema for the SPS was never set
during its recompilation, it was using the current schema to perform the
recompilation which is not correct. It should have use the SPS's
compilation schema to do the recompilation when we push the compiler context.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@492353 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/conn/GenericLanguageConnectionContext.java",
"hunks": [
{
"added": [
"\t * the passed in schema sd as the default schema",
"\t * For the parameter sd, there are 3 possible values(of interest) that can ",
"\t * get p... |
derby-DERBY-2191-17711ecf | DERBY-2191: Cleanup of FormatableBitSet
Re-wrote anySetBit and anySetBit(int beyondBit) to use a single loop
and removed special handling of the last byte.
Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@501095 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatableBitSet.java",
"hunks": [
{
"added": [
"\tprivate static int umul8(int i) { return (i<<3); }"
],
"header": "@@ -93,6 +93,7 @@ public final class FormatableBitSet implements Formatable, Cloneable",
... |
derby-DERBY-2191-3f2dd5cf | DERBY-2191: Cleanup of FormatableBitSet
Simplified grow() by removing an unneeded special case.
Added ASSERT(invariantHolds()) to grow() and shrink().
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@504460 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatableBitSet.java",
"hunks": [
{
"added": [
"\t\tif (SanityManager.DEBUG) {",
"\t\t\tSanityManager.ASSERT(invariantHolds(), \"broken invariant\");",
"\t\t}",
""
],
"header": "@@... |
derby-DERBY-2191-59b0bbac | DERBY-2191: Cleanup of FormatableBitSet
This patch re-writes the method getNumBitsSet() to do a byte-by-byte
calculation. Contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@501334 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatableBitSet.java",
"hunks": [
{
"added": [
"\t\tif (SanityManager.DEBUG) {",
"\t\t\tSanityManager.ASSERT(invariantHolds(),\"broken invariant\");",
"\t\tint bitsSet = 0;",
"\t\tfinal int numbyt... |
derby-DERBY-2191-65a2bbd9 | DERBY-2191: Cleanup of FormatableBitSet
Use unsigned int operations to calculate positions.
Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@500177 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatableBitSet.java",
"hunks": [
{
"added": [
"\tprivate\tbyte\tbitsInLastByte;",
"\tprivate final void checkPosition(int p) {"
],
"header": "@@ -70,11 +70,11 @@ public final class FormatableBitSet i... |
derby-DERBY-2191-72a3df4a | DERBY-2191: Remove unused methods in FormatableBitSet
Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@497396 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatableBitSet.java",
"hunks": [
{
"added": [],
"header": "@@ -113,27 +113,6 @@ public final class FormatableBitSet implements Formatable, Cloneable",
"removed": [
"\t/**",
"\t * Constructs a Bit fro... |
derby-DERBY-2191-85644631 | DERBY-2191: Cleanup of FormatableBitSet
Removal of dead code. Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@489053 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatableBitSet.java",
"hunks": [
{
"added": [
"\t\tint obByteLen = otherBit.getLengthInBytes();",
"\t\tfor (int i = 0; i < obByteLen-1; i++)",
"\t\t\tvalue[i] |= otherBit.value[i];",
"\t\t",
... |
derby-DERBY-2191-8a6ea6dc | DERBY-2191: Cleanup of FormatableBitSet
- Fixed bug in shrink() causing some unused bits to not be cleared.
- Fixed bug in shrink() causing ArrayIndexOutOfBoundsException when
shrinking to 0.
- Throw exception when shrinking to a size larger than the current
size or growing to negative size.
Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@502185 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatableBitSet.java",
"hunks": [
{
"added": [
"\t * Grow (widen) a FormatableBitSet so that it contains at least N",
"\t * bits. If the bitset already has more than n bits, this is a",
"\t * noop. Negative... |
derby-DERBY-2191-8bb781c8 | DERBY-2191: Cleanup of FormatableBitSet
Ensure that value is never null and remove redundant checks for
(value == null). Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@496719 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatableBitSet.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.util.ReuseFactory;"
],
"header": "@@ -22,6 +22,7 @@",
"removed": []
},
{
"added": [
"\t// value... |
derby-DERBY-2191-9fdfb400 | DERBY-2191: Cleanup of FormatableBitSet
* remove unused import
* simplify calculation in numBytesFromBits()
* removed unused variables in toString()
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@497003 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatableBitSet.java",
"hunks": [
{
"added": [],
"header": "@@ -24,7 +24,6 @@ package org.apache.derby.iapi.services.io;",
"removed": [
"import java.io.InputStream;"
]
},
{
"added": ... |
derby-DERBY-2191-a517b4e5 | DERBY-2191: Cleanup of FormatableBitSet
Added unit tests. Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@496312 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/unitTests/junit/_Suite.java",
"hunks": [
{
"added": [
"/*",
"",
" Derby - Class org.apache.derbyTesting.unitTests.junit._Suite",
"",
" Licensed to the Apache Software Foundation (ASF) unde... |
derby-DERBY-2191-aa13c704 | DERBY-2191: Make boundary checking more consistent in FormatableBitSet
Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@497398 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatableBitSet.java",
"hunks": [
{
"added": [
"\tprivate void checkPosition(int p) {",
"\t\tif (p < 0 || lengthAsBits <= p) {",
"\t\t\tthrow new",
"\t\t\t\tIllegalArgumentException(\"Bit position... |
derby-DERBY-2191-c7205c15 | DERBY-2191: Cleanup of FormatableBitSet
Changed the bitset operator methods or(), and() and xor() so that they
follow the same pattern. All are now performing the operation
bytewise, and there is no special handling of the last partial
byte. The patch also adds a method called invariantHolds() that checks
if the class' invariant is maintained (for use in the unit test).
Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@498772 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/services/io/FormatableBitSet.java",
"hunks": [
{
"added": [
"\t/**",
"\t * This method returns true if the following conditions hold:",
"\t * 1. The number of bits in the bitset will fit into the allocated",
"... |
derby-DERBY-2191-e9575468 | DERBY-2191: More test cases for FormatableBitSet.getNumBitsSet()
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@501368 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2193-97fdc36e | DERBY-2193: Add line numbers and file names to import error messages.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@528492 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/load/Import.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.reference.SQLState;",
"import org.apache.derby.iapi.error.StandardException;",
"import org.apache.derby.iapi.error.PublicAPI;",
""
... |
derby-DERBY-2193-ca42bbe1 | DERBY-2193-03: Adjust the import/export lob tests which assert different results based on the vm level.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@529322 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2196-0aa77692 | DERBY-2196: Commit derby-2196-02-install-01.diff, which installs a security manager when the network server is booted without one.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@506751 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/drda/NetworkServerControl.java",
"hunks": [
{
"added": [
"import java.net.URL;"
],
"header": "@@ -23,6 +23,7 @@ package org.apache.derby.drda;",
"removed": []
},
{
"added": [
"",
"\t... |
derby-DERBY-2196-7093bb67 | DERBY-3083: To fix regression introduced by DERBY-2196, do not fail server startup if derbynet.jar cannot be found.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@597125 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/drda/NetworkServerControl.java",
"hunks": [
{
"added": [
" * <li>Classes live in the jar files which we expect..</li>"
],
"header": "@@ -545,6 +545,7 @@ public class NetworkServerControl{",
"removed": []
},
... |
derby-DERBY-2196-e0f1ffe2 | DERBY-2196: Commit secure-server tests in derby-2196-03-tests-01.diff.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@509693 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/NetworkServerTestSetup.java",
"hunks": [
{
"added": [
"import java.io.InputStream;"
],
"header": "@@ -24,6 +24,7 @@ import java.net.InetAddress;",
"removed": []
},
{
"added": [
... |
derby-DERBY-2197-ebb21c44 | DERBY-2197 - minor javadoc fixes to problems caused by removing of interfaces
with previous checkin (496960).
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@497536 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/store/raw/Page.java",
"hunks": [
{
"added": [
" <P>"
],
"header": "@@ -37,7 +37,7 @@ import org.apache.derby.iapi.types.DataValueDescriptor;",
"removed": [
" <P>"
]
},
{
"ad... |
derby-DERBY-2200-c3bf4ea6 | DERBY-2200: Add performance tests to Derby using the junit perf framework
This patch (derby2200.p1.diff.txt) adds
-- few simple performance tests using the junit perf framework.
-- small addition to the reporting in JDBCPerfTestCase to indicate the
framework the test is running in.
Patch contributed by Sunitha Kambhampati.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@491786 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2201-638f1b48 | DERBY-2201: Allow scalar functions to return LOBs.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@745202 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/types/BitDataValue.java",
"hunks": [
{
"added": [
"import java.sql.Blob;",
""
],
"header": "@@ -21,6 +21,8 @@",
"removed": []
}
]
},
{
"file": "java/engine/org/apache/derby/iapi/types/Dat... |
derby-DERBY-2207-5990b20b | DERBY-3073 SQL roles: add parser support
Patch DERBY-3073-part4, which:
- lifts restriction on role names to 30 chars; it is now 128 as
for other identifiers, cf. discussion with Dan in DERBY-2207.
- reserves the SYS prefix on role names
RolesTest is updated with modified/new tests for this.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@630124 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2213-21a3353d | DERBY-2213 (partial) Add a set of utilities in junit.Derby that allows
test code to determine which Derby functionality is available,
so that tests can exclude themselves if they require tools, engine, client
and/or server. Allows the junit tests to be setup so that they be run
with different classpaths that are a subset of the full set of jars.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@492822 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/SecurityManagerSetup.java",
"hunks": [
{
"added": [
" URL junit = getURL(junit.framework.Test.class);",
" if (junit != null)",
" classPathSet.setProperty(\"derbyTesting.junit\", junit.t... |
derby-DERBY-2213-ea8303d4 | DERBY-2213 Change RoutineTest and TimeHandlingTest not to depend on derbytools.jar.
Ensure IJRunScriptTest runs only if derbytools.jar is present.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@494951 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2215-a1af992b | DERBY-2215 Change ChangeConfigurationSetup to be an abstract class that allows
subclasses to generate the new TestConfiguration operation at setUp time.
Create three sub-classes to handle changing the database name, changing the
connection handling and switching to a client server configuration.
This ensures that nested changing of configurations works correctly
by creating new configurations based upon the current at the time of setUp.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@493180 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/ChangeUserSetup.java",
"hunks": [
{
"added": [
"final class ChangeUserSetup extends ChangeConfigurationSetup {"
],
"header": "@@ -28,11 +28,10 @@ import junit.framework.Test;",
"removed": [
"final... |
derby-DERBY-2220-09b38be4 | DERBY-2220: Uncommitted transactions executed through XAResource will
hold locks after the application terminates (or crashes during the
transaction).
Abort the global transaction on a derby server when the network socket
is closed.
Patch contributed by Julius Stroffek.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@517131 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/DRDAXAProtocol.java",
"hunks": [
{
"added": [
" /** Holds the Xid of the global transaction associated with",
" * the corresponding DRDAConnThread (and connection itself). */",
" private Xid xid;"
... |
derby-DERBY-2222-7b5fc1ef | DERBY-2222: 'show indexes in SCHEMANAME' does not work with the client driver.
Patch file: DERBY-2222-3.diff
Patch contributed by Jørgen Løland.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@536100 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/ij/ijResult.java",
"hunks": [
{
"added": [
"import java.util.List;"
],
"header": "@@ -28,6 +28,7 @@ import java.sql.PreparedStatement;",
"removed": []
}
]
},
{
"file": "java/tools/org/apache/d... |
derby-DERBY-2222-e5ca925a | DERBY-2222: JavaDoc/formatting fixes.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@536111 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/tools/JDBCDisplayUtil.java",
"hunks": [
{
"added": [
" @param resultSets list of <code>ResultSet</code>s to display",
" @param conn the connection against which the <code>ResultSet</code>s",
" were retr... |
derby-DERBY-2224-0070f973 | DERBY-2224 - update j9_foundation master/canons to weme 6.1 (J2ME 1.1) results
- this change includes a change to ij because java.math.BigDecimal
is now available, but JSR169 does not support methods like
ResultSet.getBigDecimal(...).
- this change also accepts incorrect behavior in timestampArith.java, which is
covered in DERBY-2225.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@497678 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/BigDecimalHandler.java",
"hunks": [
{
"added": [
"import java.lang.reflect.*;",
" * like J2ME/CDC/Foundation Profile 1.0, which do not have BigDecimal class, or",
" * JSR169 Profile, which does n... |
derby-DERBY-2224-e45787f7 | DERBY-2224 - making old testharness support newer j2ME version
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@496847 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/harness/RunList.java",
"hunks": [
{
"added": [
" \ttestJVM = (jvmName.startsWith(\"j9_foundation\") ? \"foundation\" : \"j9\"); "
],
"header": "@@ -687,7 +687,7 @@ public class RunList... |
derby-DERBY-2225-0070f973 | DERBY-2224 - update j9_foundation master/canons to weme 6.1 (J2ME 1.1) results
- this change includes a change to ij because java.math.BigDecimal
is now available, but JSR169 does not support methods like
ResultSet.getBigDecimal(...).
- this change also accepts incorrect behavior in timestampArith.java, which is
covered in DERBY-2225.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@497678 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/BigDecimalHandler.java",
"hunks": [
{
"added": [
"import java.lang.reflect.*;",
" * like J2ME/CDC/Foundation Profile 1.0, which do not have BigDecimal class, or",
" * JSR169 Profile, which does n... |
derby-DERBY-2226-68535119 | DERBY-2226: Move column bitset computation to IndexToBaseRowNode
Patch contributed by Dyre Tjeldvoll.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@496645 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/execute/ResultSetFactory.java",
"hunks": [
{
"added": [
"\t\t@param allColRefItem A saved item for a bitImpl of columns",
"\t\t\t\t\t\t\t\tthat are referenced in the underlying",
"\t\t\t\t\t\t\t\tindex and heap. -1... |
derby-DERBY-2228-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 which was incorrect, as it has no relationship
to the types of the parameters.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@498842 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"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-2242-011514c5 | DERBY-2242 (partial) edit comments
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@596396 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2242-03974e35 | DERBY-2242 (partial) Add testing of the ODBC getTables to DatabaseMetaDataTest to mimic the old odbc_metadata.java.
Add checking of the nullability of the ResultSets returned for meta data. Includes some utility methods in JDBC.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@502760 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/JDBC.java",
"hunks": [
{
"added": [
" ",
" /**",
" * Check the nullability of the column definitions for",
" * the ResultSet matches the expected values.",
" * @param rs",
... |
derby-DERBY-2242-040d4bd4 | DERBY-2242 (partial); adding tests for *AreVisible and remainder for
*AreDetected tests.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@596070 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2242-19cabb83 | DERBY-2242 (partial) Add more fixtures to DatabaseMetaDataTest that cover almost
all the methods that do not return a ResultSet. Add a utility method
to JDBC to allow simple checking of data types for a returned ResultSet.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@496555 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/JDBC.java",
"hunks": [
{
"added": [
" /**",
" * Takes a result set and an array of expected column types",
" * from java.sql.Types ",
" * and asserts that the column types in the result... |
derby-DERBY-2242-1a2a78d2 | DERBY-2242 (partial) test for getBestRowIdentifier modifications;
adding bug numbers; splitting off helper methods; adjusting comments;
reinstating table brit17 into main test.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@592626 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2242-1ba0984d | DERBY-2242 ; remove metadata.java, metadata_test.java and odbc_metadata.java.
Test has been converted to junit test DatabaseMetaDataTest.
Also removed master file PhaseTester.out, orphaned from rev 407396 (DERBY-514)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@597464 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2242-29f4885a | DERBY-2242 (partial) moved over tests from metadata_test.java for get*Keys,
getCrossReference.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@596577 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2242-30f8bce0 | DERBY-2242 (partial) - convert tests for getBestRowIdentifier from bestrowidentifier.sql and metadata.java - step 1; add to DatabaseMetaDataTest.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@592240 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2242-3f677d15 | DERBY-2744 DERBY-2242 Remove the testing of the new JDBC 4.0 DatabaseMetaData functions from
the harness based metadata tests that are already covered by the JUnit jdbc4.TestDbMetaData test.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@543544 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2242-42d8676c | DERBY-2242 (partial) Add some more test cases and fixtures to DatabaseMetaDataTest
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@496508 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2242-6254f17a | DERBY-2242 (partial) Add testing of getColumns() to DatabaseMetaDataTest
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@502719 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-2242-73e0fab3 | DERBY-2242 (partial) tests for getIndexInfo. Also modified some comments.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@596033 13f79535-47bb-0310-9956-ffa450edef68
| [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.