Skip to content

Commit

Permalink
in preparation for release
Browse files Browse the repository at this point in the history
  • Loading branch information
andreitokar committed Aug 10, 2024
1 parent bd9ac2f commit 5badbf9
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 87 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ More information: https://h2database.com
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>2.3.230</version>
<version>2.3.232</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion h2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>2.3.239-SNAPSHOT</version>
<version>2.3.232</version>
<packaging>jar</packaging>
<name>H2 Database Engine</name>
<url>https://h2database.com</url>
Expand Down
63 changes: 6 additions & 57 deletions h2/src/docsrc/html/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ <h1>Change Log</h1>

<h2>Next Version (unreleased)</h2>
<ul>
<li>Nothing yet
</li>
</ul>

<h2>Version 2.3.232 (2024-08-11)</h2>
<ul>
<li>Issue #3945: Column not found in correlated subquery, when referencing outer column from LEFT JOIN .. ON clause
</li>
<li>Issue #4097: StackOverflowException when using multiple SELECT statements in one query (2.3.230)
Expand Down Expand Up @@ -454,63 +460,6 @@ <h2>Version 2.0.206 (2022-01-04)</h2>
</li>
</ul>

<h2>Version 2.0.204 (2021-12-21)</h2>
<ul>
<li>Issue #3291: Add Legacy and Strict modes
</li>
<li>Issue #3287: SELECT statement works on 1.4.200 but fails on 2.0.202 with "Column XYZ must be in the GROUP BY list"
</li>
<li>PR #3284: Remove unused UNDO_LOG setting
</li>
<li>Issue #3251: Table with GEOMETRY column can't have a TriggerAdapter-based trigger any more
</li>
<li>PR #3281: DateTimeFormatter-based FORMATDATETIME and PARSEDATETIME and other changes
</li>
<li>Issue #3246: Spatial predicates with comparison are broken in MySQL compatibility mode
</li>
<li>Issue #3270: org.h2.jdbc.JdbcSQLFeatureNotSupportedException: Feature not supported: "Unsafe comparison or cast"
</li>
<li>Issue #3268 / PR #3275: Add TO_DATE and TO_TIMESTAMP to PostgreSQL compatibility mode
</li>
<li>PR #3274: Remove some dead code and unused params
</li>
<li>Issue #3266: Oracle compatibility NUMBER without precision and scale should have variable scale
</li>
<li>Issue #3263: Unable to store BigDecimal with negative scale in NUMERIC(19,6) column
</li>
<li>PR #3261: Small optimization for MIN and MAX
</li>
<li>Issue #3258 / PR #3259: Prevent incorrect optimization of COUNT(*) and other changes
</li>
<li>PR #3255: Throw proper exception when type of argument isn't known
</li>
<li>Issue #3249: Multi-column assignment with subquery throws exception when subquery doesn't return any rows
</li>
<li>PR #3248: Remove redundant uniqueness check, correct version in pom
</li>
<li>PR #3247: Avoid AIOBE exception in TestCrashAPI and in Transaction
</li>
<li>Issue #3241: ResultSetMetaData::getColumnTypeName should produce the correct ARRAY type
</li>
<li>Issue #3204: H2 Tools Web Console: Unicode 32
</li>
<li>Issue #3227: Regression when referencing outer joined column from correlated subquery
</li>
<li>Issue #3237: Can no longer cast CHAR(n) to BOOLEAN with n > 1
</li>
<li>Issue #3235: Regression in IN predicate with empty in list
</li>
<li>Issue #3236: NullPointerException in DatabaseMetaData::getIndexInfo when querying the info for views
</li>
<li>Issue #3233: General error when using NULL predicate on _ROWID_ column
</li>
<li>Issue #3223: TRUNC(v, p) with negative precisions no longer works
</li>
<li>Issue #3221: NullPointerException when creating domain
</li>
<li>Issue #3186: ResultSetMetaData.getSchemaName() returns empty string for aliased columns
</li>
</ul>


<!-- [close] { --></div></td></tr></table><!-- } --><!-- analytics --></body></html>
4 changes: 4 additions & 0 deletions h2/src/docsrc/html/download-archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ <h2>Distribution</h2>

