id stringlengths 22 25 | commit_message stringlengths 137 6.96k | diffs listlengths 0 63 |
|---|---|---|
derby-DERBY-4555-08cc0f89 | DERBY-4555: Expand SYSCS_IMPORT_TABLE to accept CSV file with headers
DERBY-6893: Create new SYSCS_IMPORT_DATA_BULK procedure
This change was contributed by Danoja Dias (danojadias at gmail dot com)
This change modifies the method Import.importTable so that it has
a varargs interface, which makes it easier to call it in a variety
of ways from different system procedures.
Additionally, the change adds a new system procedure, named
SYSCS_UTIL.SYSCS_IMPORT_DATA_BULK, which is a variant of the
existing SYSCS_IMPORT_DATA system procedure, but has an additional
argument at the end that specifies the number of initial lines of
data in the input file to be skipped.
The anticipated use for this system procedure is to process input
data files which have been generated by a CSV-data-generating tool
which includes column header data at the start of the input file.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1751852 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/load/Import.java",
"hunks": [
{
"added": [
" boolean lobsInExtFile, short... extraArgs)"
],
"header": "@@ -182,7 +182,7 @@ public class Import extends ImportAbstract{",
"removed": [
... |
derby-DERBY-4555-83668f1a | DERBY-4555: Expand SYSCS_IMPORT_TABLE to accept CSV file with header lines
DERBY-6894: Enhance COLUMNINDEXES parsing for SYSCS_IMPORT_DATA
This patch was contributed by Danoja Dias (danojadias at gmail dot com)
This patch is a follow-on to revision 1752990, and ensures that the
new readHeaders() logic correctly increments the ImportReadData's
lineNumber field as it's reading the column header lines, so that if
an error occurs while reading those header lines, a reasonable line
number is reported in the error message.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1753876 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4555-ea2e9393 | DERBY-4555: Expand SYSCS_IMPORT_TABLE to accept CSV file with headers
DERBY-6892: Create new SYSCS_IMPORT_TABLE_BULK procedure
This change was contributed by Danoja Dias (danojadias at gmail dot com)
This change modifies the method Import.importTable so that it has
a varargs interface, which makes it easier to call it in a variety
of ways from different system procedures.
Additionally, the change adds a new system procedure, named
SYSCS_UTIL.SYSCS_IMPORT_TABLE_BULK, which is a variant of the
existing SYSCS_IMPORT_TABLE system procedure, but has an additional
argument at the end that specifies the number of initial lines of
data in the input file to be skipped.
The anticipated use for this system procedure is to process input
data files which have been generated by a CSV-data-generating tool
which includes column header data at the start of the input file.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1751159 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/load/Import.java",
"hunks": [
{
"added": [
" private static short skip; //The number of header lines to be skipped"
],
"header": "@@ -56,7 +56,7 @@ public class Import extends ImportAbstract{",
"removed": [
... |
derby-DERBY-4562-f6d5ae4d | DERBY-4562 Compilation of prepared statement results in Syntax Error
Patch derby-4562c. This fixes a problem with the parser logic to
determine if OFFSET is used as an identifer or is the start of an
offset clause. (Derby does not make OFFSET a reserved word for
compatibility reasons.)
The patch also adds new test cases.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@916075 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4563-32bd74ed | DERBY-4563: Avoid unnecessary use of getStream and getStreamWithDescriptor
Replaced use of StreamStorable.returnStream in the JDBC layer with
DataValueDescriptor.getStream.
Patch file: derby-4563-2a-replace_streamstorable_in_jdbclayer.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@916640 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java",
"hunks": [
{
"added": [
" InputStream stream; // The stream we will return to the user",
" if (dvd.hasStream()) {",
" stream = new BinaryToRawStream(dvd.ge... |
derby-DERBY-4563-541361f6 | DERBY-4563: Avoid unnecessary use of getStream and getStreamWithDescriptor
Introduced the method DataValueDescriptor.hasStream() - use this method to check
if the data value is, or will be, represented by a stream.
Made DVD.getStream() and SDV.getStreamWithDescriptor() fail if hasStream returns
false (maybe this check can be removed, or made cheaper, in the near future?).
The reasoning behind the change is to make it easier to debug and investigate
issues concerned with incorrect stream state. If the stream is "leaked" from the
DVD, it is because it will be used to access the data. It will also be easier to
guarantee that the stream has a certain state, for instance that it is
positioned just before the first byte of user data when returned from the DVD.
It may be expensive to re-position the stream, which is why getStream() != null
isn't the best way to check if the value is a stream. The need to re-position is
again caused by missing (or non-exposed) functionality in the stream coming from
store.
In most cases the stream should only be obtained once from a given DVD, but
there are currently exceptions to the rule.
Patch file: derby-4563-1b-dvd_hasStream.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@916261 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/types/SQLBinary.java",
"hunks": [
{
"added": [
" if (!hasStream()) {",
" throw StandardException.newException(",
" SQLState.LANG_STREAM_INVALID_ACCESS, getTypeName());",
" ... |
derby-DERBY-4564-2aa3e0b6 | DERBY-4564 Replication tests do not pick up derby.tests.networkServerStartTimeout setting
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@916897 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4577-2f417333 | DERBY-4577 An expanding update fails with an nospc.U error
Fixes problem on Overflow pages populated by long rows where the an expanding
update of the row would fail with a nospc.U error. The system always expects
updates to succeed. In the case of an expanding update that finds not enough
room there should always at least be enough room reserved/used in the row to
do an update that changes the row to just an overflow row pointer with no data,
moving the data to another page.
The problem was that on overflow pages not enough room was being reserved to
handle a worst case row with a overflow pointer. This fix reserves the worst
case space on overflow pages.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@959027 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/store/raw/data/StoredPage.java",
"hunks": [
{
"added": [
" * This is the length to reserve for either a column or row overflow"
],
"header": "@@ -289,7 +289,7 @@ public class StoredPage extends CachedPage",
"rem... |
derby-DERBY-4582-204f3a0a | DERBY-4582: Timestamps inserted with GMT calendar are 1 hour later
when subsequently read with GMT calendar (Server Mode Only)
Partial fix. This patch makes the server read time, date and timestamp
values from ResultSets and CallableStatements using the getter methods
that take a Calendar object. A GMT calendar is used, so that times
that are not possible to represent in the local time zone (like the
"lost hour" when switching to daylight saving time) are not silently
modified. The GMT calendar is also used when formatting the value
before it's sent to the client.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@937170 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/DRDAConnThread.java",
"hunks": [
{
"added": [
" val = getObjectForWriteFdoca(rs, i, drdaType);",
" writeFdocaVal(i, val, drdaType,"
],
"header": "@@ -7111,7... |
derby-DERBY-4582-5e93fad1 | DERBY-4582: Timestamps inserted with GMT calendar are 1 hour later
when subsequently read with GMT calendar (Server Mode Only)
Fixed off-by-one error in the previous commit.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@938796 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4582-6f36c341 | DERBY-4582: Timestamps inserted with GMT calendar are 1 hour later
when subsequently read with GMT calendar (Server Mode Only)
Improved the regression test by adding a test case for updatable
result sets.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@933637 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4582-7d21df08 | DERBY-4582: Timestamps inserted with GMT calendar are 1 hour later
when subsequently read with GMT calendar (Server Mode Only)
Partial fix. This fix makes the server use a GMT calendar when it
reads a date, time or timestamp from the client. This way, the values
won't be changed if they refer to a point in time that does not exist
in the local time zone due to switch from/to daylight saving time (GMT
doesn't observe daylight saving time and therefore doesn't have these
holes in the range of valid values).
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@936218 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/DRDAConnThread.java",
"hunks": [
{
"added": [
"import java.sql.Time;",
"import java.sql.Timestamp;",
"import java.util.Calendar;",
"import java.util.TimeZone;"
],
"header": "@@ -38,10 +38,14... |
derby-DERBY-4582-7d521f50 | DERBY-4582: Timestamps inserted with GMT calendar are 1 hour later
when subsequently read with GMT calendar (Server Mode Only)
Last patch for this issue. Now the Calendar objects passed to the
getters in ResultSet and CallableStatement are passed further down to
where the parsing of the values from the server happens.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@938547 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/CallableStatement.java",
"hunks": [
{
"added": [
"import java.sql.Date;",
"import java.sql.Time;",
"import java.sql.Timestamp;",
"import java.util.Calendar;"
],
"header": "@@ -25,7 +25,11 ... |
derby-DERBY-4582-9c285a72 | DERBY-4582: Timestamps inserted with GMT calendar are 1 hour later when subsequently read with GMT calendar (Server Mode Only)
Added test case that exposes the bug. The test case currently only
passes with the embedded driver and is therefore not enabled in any
test suites.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@932930 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/TimeZoneTestSetup.java",
"hunks": [
{
"added": [
"/*",
" * Derby - Class org.apache.derbyTesting.functionTests.util.TimeZoneTestSetup",
" *",
" * Licensed to the Apache Software Foundation (ASF) under... |
derby-DERBY-4582-c1d0340b | DERBY-4582: Timestamps inserted with GMT calendar are 1 hour later
when subsequently read with GMT calendar (Server Mode Only)
Partial fix. This check-in makes the client do the conversion to the
requested time zone correctly, and the correct timestamps will be sent
to the server. There's still some incorrect handling of the values on
the server, as well as when the client reads them back from the
server, so the results may still end up being wrong.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@935868 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/DateTime.java",
"hunks": [
{
"added": [
" DateTimeValue date)",
" int year = date.getYear();",
" int day = date.getDayOfMonth();"
],
"header"... |
derby-DERBY-4582-e068569a | DERBY-4582: Timestamps inserted with GMT calendar are 1 hour later
when subsequently read with GMT calendar (Server Mode Only)
Fixed test failure on small devices because the Foundation Profile 1.1
API doesn't include getYear(), getMonth(), etc, in java.util.Date. Use
java.util.Calendar to access those fields instead.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@939231 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4584-440c27c2 | DERBY-4584: Unable to connect to network server if client thread name has Japanese characters
Patch contributed by Tiago R. Espinha.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@929085 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4587-0e72736f | DERBY-4587: Tools for improved analysis of query plans
This patch was contributed by C.S. Nirmal J. Fernando (nirmal070125 at gmail dot com)
This patch adds a check to see that the specified schema exists in the
database, cleans up the handling of the PrivilegedActionException when
security policy is not granted, and adds newline whitespace to the XML
output for the <stmt_id> and time fields.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@985762 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/planexporter/AccessDatabase.java",
"hunks": [
{
"added": [
" public boolean verifySchemaExistance() throws SQLException{",
" \tboolean found=false;",
" \tResultSet result = conn.getMetaData().getSchemas();... |
derby-DERBY-4587-82d65861 | DERBY-4587: Add tools for improved analysis and understanding of query plans and execution statistics
Various clean-ups and improvements, amongst others:
o print statement id in the output
o print time of statement execution in the output
o removed user and password arguments for PlanExporter (specified in JDBC URL instead)
o close connection instead of shutting down database
o removed @author tags
o made TreeNode package-private
o switched depth-representation from String to int
Patch contributed by C.S. Nirmal J. Fernando (nirmal070125 at gmail dot com).
Patch file: DERBY-4587-tool-9.8-modified.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@984881 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/planexporter/AccessDatabase.java",
"hunks": [
{
"added": [],
"header": "@@ -12,11 +12,6 @@ import java.sql.ResultSet;",
"removed": [
"",
"/**",
" * @author Nirmal",
" *",
" */"
... |
derby-DERBY-4587-b1b255cc | DERBY-4781 (partial) Fix XplainStatisticsTest failure with J2ME on split method
introduced by DERBY-4587
Contributed by C.S. Nirmal J Fernando ( nirmal070125 at gmail dot com )
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@988264 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/planexporter/AccessDatabase.java",
"hunks": [
{
"added": [
" \tif(stmt.indexOf(expr)!=-1){",
" \t\tstmt=stmt.substring(0, stmt.indexOf(expr))",
" \t\t+replace+stmt.substring(stmt.indexOf(expr)+1);",
... |
derby-DERBY-4587-fb74f094 | DERBY-4587: Add tools for improved analysis of query plans
This patch was contributed by Nirmal Fernando (nirmal070125 at gmail dot com)
This patch changes the comment markers in the XSL files from slash-star
to lessthan-bang-dash-dash, and updates a javadoc comment and a variable
name in CreateHTMLFile.java.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@985075 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/planexporter/CreateHTMLFile.java",
"hunks": [
{
"added": [
"\t",
"\tprivate static String xslStyleSheetName =\"resources/vanilla_html.xsl\";//default xsl",
"\t/**",
"\t * ",
"\t * @param XMLFile... |
derby-DERBY-4588-992b79d1 | DERBY-4588 Provide a diagnostic property that will print a stack trace on succes
sful boot to help diagnose dual boot issues after the DERBY-700 fix
To use, set the property derby.stream.error.logBootTrace=true
A stack trace will print in the derby.log on boot and shutdown.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@934996 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/store/raw/data/BaseDataFileFactory.java",
"hunks": [
{
"added": [
" boolean logBootTrace = Boolean.valueOf(startParams.getProperty(Property.LOG_BOOT_TRACE,",
" PropertyUtil.getSystemProperty(Property.LOG_BOOT... |
derby-DERBY-4594-3dd23996 | DERBY-4594: ArrayIndexOutOfBoundsException thrown in PreparedStatement execution
Added missing categorize() method in CoalesceFunctionNode.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@927430 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/CoalesceFunctionNode.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.util.JBitSet;",
""
],
"header": "@@ -30,13 +30,12 @@ import org.apache.derby.iapi.services.sanity.SanityManager;",
... |
derby-DERBY-4595-4ce669e5 | DERBY-4679 Several left outer joins causes unstable query with incorrect results
Follow-up patch derby-4679-followup, which makes the original patch
safer by also matching the column name once a candidate result column
has been located using the table number and column number pair to
match an RC. This is to safe-guard against false matches, since
DERBY-4595 shows that the column number can be wrong in certain
situations.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@957260 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/ResultColumnList.java",
"hunks": [
{
"added": [
" * <p/>",
" * {@code columnName} is used to assert that we find the right column.",
" * If we found a match on (tn, cn) but columnName is wrong, r... |
derby-DERBY-4597-7a7a289e | DERBY-4806 DERBY-4597 removes references to IBM jcc driver on Main.java, fixing extracting derbyTesting.jar information when it is not in the same directory as derbyrun.jar
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1002682 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/sysinfo/Main.java",
"hunks": [
{
"added": [
""
],
"header": "@@ -139,9 +139,9 @@ public static void getMainInfo (java.io.PrintWriter aw, boolean pause) {",
"removed": [
""
]
},
{
... |
derby-DERBY-4597-8f4602dd | DERBY-4597 remove references to IBM jcc driver from sysinfo
Contributed by Lily Wei lilywei at yahoo dot com
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@955001 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/sysinfo/Main.java",
"hunks": [
{
"added": [],
"header": "@@ -1033,63 +1033,6 @@ public static void getMainInfo (java.io.PrintWriter aw, boolean pause) {",
"removed": [
"",
"\t// Check to see if it's a version... |
derby-DERBY-4598-b7e89514 | DERBY-4598 Print class loader used to boot and shutdown derby in derby.log
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@928065 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/store/raw/data/BaseDataFileFactory.java",
"hunks": [
{
"added": [
" dataDirectory + \" \" + readOnlyMsg,",
" // cast to Object so we get obje... |
derby-DERBY-4600-fc5f3cc7 | DERBY-4600: Use ValueNodeList helper methods in CoalesceFunctionNode
Use the helper methods defined in ValueNodeList to process the
argumentsList field in CoalesceFunctionNode. Also add a new helper
method, isEquivalent(), and use it in BinaryListOperatorNode,
ConditionalNode and CoalesceFunctionNode.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@928649 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/CoalesceFunctionNode.java",
"hunks": [
{
"added": [
"",
" if (!argumentsList.isEquivalent(other.argumentsList))",
""
],
"header": "@@ -360,22 +360,12 @@ public class CoalesceFunctionNo... |
derby-DERBY-4602-1eee3053 | DERBY-4602, DERBY-4483: Use SHA-1 for BUILTIN authentication if SHA-256 isn't supported
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@929715 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java",
"hunks": [
{
"added": [
"import java.security.MessageDigest;",
"import java.security.NoSuchAlgorithmException;"
],
"header": "@@ -158,6 +158,8 @@ import java.util.LinkedList;"... |
derby-DERBY-4604-427cb4e5 | DERBY-4604: test lang.CollationTest.testSwedishCaseInsensitiveCollation fails with IBM's weme6.2/1.4.2. & Sun's 1.4.2
Disable test case when the JVM suffers from this bug:
http://bugs.sun.com/view_bug.do?bug_id=4804273
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@930177 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4607-f18f8b08 | DERBY-4607: HeapScan test commits wrong connection
Use BaseJDBCTestCase helper methods to ensure that the same connection
is used all places in the HeapScan and in its sub-class
CoveredIdxScan. (Previously, different connections were used when
executing a statement and when committing.)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@931255 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/perf/basic/jdbc/CoveredIdxScan.java",
"hunks": [
{
"added": [
" select = prepareStatement(\"SELECT i1 FROM \" + tableName +"
],
"header": "@@ -63,7 +63,7 @@ public class CoveredIdxScan extends HeapScan {",
... |
derby-DERBY-4608-876391e4 | DERBY-4608: Unnecessary conversion of binary values to strings in SQLBinary.compare()
Use isNull() instead of getString() to check if the values are null,
since we don't need the string representation of the values. Also add
a test case to HeapScan to demonstrate the performance impact.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@931189 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/perf/basic/jdbc/BaseLoad100TestSetup.java",
"hunks": [
{
"added": [
"import java.io.IOException;"
],
"header": "@@ -20,6 +20,7 @@",
"removed": []
},
{
"added": [
" * One of the const... |
derby-DERBY-4610-b2d4ac8d | DERBY-4610: Error attempting delete with cascade and triggers
Added a regression test case for the bug. Not enabled yet.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@938959 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4610-c69c8b01 | DERBY-4610: Error attempting delete with cascade and triggers
Backed out the fix for DERBY-3049 (four commits) using this command:
svn merge -c -601395,-600678,-598739,-572753 .
Additionally, two import statements that had been removed in later
commits had to be reintroduced manually in
BasicNoPutResultSetImpl.java and TemporaryRowHolderImpl.java.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@940462 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/DataDescriptorGenerator.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.services.monitor.Monitor;",
"import org.apache.derby.iapi.error.StandardException;",
"",
"import org.apache.d... |
derby-DERBY-4613-eff39195 | DERBY-4613: Make the client driver treat boolean columns the same way that the embedded driver does.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@943465 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/ColumnMetaData.java",
"hunks": [
{
"added": [
" case Types.BOOLEAN:",
" return 5;"
],
"header": "@@ -286,6 +286,8 @@ public class ColumnMetaData implements java.sql.ResultSetMetaData... |
derby-DERBY-4614-1e90bf4d | DERBY-4614: Checkin a warmed-up version of Nirmal's patch, which corrects the JDBC metadata for timestamps.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1042675 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/client/org/apache/derby/client/am/ColumnMetaData.java",
"hunks": [
{
"added": [
" return 29;"
],
"header": "@@ -318,7 +318,7 @@ public class ColumnMetaData implements java.sql.ResultSetMetaData {",
"removed": [
" ... |
derby-DERBY-4615-866573f3 | DERBY-4615: EmbedCallableStatement ignores Calendar in getDate, getTime and getTimestamp
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@934474 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/EmbedCallableStatement.java",
"hunks": [
{
"added": [
" public Date getDate(int parameterIndex, Calendar cal) throws SQLException",
" Date v = getParms().",
" getParameterForGet(par... |
derby-DERBY-4617-52d42fe9 | DERBY-4617 Sysinfo.testSysinfoLocale failed with IBM 1.6 on Windows 7 64bit
Wrap getCononicalPath() in sysinfo.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1097247 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/impl/tools/sysinfo/Main.java",
"hunks": [
{
"added": [
"import java.security.PrivilegedActionException;",
"import java.security.PrivilegedExceptionAction;"
],
"header": "@@ -44,6 +44,8 @@ import java.io.InputStream;",
... |
derby-DERBY-4619-17a0ba93 | DERBY-4619: PropertySetter fails due to an empty jre/lib directory
Skip JDK install directories which are empty / invalid (affects only the
old detection algorithm, which is based on directory name recognition).
Patch file: derby-4619-1a-fix_for_empty_libdir.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@936954 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/build/org/apache/derbyPreBuild/PropertySetter.java",
"hunks": [
{
"added": [
" debug( \"\\nPropertySetter environment =\\n\\n\" + showEnvironment() + \"\\n\\n\" );"
],
"header": "@@ -249,10 +249,7 @@ public class PropertySetter extends Task",
... |
derby-DERBY-4621-95ad00d2 | DERBY-4621: Invalid conversion from Timestamp to String when calling setTimestamp() with Calendar
Two changes to fix the wrong time and to harmonize the format between
the methods that take a Calendar argument and those that don't:
1) Use 24-hour clock when converting the time component to a string
2) Add a decimal point and a single zero if the nanosecond component
of a Timestamp is zero
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@936215 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/types/SQLChar.java",
"hunks": [
{
"added": [
" sb.append('.');",
"",
" if (micros == 0)",
" {",
" // Add a single zero after the decima... |
derby-DERBY-4624-677364ff | DERBY-4624: Broken logic for avoiding testing across midnight in TimestampArithTest
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@946079 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4625-3d03e7db | DERBY-4626: Timestamp truncated when converted to string with explicit calendar
Added a test case. The bug was fixed as part of DERBY-4625.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@999485 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4625-c13beb16 | DERBY-4625: TIMESTAMP function doesn't accept nanoseconds
Patch contributed by C.S. Nirmal J. Fernando <nirmal070125@gmail.com>.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@999479 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4626-3d03e7db | DERBY-4626: Timestamp truncated when converted to string with explicit calendar
Added a test case. The bug was fixed as part of DERBY-4625.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@999485 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-0b11ef40 | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
Test create view with insert rows from join
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1292941 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-54cc8c1e | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
Adding test for nested joins.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1290888 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-5e98e518 | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
Adding test for subqueries.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1290919 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-601800f8 | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
Test insert into a table with data from JOINs
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1291057 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-783dae78 | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
Adding test for left and right outer joins with VALUES caluse supplying the data instead of base tables.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1245143 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-841f8df3 | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation\
Adding a test case with two join columns
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1228777 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-9e63fcc4 | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
Test join using global temporary tables
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1293467 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-b0356ec5 | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
Adding comments to some of the tests, stating that Derby is allowing incorrect behavior because of DERBY-4631. Once the jira is fixed, these tests should start failing and would need to be changed to show the correct behavior.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1231296 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-b7c6a50e | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
Rearranged the test code a little bit for reusability purposes.
Adding test for left and right outer joins with views supplying the data instead of base tables.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1245226 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-bba8dbfe | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
Test delete from a table with data from JOINs
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1292108 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-ef2328a8 | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
Testing with more than 2 joins columns
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1294275 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-fbae15db | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation\
Adding a test case with following comments
/**
* Test USING clause and NATURAL JOIN for case insensitive and
* case sensitive collations.
* As per the SQL spec, "the join columns in a natural join or in a named
* columns join should be added to the select list by coalescing the
* column from the left table with the column from the right table. "
* DERBY-4631 - Derby does not coalesce as suggested by SQL spec, instead
* it picks up join column's value from the left table when working with
* natural left outer join and it picks up the join column's value from
* the right table when working with natural right outer join. This works
* ok with non-territory based databases. It works ok for natural left
* outer join for territory based database but depending on the data
* value, it does not always work for natural right outer join in a
* territory based database as shown in the test cases below.
* @throws SQLException
*/
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1228332 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4631-fd4cb7fb | DERBY-4631 Wrong join column returned by right outer join with NATURAL or USING and territory-based collation
Adding variations of existing test but using USING clause rather than NATURAL JOIN.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1229266 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4638-6c73d749 | DERBY-4638: Expose names of top-level test suites for easier scripting
Added public method getTopLevelSuiteNames() to AllPackages to retrieve
the class names of all test suites. Also added a main() method to make
it retrievable from the command line.
Moved ReplicationSuite and EncryptionSuite from All to AllPackages so
that they're included in the returned list.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@941627 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/suites/All.java",
"hunks": [
{
"added": [],
"header": "@@ -25,8 +25,6 @@ import junit.framework.TestSuite;",
"removed": [
"import org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationSuit... |
derby-DERBY-464-25796994 | DERBY-464: Enforce TRIGGER privilege checks and add tests.
Change createTriggerNode to expect TRIGGER privilege on triggering table.
Submitted by Satheesh Bandaram (satheesh@sourcery.org)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@381562 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/CreateTriggerNode.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.sql.conn.Authorizer;"
],
"header": "@@ -38,6 +38,7 @@ import org.apache.derby.iapi.sql.dictionary.SPSDescriptor;",
"removed"... |
derby-DERBY-464-2efac287 | DERBY-464: Submit initial changes to make dblook report GRANT statements in sqlAuthorization mode.
Need to add or change existing test to use sqlAuthorization database.
Submitted by Satheesh Bandaram (satheesh@sourcery.org)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@387160 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/tools/org/apache/derby/tools/dblook.java",
"hunks": [
{
"added": [
"import org.apache.derby.impl.tools.dblook.DB_GrantRevoke;"
],
"header": "@@ -47,6 +47,7 @@ import org.apache.derby.impl.tools.dblook.DB_Schema;",
"removed": []
},
{... |
derby-DERBY-464-50ba36be | DERBY-464: Continuation of previous Grant and Revoke checkins. This changes
implement:
1) Schema authorization checks: Only DBA can create a schema with authorization
of another user and regular non-DBA users can only create a schema that matches
their authorizationID in sqlStandard mode.
2) Make database owner authorizationId owner of all system schemas. This is
done in both sqlStandard mode or in legacy mode during database create time.
Need work to test hard upgrade to change system schema owner name to authId
of user doing full database upgrade.
3) Disable switching to sqlStandard mode in soft upgrade mode for 10.2. Since
Grant/Revoke is not enabled in soft upgrade mode in 10.2 release, sqlStandard
mode should be disabled in soft upgrade mode.
4) Disable all authorization checks for DBA user. This includes all object
permission checks and allowing DBA to grant/revoke any privilege on any database
object.
Submitted by Satheesh Bandaram (satheesh@sourcery.org)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@385610 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/StatementSchemaPermission.java",
"hunks": [
{
"added": [],
"header": "@@ -21,7 +21,6 @@",
"removed": [
"import org.apache.derby.catalog.UUID;"
]
}
]
},
{
"file": "java/engine/org/apa... |
derby-DERBY-464-5ec85106 | DERBY-464: Continuation of Grant & Revoke feature checkins. This batch of changes address:
1) Introduce new property derby.database.sqlAuthorization to turn on SQL standard authorization model. Default authorization is still Derby legacy authorization model, with NO support for GRANT/REVOKE.
2) If this property is set to TRUE as system property, all new databases get created with sqlAuthorization to TRUE. If this property is set at a database level, authorization mode would be switched to SQL standard mode at next database boot time.
3) Remove all changes made to defaultConnectionMode property. This property was the previous way to enable GRANT/REVOKE.
4) Disable any changes to sqlAuthorization property once SQL standard authorization is enabled. This is done to prevent switching back to Derby legacy authorization model.
Submitted by Satheesh Bandaram (satheesh@sourcery.org)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@386867 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/reference/Property.java",
"hunks": [
{
"added": [
"\t/*",
"\t\tProperty to enable Grant & Revoke SQL authorization. Introduced in Derby 10.2",
"\t\trelease. New databases and existing databases (in Derby 10.2) still use... |
derby-DERBY-464-70a12d9b | DERBY-464: Enable routine privilege checking. Most of the code for routine
privileges is already in trunk. Just enable this checking, add tests to both
grantRevokeDDL and grantRevoke tests.
Permission scheme for system routines still need to be resolved. For now,
everyone has execute permission on all system routines in system schemas.
Submitted by Satheesh Bandaram (satheesh@sourcery.org)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@381408 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-464-b7730e46 | DERBY-464: Submit Grant & Revoke Part I. This implements the new DDL operations along with the following:
* Grant/Revoke DDL parsing and execution
* Addition of several new system tables to hold the system metadata. I will update my spec to include detailed schema for new system tables, so that they can be included in 10.2 documentation.
* Enhancing the syntax for routine creation to include external-security clause
* Very simple tests to cover only the DDL. I would be expanding on the testing in the later submissions, including a JUnit test suite.
* Grant/Revoke DDL is only supported if derby.database.defaultConnectionMode property is set to 'sqlStandard'.
Submitted by Satheesh Bandaram (satheesh@sourcery.org)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@356133 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/reference/Property.java",
"hunks": [
{
"added": [
" /**",
" * The size of the permissions cache used by the data dictionary.",
" * Database. Static.",
"\t * <p>",
"\t * Undocumented.",
... |
derby-DERBY-464-d78ad2ef | DERBY-464: More checkins to implement Grant & Revoke functionality as defined
by functional spec. This round of changes address:
1) Adding schema creation privilege checks for implicitly created schemas as
well. Previous checkin addressed explicitly created schemas.
2) Disable grant/revoke operations on system tables or system routines not in
SQLJ or SYSCS_UTIL schemas. These objects should always be available for
SELECT or EXECUTE operations as approriate.
3) Add RoutinePermDescriptors during database creation for routines that can
be executed by public. Currently 5 routines have EXECUTE privilege to PUBLIC.
It should be possible to execute these routines on a new database.
Add functional tests to test each of these.
Submitted by Satheesh Bandaram (satheesh@sourcery.org)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@386283 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryImpl.java",
"hunks": [
{
"added": [
" *",
" * @return UUID \t\tUUID of system routine that got created.",
" private final UUID createSystemProcedureOrFunction("
],
"h... |
derby-DERBY-464-eb8b3a23 | DERBY-464: This batch of Grant & Revoke changes include:
1) Prevent GRANT statements on Synonyms, VTIs and Views (for now...pending more changes).
2) Change interface to StatementPermission objects... Dan suggested changing interface to include LCC.
Submitted by Satheesh Bandaram (satheesh@sourcery.org)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@388775 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/sql/dictionary/StatementColumnPermission.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.sql.conn.LanguageConnectionContext;"
],
"header": "@@ -25,7 +25,7 @@ import org.apache.derby.catalog.UUID;",
"rem... |
derby-DERBY-4646-8badf993 | DERBY-4179 bootLock.java fails with missing exception on z/OS with pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456), and Windows Vista
Patch derby-4179-junit-5:
* Rewrite of boot lock test to JUnit, this also solves the problem
with running with jars in relative classpaths.
* Added test of effectiveness of derby.database.forceDatabaseLock for
phoneME platforms, until we implement DERBY-4646. (I could not find
any other such test).
* Fixed JUnit harness to correctly fork a Sun phoneME vm (image name
is cvm, not java),
* Added logic to capture what happens to minion (if it fails) by
capturing its stderr (if it ever gets started, that is), cf. example enclosed.
* Added socket logic to communicate to parent when minion has booted
the "dual boot" candidate to avoid having to wait for 30 seconds or
more to be sure it has done so. Test now runs in a few seconds.
* Skips test for j9 for now, since this platform fails on the fork
operation according to Kathey, cf DERBY-4647.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@942286 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java",
"hunks": [
{
"added": [
"",
" /**",
" * Decorate a test to use a new database that is created upon the first",
" * connection request to the database and shutdown &... |
derby-DERBY-4647-8badf993 | DERBY-4179 bootLock.java fails with missing exception on z/OS with pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456), and Windows Vista
Patch derby-4179-junit-5:
* Rewrite of boot lock test to JUnit, this also solves the problem
with running with jars in relative classpaths.
* Added test of effectiveness of derby.database.forceDatabaseLock for
phoneME platforms, until we implement DERBY-4646. (I could not find
any other such test).
* Fixed JUnit harness to correctly fork a Sun phoneME vm (image name
is cvm, not java),
* Added logic to capture what happens to minion (if it fails) by
capturing its stderr (if it ever gets started, that is), cf. example enclosed.
* Added socket logic to communicate to parent when minion has booted
the "dual boot" candidate to avoid having to wait for 30 seconds or
more to be sure it has done so. Test now runs in a few seconds.
* Skips test for j9 for now, since this platform fails on the fork
operation according to Kathey, cf DERBY-4647.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@942286 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/junit/TestConfiguration.java",
"hunks": [
{
"added": [
"",
" /**",
" * Decorate a test to use a new database that is created upon the first",
" * connection request to the database and shutdown &... |
derby-DERBY-4647-8f56d99d | DERBY-4249 Create a simple store recovery test in JUnit
Contributed by Siddharth Srivastava
Simple test to verify recovery.
- Connect, create a table, commit and shutdown the database.
- fork a jvm, add one row, commit, add another row, exit the jvm.
- Reconnect with the first jvm and verify that the first row is there and the second is not.
Launches a junit method for forked jvm and reports any errors back.
Currently disabled for weme due to DERBY-4647.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1158949 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4647-ce62de66 | DERBY-4647 BaseTestCase.execJavaCmd() does not work with weme 6.2
Fix execJavaCmd to pass -jcl:foun11. Enable BootLockTest and RecoveryTest with weme. Changed BootLockTest to only force the database lock with PhoneME, not weme (j9)
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1161208 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4650-de4c68fb | DERBY-4650: Predicates in HAVING clause should be pushed down to restricted VTIs
Added a test case that shows that a predicate is not pushed down.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@943088 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4651-92d8fc50 | DERBY-4651: Add a test case to verify that the VTI does not return the wrong results in simple cases which attempt to put constant expressions into the WHERE clause.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@943605 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4651-9e26886d | DERBY-4651: Raise an exception rather than return wrong results in this problem scenario.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@943633 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/FromVTI.java",
"hunks": [
{
"added": [
" // strip off trailing vacuous TRUE constant if present",
" if (",
" andOperator.getRightOperand() instanceof BooleanConstantNode ... |
derby-DERBY-4651-f6957647 | DERBY-4651: Hidden assumptions in FromVTI.makeRestriction()
Remove redundant type checks and casts when calling isBooleanTrue()
and isBooleanFalse().
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@944174 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/FromVTI.java",
"hunks": [
{
"added": [
" if ( andOperator.getRightOperand().isBooleanTrue() )"
],
"header": "@@ -1332,10 +1332,7 @@ public class FromVTI extends FromTable implements VTIEnvironment",
... |
derby-DERBY-4653-89c399d4 | DERBY-4653 Avoid unnecessary round-trip for commit in the client driver
Contributed by Lily Wei lilywei at yahoo dot com
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@957053 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4654-9c18d668 | DERBY-4654: Restriction.toSQL() doesn't escape special characters
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@944152 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/vti/Restriction.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.util.IdUtil;"
],
"header": "@@ -21,7 +21,7 @@",
"removed": [
"import java.sql.SQLException;"
]
},
{
"adde... |
derby-DERBY-4657-a5848888 | DERBY-4657: Allow functions to return BOOLEAN values.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@944386 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4658-31342ae6 | DERBY-4658: Allow explicit casts of string values to BOOLEAN
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@955666 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4658-f903d9ba | DERBY-4658: Allow explicit casts of string values to BOOLEAN
Removed unnecessary call to setNullability() and added a test that
verified that the correct nullability had been set.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@955940 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4659-4bad5591 | DERBY-4659: Allow BOOLEAN args in procedures.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@957650 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4659-9a625275 | DERBY-4659: Allow functions to take BOOLEAN args.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@956563 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4659-a6b18af1 | DERBY-4659: Add regression test for getFunctionColumns() for functions with BOOLEAN arguments.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@956970 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4661-85de1e49 | DERBY-4661: Reduce size of encoding buffer for short character values
Patch consists of two main parts:
- buffer size reduction
- added StreamHeaderGenerator.getMaxHeaderLength() (used in size calculation)
In addition a redundant call to LimitReader.setLimit is removed, the constant
READ_BUFFER_RESERVATION is introduced (and used), and a few typos are corrected.
Patch file: derby-4661-1b-reduce_encoding_bz.diff
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@948069 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/iapi/types/ReaderToUTF8Stream.java",
"hunks": [
{
"added": [
" /** Buffer space reserved for one 3 byte encoded char and the EOF marker. */",
" private final static int READ_BUFFER_RESERVATION = 6;"
],
"header": ... |
derby-DERBY-4664-a4521052 | DERBY-4664 Change Derby internal stored procedures to avoid DriverManager.getConnection("jdbc:default:connection") as it may be recognized by other Drivers
This fix is really a work around for DERBY-4668 for internal procedures.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@946794 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/LOBStoredProcedure.java",
"hunks": [
{
"added": [
"import java.sql.Connection;",
"import org.apache.derby.jdbc.InternalDriver;"
],
"header": "@@ -23,12 +23,14 @@ package org.apache.derby.impl.jdbc;",
... |
derby-DERBY-4665-f2a8dbd5 | DERBY-4665: Unidiomatic error handling in TimestampArithTest
Use helper methods that preserve the stack trace on errors instead
of printing to the console and exiting.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@946188 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4667-30efca7c | DERBY-4667 BootLockTest.testBootLock() sometimes fails with connection refused.
Move the vm logic for Derby151Test outside of the fixture so network server won't start if no tests are run. This may not correct the problem and even if it does may be a fragile fix, but it giving it a try to see if the prior test Derby151Test is interfering if no fixtures are run but network server is stopped and started.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@950818 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4667-b976fd86 | DERBY-4667 BootLockTest.testBootLock() sometimes fails with connection refused.
Change test to check service.properties in additon to db.lck file so that it won't fail with a directory already exists message.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@956659 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4667-c8bb7d7a | DERBY-4667 BootLockTest.testBootLock() sometimes fails with connection refused.
Removed socket syncrhonization. Test will just wait for spawned java program
to create the lock file.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@956075 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4668-a4521052 | DERBY-4664 Change Derby internal stored procedures to avoid DriverManager.getConnection("jdbc:default:connection") as it may be recognized by other Drivers
This fix is really a work around for DERBY-4668 for internal procedures.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@946794 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/LOBStoredProcedure.java",
"hunks": [
{
"added": [
"import java.sql.Connection;",
"import org.apache.derby.jdbc.InternalDriver;"
],
"header": "@@ -23,12 +23,14 @@ package org.apache.derby.impl.jdbc;",
... |
derby-DERBY-467-6bc98979 | DERBY-467 Make some public & protected classes and members in the org.apache.derby.impl.sql.execute package
have more secure protection by making them private or package protected.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@367619 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/execute/DMLVTIResultSet.java",
"hunks": [
{
"added": [
"\tNoPutResultSet sourceResultSet;",
"\tNoPutResultSet savedSource;",
"\tUpdatableVTIConstantAction\tconstants;",
"\tTransactionController \ttc;",
... |
derby-DERBY-467-7a92d1fc | DERBY-467 Remove direct access to privilige blocks by making classes/methods as private
as possible, either private or package protected if possible. Also make such classes and
methods final wherever possible.
git-svn-id: https://svn.apache.org/repos/asf/incubator/derby/code/trunk@220015 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/ClientThread.java",
"hunks": [
{
"added": [
"final class ClientThread extends Thread {"
],
"header": "@@ -24,7 +24,7 @@ import java.io.*;",
"removed": [
"class ClientThread extends Thread {"
]
... |
derby-DERBY-467-7df5ffe3 | DERBY-467 Make DRDA implementation classes and their constructors package
protected instead of public or protected. Code is only required to be accessed
from this package.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@379174 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/drda/org/apache/derby/impl/drda/DDMReader.java",
"hunks": [
{
"added": [
"\tDDMReader (DRDAConnThread agent, DssTrace dssTrace)"
],
"header": "@@ -152,7 +152,7 @@ class DDMReader",
"removed": [
"\tprotected DDMReader (DRDAConnThread a... |
derby-DERBY-467-824ca0bb | DERBY-467 Reduce visibilty of context implementation classes and their methods.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@383600 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/catalog/DataDictionaryContextImpl.java",
"hunks": [
{
"added": [
"class DataDictionaryContextImpl "
],
"header": "@@ -38,7 +38,7 @@ import org.apache.derby.iapi.error.ExceptionSeverity;",
"removed": [
... |
derby-DERBY-467-858d8411 | DERBY-467 Add intial framework for security checking of returned JDBC objects to
try and catch code that allows complete access to internal Derby objects, such
as the page cache.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@370570 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/testing/org/apache/derbyTesting/functionTests/util/SecurityCheck.java",
"hunks": [
{
"added": [
"/*",
"",
" Derby - Class org.apache.derbyTesting.functionTests.util.SecurityCheck",
"",
" Copyright 2006 The Apache Software Fo... |
derby-DERBY-467-93fa39e6 | DERBY-467 Reduce the visibility of some methods in classes for EmbedConnection.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@383595 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/jdbc/EmbedConnection.java",
"hunks": [
{
"added": [
" private void close(StandardException e) throws SQLException {"
],
"header": "@@ -944,7 +944,7 @@ public class EmbedConnection implements EngineConnection",
"r... |
derby-DERBY-4670-01632952 | DERBY-4670: ThreadDump class included in insane jars
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1128243 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/build/org/apache/derbyBuild/classlister.java",
"hunks": [
{
"added": [
"import org.apache.derby.iapi.services.sanity.SanityManager;"
],
"header": "@@ -22,13 +22,11 @@",
"removed": [
"import org.apache.derby.iapi.util.ByteArray;",
... |
derby-DERBY-4671-40a9fb59 | DERBY-4671: Embedded driver does not work with jbossCache
Set the type of the dynamic parameters in statements like
INSERT INTO T SELECT ? FROM T
to prevent a NullPointerException and to revert to the pre-10.6
behaviour.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@948045 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/sql/compile/ResultSetNode.java",
"hunks": [
{
"added": [
"\t * Set the type of each parameter in the result column list for this",
"\t * table constructor."
],
"header": "@@ -304,12 +304,8 @@ public abstract class... |
derby-DERBY-4674-39f0127f | DERBY-4674: Re-enable the BooleanValuesTest on jdk 1.4: simply disable the xml part of the test on that platform.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@947656 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4674-7e7c0879 | DERBY-4674: BooleanValuesTest fails if Xalan is not available
Skip the test if the required XML libraries are not present.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@947442 13f79535-47bb-0310-9956-ffa450edef68
| [] |
derby-DERBY-4676-4f7da81c | DERBY-4676: NullPointerException on SELECT on INNER JOIN
Check whether the page is latched after waiting for a lock, and assume
that the row has been deleted if it is not latched.
git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@952138 13f79535-47bb-0310-9956-ffa450edef68
| [
{
"file": "java/engine/org/apache/derby/impl/store/access/conglomerate/GenericConglomerateController.java",
"hunks": [
{
"added": [
" if (pos.current_page == null)",
" {",
" // The page is not latched after locking the row. This happens if... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.