提交 09cd6f06 authored 作者: Thomas Mueller's avatar Thomas Mueller

--no commit message

--no commit message
上级 d2d648da
...@@ -18,7 +18,8 @@ Change Log ...@@ -18,7 +18,8 @@ Change Log
<h1>Change Log</h1> <h1>Change Log</h1>
<h2>Next Version (unreleased)</h2> <h2>Next Version (unreleased)</h2>
<ul><li>Linked tables: a workaround for Oracle DATE columns has been implemented. <ul><li>CREATE DOMAIN: Built-in data types can now only be changed if no tables exist.
</li><li>Linked tables: a workaround for Oracle DATE columns has been implemented.
</li><li>DatabaseMetaData.getPrimaryKeys: The column PK_NAME now contains the </li><li>DatabaseMetaData.getPrimaryKeys: The column PK_NAME now contains the
constraint name instead of the index name (compatibility for PostgreSQL and Derby). constraint name instead of the index name (compatibility for PostgreSQL and Derby).
</li><li>Using IN(..) inside a IN(SELECT..) did not always work. </li><li>Using IN(..) inside a IN(SELECT..) did not always work.
......
...@@ -390,6 +390,8 @@ Of course, patches are always welcome, but are not always applied as is. Patches ...@@ -390,6 +390,8 @@ Of course, patches are always welcome, but are not always applied as is. Patches
</li><li>Fulltext search: Support alternative syntax: WHERE FTL_CONTAINS(name, 'hello'). </li><li>Fulltext search: Support alternative syntax: WHERE FTL_CONTAINS(name, 'hello').
</li><li>MySQL compatibility: support REPLACE, see http://dev.mysql.com/doc/refman/5.1/de/replace.html </li><li>MySQL compatibility: support REPLACE, see http://dev.mysql.com/doc/refman/5.1/de/replace.html
</li><li>MySQL compatibility: support INSERT INTO table SET column1 = value1, column2 = value2 </li><li>MySQL compatibility: support INSERT INTO table SET column1 = value1, column2 = value2
</li><li>Docs: Add a one line description for each functions and SQL statements at the top (in the link section).
</li><li>Javadoc search: weight for titles should be higher ('random' should list Functions as the best match).
</li></ul> </li></ul>
<h2>Not Planned</h2> <h2>Not Planned</h2>
......
...@@ -161,8 +161,10 @@ System.out.println("commit"); ...@@ -161,8 +161,10 @@ System.out.println("commit");
/** /**
* A record is added to a table, or removed from a table. * A record is added to a table, or removed from a table.
* *
* @param headPos the head position of the table * @param session the session
* @param tableId the table id
* @param row the row to add * @param row the row to add
* @param add true if the row is added, false if it is removed
*/ */
public void addOrRemoveRow(Session session, int tableId, Row row, boolean add) throws SQLException { public void addOrRemoveRow(Session session, int tableId, Row row, boolean add) throws SQLException {
try { try {
...@@ -183,6 +185,9 @@ System.out.println(" " + (add?"+":"-") + " tab:" + tableId + " " + row); ...@@ -183,6 +185,9 @@ System.out.println(" " + (add?"+":"-") + " tab:" + tableId + " " + row);
} }
} }
/**
* Close the log, truncate it, and re-open it.
*/
void reopen() throws SQLException { void reopen() throws SQLException {
try { try {
out.close(); out.close();
......
...@@ -902,9 +902,9 @@ public class StringUtils { ...@@ -902,9 +902,9 @@ public class StringUtils {
* @param s the string * @param s the string
* @return true if it only contains digits 0 - 9 * @return true if it only contains digits 0 - 9
*/ */
public static boolean isNumber(String identifier) { public static boolean isNumber(String s) {
for (int i = 0; i < identifier.length(); i++) { for (int i = 0; i < s.length(); i++) {
if (!Character.isDigit(identifier.charAt(i))) { if (!Character.isDigit(s.charAt(i))) {
return false; return false;
} }
} }
......
...@@ -279,12 +279,6 @@ java org.h2.test.TestAll timer ...@@ -279,12 +279,6 @@ java org.h2.test.TestAll timer
/* /*
drop table test;
create table test(id int primary key) as select 1;
@LOOP 10 select * from test t where t.id in
(select t2.id from test t2 where t2.id in (?, ?));
remove google analytics
JCR: for each node type, create a table; one 'dynamic' table with parameter; JCR: for each node type, create a table; one 'dynamic' table with parameter;
option to cache the results option to cache the results
<link rel="icon" type="image/png" href="/path/image.png"> <link rel="icon" type="image/png" href="/path/image.png">
...@@ -301,15 +295,9 @@ split files (1 GB max size) ...@@ -301,15 +295,9 @@ split files (1 GB max size)
add a setting (that can be changed at runtime) to call fsync add a setting (that can be changed at runtime) to call fsync
and delay on each commit and delay on each commit
drop table test; remove google analytics
create table test(id int);
select id from test a natural join test b;
(works for MySQL, PostgreSQL)
multithreaded kernel multithreaded kernel
remove old TODO remove old TODO
online backup may not work for very large files online backup may not work for very large files
(document problem with jdk 1.4; document to use jar -xf) (document problem with jdk 1.4; document to use jar -xf)
......
...@@ -135,7 +135,7 @@ public class GenerateDoc { ...@@ -135,7 +135,7 @@ public class GenerateDoc {
String topic = rs.getString("TOPIC"); String topic = rs.getString("TOPIC");
String syntax = rs.getString("SYNTAX"); String syntax = rs.getString("SYNTAX");
syntax = PageParser.escapeHtml(syntax); syntax = PageParser.escapeHtml(syntax);
syntax = StringUtils.replaceAll(syntax, "<br />", ""); syntax = StringUtils.replaceAll(syntax, "<br />", " ");
syntax = bnf.getSyntaxHtml(syntax); syntax = bnf.getSyntaxHtml(syntax);
map.put("syntax", syntax); map.put("syntax", syntax);
String link = topic.toLowerCase(); String link = topic.toLowerCase();
......
...@@ -577,3 +577,4 @@ approximated approximation dvan dsn dobysoft ebean syswow tmueller dbbench ...@@ -577,3 +577,4 @@ approximated approximation dvan dsn dobysoft ebean syswow tmueller dbbench
connecturl problematic transformation lazy querydsl squill empire liq fle connecturl problematic transformation lazy querydsl squill empire liq fle
xive evolving mssqlserver eric respond faulhaber fixing northern lying xive evolving mssqlserver eric respond faulhaber fixing northern lying
federal santa america county clara courts california york venue away stages federal santa america county clara courts california york venue away stages
titles
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论