<table>
<tbody>
<tr><td>2.2.230</td>
<td><a href="https://github.com/h2database/h2database/releases/download/version-2.2.230/h2-setup-2024-07-14.exe">Windows Installer</a></td>
<td><a href="https://github.com/h2database/h2database/releases/download/version-2.2.230/h2-2024-07-14.zip">Platform-Independent Zip</a></td>
</tr>
<tr><td>2.2.224</td>
<td><a href="https://github.com/h2database/h2database/releases/download/version-2.2.224/h2-setup-2023-09-17.exe">Windows Installer</a></td>
<td><a href="https://github.com/h2database/h2database/releases/download/version-2.2.224/h2-2023-09-17.zip">Platform-Independent Zip</a></td>
Expand Down
6 changes: 3 additions & 3 deletions h2/src/main/org/h2/engine/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ public class Constants {
/**
* The build date is updated for each public release.
*/
public static final String BUILD_DATE = "2024-07-15";
public static final String BUILD_DATE = "2024-08-11";

/**
* Sequential version number. Even numbers are used for official releases,
* odd numbers are used for development builds.
*/
public static final int BUILD_ID = 239;
public static final int BUILD_ID = 232;

/**
* Whether this is a snapshot version.
*/
public static final boolean BUILD_SNAPSHOT = true;
public static final boolean BUILD_SNAPSHOT = false;

/**
* If H2 is compiled to be included in a product, this should be set to
Expand Down
4 changes: 2 additions & 2 deletions h2/src/test/org/h2/samples/newsfeed.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
CREATE TABLE VERSION(ID INT PRIMARY KEY, VERSION VARCHAR, CREATED VARCHAR);
INSERT INTO VERSION VALUES

(161, '2.3.232', '2024-08-11'),
(160, '2.3.230', '2024-07-15'),
(159, '2.2.224', '2023-09-17'),
(158, '2.2.222', '2023-08-22'),
Expand All @@ -21,8 +22,7 @@ INSERT INTO VERSION VALUES
(149, '1.4.199', '2019-03-13'),
(148, '1.4.198', '2019-02-22'),
(147, '1.4.197', '2018-03-18'),
(146, '1.4.196', '2017-06-10'),
(145, '1.4.195', '2017-04-23');
(146, '1.4.196', '2017-06-10');

CREATE TABLE CHANNEL(TITLE VARCHAR, LINK VARCHAR, DESC VARCHAR,
LANGUAGE VARCHAR, PUB TIMESTAMP, LAST TIMESTAMP, AUTHOR VARCHAR);
Expand Down
44 changes: 22 additions & 22 deletions h2/src/test/org/h2/test/scripts/queries/joins.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1060,37 +1060,37 @@ SELECT * FROM TEST A INNER JOIN TEST B LEFT OUTER JOIN TEST C ON C.ID = A.ID ON
> exception COLUMN_NOT_FOUND_1

WITH
A(A) AS (VALUES (1)),
B(B) AS (VALUES (1)),
C(C) AS (VALUES (1))
A(A) AS (VALUES (1)),
B(B) AS (VALUES (1)),
C(C) AS (VALUES (1))
SELECT
A.A,
(
SELECT B.B
FROM B
JOIN C
ON B.B = A.A
AND C.C = B.B
)
A.A,
(
SELECT B.B
FROM B
JOIN C
ON B.B = A.A
AND C.C = B.B
)
FROM A;
> A (SELECT B.B FROM B B INNER JOIN C C ON 1=1 WHERE (B.B = A.A) AND (C.C = B.B))
> - -----------------------------------------------------------------------------
> 1 1
> rows: 1

WITH
A(A) AS (VALUES (1)),
B(B) AS (VALUES (1)),
C(C) AS (VALUES (1))
A(A) AS (VALUES (1)),
B(B) AS (VALUES (1)),
C(C) AS (VALUES (1))
SELECT
A.A,
(
SELECT B.B
FROM B
LEFT JOIN C
ON B.B = A.A
AND C.C = B.B
)
A.A,
(
SELECT B.B
FROM B
LEFT JOIN C
ON B.B = A.A
AND C.C = B.B
)
FROM A;
> A (SELECT B.B FROM B B LEFT OUTER JOIN C C ON (B.B = A.A) AND (C.C = B.B))
> - ------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion h2/src/tools/org/h2/build/doc/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ spell spellcheck spellchecker spelled spelling spends spent sphere spi spiced
spin spliced split splits splitting sponsored spot spots spr spread spring
springframework springfuse sql sqlexpress sqli sqlite sqlj sqlnulls sqlserver
sqlstate sqlxml sqrt square squill squirrel src srcs srid ssd ssl stability
stabilize stable stack stackable stacked stage stages stamp standalone standard
stabilize stable stack stackable stacked stage stages stale stamp standalone standard
standardized standards standby standing stands star staring start started starter
starting starts startup starvation starves stat state stated statement statements
states static stating station statistic statistical statisticlog statistics stats
Expand Down

0 comments on commit 5badbf9

Please sign in to comment.