提交 ee9a2829 authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting / documentation.

上级 07dc204a
...@@ -17,9 +17,13 @@ Change Log ...@@ -17,9 +17,13 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Issue 573: Add implementation for Methods "isWrapperFor()" and "unwrap()" in <ul><li>Issue 573: Add implementation for Methods "isWrapperFor()" and "unwrap()" in
other JDBC classes. other JDBC classes.
</li><li>Issue 572: MySQL compatibility for "order by" in update statements. </li><li>Issue 572: MySQL compatibility for "order by" in update statements.
</li><li>The change in JDBC escape processing in version 1.4.181 affects both the parser
(which is running on the server) and the JDBC API (which is running on the client).
If you (or a tool you use) use the syntax "{t 'time}", or "{ts 'timestamp'}", or "{d 'data'}",
then both the client and the server need to be upgraded to version 1.4.181 or later.
</li></ul> </li></ul>
<h2>Version 1.4.181 Beta (2014-08-06)</h2> <h2>Version 1.4.181 Beta (2014-08-06)</h2>
...@@ -30,6 +34,11 @@ Change Log ...@@ -30,6 +34,11 @@ Change Log
</li><li>The JDBC escape syntax {ts 'value'} did not interpret the value as a timestamp. </li><li>The JDBC escape syntax {ts 'value'} did not interpret the value as a timestamp.
The same for {d 'value'} (for date) and {t 'value'} (for time). The same for {d 'value'} (for date) and {t 'value'} (for time).
Thanks to Lukas Eder for reporting the issue. Thanks to Lukas Eder for reporting the issue.
The following problem was detected after version 1.4.181 was released:
The change in JDBC escape processing affects both the parser (which is running on the server)
and the JDBC API (which is running on the client).
If you (or a tool you use) use the syntax {t 'time'}, or {ts 'timestamp'}, or {d 'date'},
then both the client and the server need to be upgraded to version 1.4.181 or later.
</li><li>File system abstraction: support replacing existing files using move </li><li>File system abstraction: support replacing existing files using move
(currently not for Windows). (currently not for Windows).
</li><li>The statement "shutdown defrag" now compresses the database (with the MVStore). </li><li>The statement "shutdown defrag" now compresses the database (with the MVStore).
......
...@@ -57,7 +57,7 @@ public class TestMetaData extends TestBase { ...@@ -57,7 +57,7 @@ public class TestMetaData extends TestBase {
testSessionsUncommitted(); testSessionsUncommitted();
testQueryStatistics(); testQueryStatistics();
} }
private void testUnwrap() throws SQLException { private void testUnwrap() throws SQLException {
Connection conn = getConnection("metaData"); Connection conn = getConnection("metaData");
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
...@@ -985,7 +985,7 @@ public class TestMetaData extends TestBase { ...@@ -985,7 +985,7 @@ public class TestMetaData extends TestBase {
private void testGeneral() throws SQLException { private void testGeneral() throws SQLException {
Connection conn = getConnection("metaData"); Connection conn = getConnection("metaData");
DatabaseMetaData meta = conn.getMetaData(); DatabaseMetaData meta = conn.getMetaData();
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
stat.execute("CREATE TABLE TEST(ID INT PRIMARY KEY, NAME VARCHAR(255))"); stat.execute("CREATE TABLE TEST(ID INT PRIMARY KEY, NAME VARCHAR(255))");
......
...@@ -96,7 +96,7 @@ public class TestPreparedStatement extends TestBase { ...@@ -96,7 +96,7 @@ public class TestPreparedStatement extends TestBase {
testPreparedStatementWithLiteralsNone(); testPreparedStatementWithLiteralsNone();
deleteDb("preparedStatement"); deleteDb("preparedStatement");
} }
private void testUnwrap(Connection conn) throws SQLException { private void testUnwrap(Connection conn) throws SQLException {
assertTrue(conn.isWrapperFor(Object.class)); assertTrue(conn.isWrapperFor(Object.class));
assertTrue(conn.isWrapperFor(Connection.class)); assertTrue(conn.isWrapperFor(Connection.class));
......
...@@ -102,7 +102,7 @@ public class TestResultSet extends TestBase { ...@@ -102,7 +102,7 @@ public class TestResultSet extends TestBase {
deleteDb("resultSet"); deleteDb("resultSet");
} }
private void testUnwrap() throws SQLException { private void testUnwrap() throws SQLException {
ResultSet rs = stat.executeQuery("select 1"); ResultSet rs = stat.executeQuery("select 1");
assertTrue(rs.isWrapperFor(Object.class)); assertTrue(rs.isWrapperFor(Object.class));
......
...@@ -52,7 +52,7 @@ public class TestStatement extends TestBase { ...@@ -52,7 +52,7 @@ public class TestStatement extends TestBase {
conn.close(); conn.close();
deleteDb("statement"); deleteDb("statement");
} }
private void testUnwrap() throws SQLException { private void testUnwrap() throws SQLException {
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
assertTrue(stat.isWrapperFor(Object.class)); assertTrue(stat.isWrapperFor(Object.class));
......
...@@ -762,3 +762,4 @@ exploit noise ongoing disclaimers shrinks remedy party desirable timely construe ...@@ -762,3 +762,4 @@ exploit noise ongoing disclaimers shrinks remedy party desirable timely construe
deque synchronizers affero kevent nikolaj hohmuth grajcar jens fogh hostnames deque synchronizers affero kevent nikolaj hohmuth grajcar jens fogh hostnames
operate resized jni yjp ownable starvation reaper biased introduce epoll hangs operate resized jni yjp ownable starvation reaper biased introduce epoll hangs
compaction aggressive powerful traversing pietrzak michi karl rewriting consequences compaction aggressive powerful traversing pietrzak michi karl rewriting consequences
linearly patching perfect hole
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论