Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
09cd6f06
提交
09cd6f06
authored
1月 04, 2009
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
d2d648da
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
1160 行增加
和
1121 行删除
+1160
-1121
changelog.html
h2/src/docsrc/html/changelog.html
+2
-1
roadmap.html
h2/src/docsrc/html/roadmap.html
+2
-0
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+385
-367
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+385
-367
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+374
-368
PageLog.java
h2/src/main/org/h2/store/PageLog.java
+6
-1
StringUtils.java
h2/src/main/org/h2/util/StringUtils.java
+3
-3
TestAll.java
h2/src/test/org/h2/test/TestAll.java
+1
-13
GenerateDoc.java
h2/src/tools/org/h2/build/doc/GenerateDoc.java
+1
-1
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-0
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
09cd6f06
...
...
@@ -18,7 +18,8 @@ Change Log
<h1>
Change Log
</h1>
<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
constraint name instead of the index name (compatibility for PostgreSQL and Derby).
</li><li>
Using IN(..) inside a IN(SELECT..) did not always work.
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
09cd6f06
...
...
@@ -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>
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>
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>
<h2>
Not Planned
</h2>
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
09cd6f06
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
09cd6f06
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
09cd6f06
差异被折叠。
点击展开。
h2/src/main/org/h2/store/PageLog.java
浏览文件 @
09cd6f06
...
...
@@ -161,8 +161,10 @@ System.out.println("commit");
/**
* 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 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
{
try
{
...
...
@@ -183,6 +185,9 @@ System.out.println(" " + (add?"+":"-") + " tab:" + tableId + " " + row);
}
}
/**
* Close the log, truncate it, and re-open it.
*/
void
reopen
()
throws
SQLException
{
try
{
out
.
close
();
...
...
h2/src/main/org/h2/util/StringUtils.java
浏览文件 @
09cd6f06
...
...
@@ -902,9 +902,9 @@ public class StringUtils {
* @param s the string
* @return true if it only contains digits 0 - 9
*/
public
static
boolean
isNumber
(
String
identifier
)
{
for
(
int
i
=
0
;
i
<
identifier
.
length
();
i
++)
{
if
(!
Character
.
isDigit
(
identifier
.
charAt
(
i
)))
{
public
static
boolean
isNumber
(
String
s
)
{
for
(
int
i
=
0
;
i
<
s
.
length
();
i
++)
{
if
(!
Character
.
isDigit
(
s
.
charAt
(
i
)))
{
return
false
;
}
}
...
...
h2/src/test/org/h2/test/TestAll.java
浏览文件 @
09cd6f06
...
...
@@ -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;
option to cache the results
<link rel="icon" type="image/png" href="/path/image.png">
...
...
@@ -301,15 +295,9 @@ split files (1 GB max size)
add a setting (that can be changed at runtime) to call fsync
and delay on each commit
drop table test;
create table test(id int);
select id from test a natural join test b;
(works for MySQL, PostgreSQL)
remove google analytics
multithreaded kernel
remove old TODO
online backup may not work for very large files
(document problem with jdk 1.4; document to use jar -xf)
...
...
h2/src/tools/org/h2/build/doc/GenerateDoc.java
浏览文件 @
09cd6f06
...
...
@@ -135,7 +135,7 @@ public class GenerateDoc {
String
topic
=
rs
.
getString
(
"TOPIC"
);
String
syntax
=
rs
.
getString
(
"SYNTAX"
);
syntax
=
PageParser
.
escapeHtml
(
syntax
);
syntax
=
StringUtils
.
replaceAll
(
syntax
,
"<br />"
,
""
);
syntax
=
StringUtils
.
replaceAll
(
syntax
,
"<br />"
,
"
"
);
syntax
=
bnf
.
getSyntaxHtml
(
syntax
);
map
.
put
(
"syntax"
,
syntax
);
String
link
=
topic
.
toLowerCase
();
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
09cd6f06
...
...
@@ -577,3 +577,4 @@ approximated approximation dvan dsn dobysoft ebean syswow tmueller dbbench
connecturl problematic transformation lazy querydsl squill empire liq fle
xive evolving mssqlserver eric respond faulhaber fixing northern lying
federal santa america county clara courts california york venue away stages
titles
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论