Unverified 提交 e7b7c03b authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov 提交者: GitHub

Merge pull request #1304 from katzyn/docs

Update changelog and fix building of documentation
...@@ -21,6 +21,140 @@ Change Log ...@@ -21,6 +21,140 @@ Change Log
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul> <ul>
<li>PR #1302: Use OpenJDK instead of OracleJDK 10 in Travis builds due to Travis problem
</li>
<li>Issue #1032: Error when executing "SELECT DISTINCT ON"
</li>
<li>Issue #1295: ConditionInSelect violates requirements of LocalResult
</li>
<li>PR #1296: Assorted minor changes
</li>
<li>PR #1293: Move HELP and SHOW tests into own files
</li>
<li>PR #1291: Fix update count for REPLACE and move some SQL tests into separate files
</li>
<li>PR #1290: Do not load the whole LOBs into memory for comparison operation
</li>
<li>Issue #408: DISTINCT does not properly work with ORDER BY on function like LOWER
</li>
<li>PR #1286: Fix MVTempResult implementations for results with invisible columns
</li>
<li>Issue #1284: Nanoseconds of timestamps from old H2 versions are not read properly
</li>
<li>PR #1283: Clean up interaction between LocalResult and ResultExternal
</li>
<li>Issue #1265: OOME is not handled properly in TraceObject.logAndConvert()
</li>
<li>Issue #1061: Regression: Braces after WITH clause not allowed anymore
</li>
<li>PR #1277: Assorted changes in Parser
</li>
<li>PR #1276: Improve support of ARRAY and SQLXML in JDBC layer
</li>
<li>PR #1275: Do not quote other lower case characters
</li>
<li>PR #1274: Use token type in Parser instead of string comparisons
</li>
<li>PR #1272: Reduce code duplication in Parser
</li>
<li>PR #1271: Minor memory leak
</li>
<li>PR #1270: drop TableView isPersistent field
</li>
<li>PR #1269: Eliminate commit of empty batch in some tests
</li>
<li>Issue #1266: Add INFORMATION_SCHEMA.COLUMNS.DATETIME_PRECISION
</li>
<li>Issue #1261: How to discover stored enum types through INFORMATION_SCHEMA
</li>
<li>Issue #1258: Failing to remove index when using schema.table
</li>
<li>PR #1256: misc tiny refactorings
</li>
<li>PR #1255: Minor changes in MERGE USING, DATE_TRUNC, and EXTRACT
</li>
<li>Issue #1214: Internal compiler believes that "3 warnings" is an error
</li>
<li>PR #1252: Assorted minor changes
</li>
<li>PR #1251: Fix SQL representation of CAST for types with fractional seconds precision
</li>
<li>PR #1250: Batch append mode for MVMap
</li>
<li>PR #1248: StringIndexOutOfBoundsException due to undoLog map
</li>
<li>PR #1246: Detect disabled tests
</li>
<li>PR #1242: Add implementation of SQLXML interface
</li>
<li>PR #1241: Various tweaks in attempting to fix TestDiskFull test
</li>
<li>PR #1240: Optimise ValueLobDB comparison methods
</li>
<li>PR #1239: Don't try to find tools.jar on Java 9+
</li>
<li>PR #1238: remove unfinished android API
</li>
<li>PR #1237: remove JaQu
</li>
<li>PR #1236: remove STORE_LOCAL_TIME code
</li>
<li>PR #1235: Do not use deprecated Class.newInstance()
</li>
<li>PR #1234: Fix NPE in Parser.parseMergeUsing()
</li>
<li>PR #1233: Simplify old lob ValueLob class
</li>
<li>Issue 1227: lob growth in pagestore mode
</li>
<li>PR #1230: clean up some javadoc and some throws clauses
</li>
<li>PR #1229: Create UndoLog only when necessary and remove outdated code
</li>
<li>PR #1228: Remove some PageStore+MVCC leftovers
</li>
<li>PR #1226: Fix inconsistencies in checks for transaction isolation level
</li>
<li>PR #1224: Enable Java 10 testing on Travis
</li>
<li>PR #1223: Fix issues with testing on latest Java versions
</li>
<li>PR #1222: Leftovers handling
</li>
<li>Issue #1220: JDK-9 build fails due to usage of java.xml.bind in external authentication
</li>
<li>PR #1218: Test utilities only once during TestAll
</li>
<li>PR #1217: Postpone session.endStatement() until after commit
</li>
<li>PR #1213: KillRestart fix
</li>
<li>PR #1211: Assorted minor changes
</li>
<li>Issue #1204: Always use MVCC with MVStore and never use it with PageStore
</li>
<li>PR #1206: Forbid reconnects in non-regular modes in TestScript
</li>
<li>PR #1205: Misc test fixes
</li>
<li>Issue 1198: Enable MULTI_THREADED by default for MVStore mode
</li>
<li>Issue #1195: Calling setBytes to set VARCHAR field fails
</li>
<li>PR #1197: Fix or suppress errors in tests
</li>
<li>PR #1194: TestKillRestartMulti: A map named undoLog-1 already exists
</li>
<li>PR #1193: enable TestRandomSQL on non-memory databases
</li>
<li>PR #1191: External authentication with datasource issue
</li>
<li>PR #1188: Undo log split to reduce contention
</li>
<li>PR #1186: TransactionMap::sizeAsLong() optimized - temp map eliminated
</li>
<li>PR #1185: Improve naming of the object id field in Prepared
</li>
<li>Issue #1196: Feature request for MS SQL Server Compatibility Mode <li>Issue #1196: Feature request for MS SQL Server Compatibility Mode
</li> </li>
<li>Issue #1177: Resource leak in Recover tool <li>Issue #1177: Resource leak in Recover tool
......
...@@ -5592,7 +5592,7 @@ public class Parser { ...@@ -5592,7 +5592,7 @@ public class Parser {
* data and table if we don't have a working CTE already. * data and table if we don't have a working CTE already.
*/ */
Table recursiveTable = TableView.createShadowTableForRecursiveTableExpression( Table recursiveTable = TableView.createShadowTableForRecursiveTableExpression(
isTemporary, session, cteViewName, schema, columns, database); isTemporary, session, cteViewName, schema, columns, database);
List<Column> columnTemplateList; List<Column> columnTemplateList;
String[] querySQLOutput = {null}; String[] querySQLOutput = {null};
try { try {
......
...@@ -270,7 +270,7 @@ public abstract class Query extends Prepared { ...@@ -270,7 +270,7 @@ public abstract class Query extends Prepared {
/** /**
* @return whether this query is a plain {@code DISTINCT} query * @return whether this query is a plain {@code DISTINCT} query
*/ */
public boolean isStardardDistinct() { public boolean isStandardDistinct() {
return distinct; return distinct;
} }
......
...@@ -2493,7 +2493,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS ...@@ -2493,7 +2493,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS
* *
* @param columnIndex (1,2,...) * @param columnIndex (1,2,...)
* @param x the value * @param x the value
* @param length the length
* @throws SQLException if the result set is closed or not updatable * @throws SQLException if the result set is closed or not updatable
*/ */
@Override @Override
...@@ -2520,7 +2519,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS ...@@ -2520,7 +2519,6 @@ public class JdbcResultSet extends TraceObject implements ResultSet, JdbcResultS
* *
* @param columnLabel the column label * @param columnLabel the column label
* @param x the value * @param x the value
* @param length the length
* @throws SQLException if the result set is closed or not updatable * @throws SQLException if the result set is closed or not updatable
*/ */
@Override @Override
......
...@@ -94,7 +94,7 @@ public class MVMap<K, V> extends AbstractMap<K, V> ...@@ -94,7 +94,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
private MVMap(MVStore store, DataType keyType, DataType valueType, int id, long createVersion, private MVMap(MVStore store, DataType keyType, DataType valueType, int id, long createVersion,
AtomicReference<RootReference> root, int keysPerPage, boolean singleWriter) { AtomicReference<RootReference> root, int keysPerPage, boolean singleWriter) {
this.store = store; this.store = store;
this.id = id; this.id = id;
this.createVersion = createVersion; this.createVersion = createVersion;
...@@ -1418,7 +1418,7 @@ public class MVMap<K, V> extends AbstractMap<K, V> ...@@ -1418,7 +1418,7 @@ public class MVMap<K, V> extends AbstractMap<K, V>
this.appendCounter = 0; this.appendCounter = 0;
} }
// This one is used for append buffer maintance // This one is used for append buffer maintenance
RootReference(RootReference r, int appendCounter, int attempt) { RootReference(RootReference r, int appendCounter, int attempt) {
this.root = r.root; this.root = r.root;
this.version = r.version; this.version = r.version;
......
...@@ -100,15 +100,15 @@ class MVSortedTempResult extends MVTempResult { ...@@ -100,15 +100,15 @@ class MVSortedTempResult extends MVTempResult {
* @param distinct * @param distinct
* whether this result should be distinct * whether this result should be distinct
* @param distinctIndexes * @param distinctIndexes
* indexes of distinct columns for DISINCT ON results * indexes of distinct columns for DISTINCT ON results
* @param visibleColumnCount * @param visibleColumnCount
* count of visible columns * count of visible columns
* @param sort * @param sort
* sort order, or {@code null} if this result does not need any * sort order, or {@code null} if this result does not need any
* sorting * sorting
*/ */
MVSortedTempResult(Database database, Expression[] expressions, boolean distinct, int[] distinctIndexes, int visibleColumnCount, MVSortedTempResult(Database database, Expression[] expressions, boolean distinct, int[] distinctIndexes,
SortOrder sort) { int visibleColumnCount, SortOrder sort) {
super(database, expressions.length, visibleColumnCount); super(database, expressions.length, visibleColumnCount);
this.distinct = distinct; this.distinct = distinct;
this.distinctIndexes = distinctIndexes; this.distinctIndexes = distinctIndexes;
......
...@@ -67,7 +67,7 @@ public abstract class MVTempResult implements ResultExternal { ...@@ -67,7 +67,7 @@ public abstract class MVTempResult implements ResultExternal {
* @param distinct * @param distinct
* is output distinct * is output distinct
* @param distinctIndexes * @param distinctIndexes
* indexes of distinct columns for DISINCT ON results * indexes of distinct columns for DISTINCT ON results
* @param visibleColumnCount * @param visibleColumnCount
* count of visible columns * count of visible columns
* @param sort * @param sort
......
...@@ -1246,7 +1246,8 @@ public class TestFunctions extends TestDb implements AggregateFunction { ...@@ -1246,7 +1246,8 @@ public class TestFunctions extends TestDb implements AggregateFunction {
Connection conn = getConnection("functions"); Connection conn = getConnection("functions");
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
stat.execute("CREATE TABLE TEST(S VARCHAR, TS TIMESTAMP, D DATE, T TIME, TZ TIMESTAMP WITH TIME ZONE)"); stat.execute("CREATE TABLE TEST(S VARCHAR, TS TIMESTAMP, D DATE, T TIME, TZ TIMESTAMP WITH TIME ZONE)");
stat.execute("INSERT INTO TEST VALUES ('2010-01-01 10:11:12', '2010-01-01 10:11:12', '2010-01-01', '10:11:12', '2010-01-01 10:11:12Z')"); stat.execute("INSERT INTO TEST VALUES ('2010-01-01 10:11:12', '2010-01-01 10:11:12',"
+ " '2010-01-01', '10:11:12', '2010-01-01 10:11:12Z')");
ResultSetMetaData md = stat.executeQuery("SELECT DATE_TRUNC('HOUR', S), DATE_TRUNC('HOUR', TS)," ResultSetMetaData md = stat.executeQuery("SELECT DATE_TRUNC('HOUR', S), DATE_TRUNC('HOUR', TS),"
+ " DATE_TRUNC('HOUR', D), DATE_TRUNC('HOUR', T), DATE_TRUNC('HOUR', TZ) FROM TEST") + " DATE_TRUNC('HOUR', D), DATE_TRUNC('HOUR', T), DATE_TRUNC('HOUR', TZ) FROM TEST")
.getMetaData(); .getMetaData();
......
...@@ -446,7 +446,8 @@ public class TestValue extends TestDb { ...@@ -446,7 +446,8 @@ public class TestValue extends TestDb {
} }
} }
private static int testLobComparisonImpl(DataHandler dh, int type, int size1, int size2, int suffix1, int suffix2) { private static int testLobComparisonImpl(DataHandler dh, int type, int size1, int size2, int suffix1,
int suffix2) {
byte[] bytes1 = new byte[size1]; byte[] bytes1 = new byte[size1];
byte[] bytes2 = new byte[size2]; byte[] bytes2 = new byte[size2];
if (size1 > 0) { if (size1 > 0) {
......
...@@ -784,3 +784,5 @@ ewkt ewkb informations authzpwd realms mappers jaxb realmname configurationfile ...@@ -784,3 +784,5 @@ ewkt ewkb informations authzpwd realms mappers jaxb realmname configurationfile
authenticators appname interrogate metatable barrier preliminary staticuser staticpassword unregistered inquiry authenticators appname interrogate metatable barrier preliminary staticuser staticpassword unregistered inquiry
ldapexample remoteuser assignments djava validators mock relate mapid tighten ldapexample remoteuser assignments djava validators mock relate mapid tighten
retried helpers unclean missed parsers sax myclass suppose mandatory testxml miao ciao retried helpers unclean missed parsers sax myclass suppose mandatory testxml miao ciao
emptied titlecase ask snk dom xif transformer dbf stx stax xof descriptors
inconsistencies discover eliminated violates tweaks postpone leftovers
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论