提交 36bef2e9 authored 作者: Thomas Mueller's avatar Thomas Mueller

New meta data column INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION.

上级 0c0299f7
......@@ -18,7 +18,9 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>Shell: line comments didn't work correctly.
<ul><li>New meta data column INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION to get
the table modification counter.
</li><li>Shell: line comments didn't work correctly.
</li><li>H2 Console: Columns are now listed for up to 500 tables instead of 100.
</li><li>H2 Console: Cmd+Enter executes the current statement.
</li><li>JaQu: the maximum length of a column can now be defined using maxLength.
......@@ -27,9 +29,7 @@ Change Log
</li></ul>
<h2>Version 1.1.104 (2008-11-28)</h2>
<ul><li>New meta data column INFORMATION_SCHEMA.TABLES.LAST_MODIFICATION to get
the table modification counter.
</li><li>If a query that was used like a table contained group by and was ordered by an expression that
<ul><li>If a query that was used like a table contained group by and was ordered by an expression that
is not in the column list, an exception was thrown.
</li><li>JaQu: tables are now auto-created when running a query.
</li><li>The optimizer had problems with function tables (for example CSVREAD and FTL_SEARCH).
......
......@@ -131,6 +131,7 @@ public class MetaTable extends Table {
"STORAGE_TYPE",
"SQL",
"REMARKS",
"LAST_MODIFICATION BIGINT",
"ID INT"
});
indexColumnName = "TABLE_NAME";
......@@ -645,6 +646,8 @@ public class MetaTable extends Table {
table.getCreateSQL(),
// REMARKS
replaceNullWithEmpty(table.getComment()),
// LAST_MODIFICATION
"" + table.getMaxDataModificationId(),
// ID
"" + table.getId()
});
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论