Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
259ba1aa
提交
259ba1aa
authored
4月 25, 2008
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
--no commit message
--no commit message
上级
7184640b
全部展开
显示空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
978 行增加
和
936 行删除
+978
-936
build.html
h2/src/docsrc/html/build.html
+1
-1
changelog.html
h2/src/docsrc/html/changelog.html
+6
-1
download.html
h2/src/docsrc/html/download.html
+3
-3
mainWeb.html
h2/src/docsrc/html/mainWeb.html
+5
-5
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+308
-296
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+352
-427
Constants.java
h2/src/main/org/h2/engine/Constants.java
+4
-4
Session.java
h2/src/main/org/h2/engine/Session.java
+139
-1
Parameter.java
h2/src/main/org/h2/expression/Parameter.java
+0
-4
newsfeed.sql
h2/src/test/org/h2/samples/newsfeed.sql
+26
-59
Build.java
h2/src/tools/org/h2/build/Build.java
+131
-133
BuildBase.java
h2/src/tools/org/h2/build/BuildBase.java
+2
-2
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-0
没有找到文件。
h2/src/docsrc/html/build.html
浏览文件 @
259ba1aa
...
@@ -86,7 +86,7 @@ Example:
...
@@ -86,7 +86,7 @@ Example:
<
dependency
>
<
dependency
>
<
groupId
>
com.h2database
<
/groupId
>
<
groupId
>
com.h2database
<
/groupId
>
<
artifactId
>
h2
<
/artifactId
>
<
artifactId
>
h2
<
/artifactId
>
<
version
>
1.0.7
0
<
/version
>
<
version
>
1.0.7
1
<
/version
>
<
/dependency
>
<
/dependency
>
</pre>
</pre>
<p>
<p>
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
259ba1aa
...
@@ -17,6 +17,11 @@ Change Log
...
@@ -17,6 +17,11 @@ Change Log
<h2>
Next Version (unreleased)
</h2>
<h2>
Next Version (unreleased)
</h2>
<ul>
<ul>
<li>
-
</li></ul>
<h2>
Version 1.0.71 (2008-04-25)
</h2>
<ul>
<li>
H2 is now dual-licensed under the Eclipse Public License (EPL) and the
<li>
H2 is now dual-licensed under the Eclipse Public License (EPL) and the
old 'H2 License' (which is basically MPL).
old 'H2 License' (which is basically MPL).
</li><li>
Sometimes an exception 'File ID mismatch' or 'try to add a record twice'
</li><li>
Sometimes an exception 'File ID mismatch' or 'try to add a record twice'
...
@@ -26,7 +31,7 @@ Change Log
...
@@ -26,7 +31,7 @@ Change Log
(it didn't work in the last release).
(it didn't work in the last release).
</li><li>
New traditional Chinese translation. Thanks a lot to Derek Chao!
</li><li>
New traditional Chinese translation. Thanks a lot to Derek Chao!
</li><li>
Indexes were not used when enabling the optimization for
</li><li>
Indexes were not used when enabling the optimization for
IN(SELECT...) (system property h2.optimizeInJoin)
IN(SELECT...) (system property h2.optimizeInJoin)
.
</li></ul>
</li></ul>
<h2>
Version 1.0.70 (2008-04-20)
</h2>
<h2>
Version 1.0.70 (2008-04-20)
</h2>
...
...
h2/src/docsrc/html/download.html
浏览文件 @
259ba1aa
...
@@ -17,10 +17,10 @@ H2 Database Engine
...
@@ -17,10 +17,10 @@ H2 Database Engine
<h1>
Downloads
</h1>
<h1>
Downloads
</h1>
<h3>
Version 1.0.7
0 (2008-04-20
, Current)
</h3>
<h3>
Version 1.0.7
1 (2008-04-25
, Current)
</h3>
<p>
<p>
<a
href=
"http://www.h2database.com/h2-setup-2008-04-2
0
.exe"
>
Windows Installer
</a><br
/>
<a
href=
"http://www.h2database.com/h2-setup-2008-04-2
5
.exe"
>
Windows Installer
</a><br
/>
<a
href=
"http://www.h2database.com/h2-2008-04-2
0
.zip"
>
Platform-Independent Zip
</a><br
/>
<a
href=
"http://www.h2database.com/h2-2008-04-2
5
.zip"
>
Platform-Independent Zip
</a><br
/>
</p>
</p>
<h3>
Version 1.0.69 (2008-03-29, Last Stable)
</h3>
<h3>
Version 1.0.69 (2008-03-29, Last Stable)
</h3>
...
...
h2/src/docsrc/html/mainWeb.html
浏览文件 @
259ba1aa
...
@@ -34,17 +34,17 @@ Welcome to H2, the Java SQL database. The main feature of H2 are:
...
@@ -34,17 +34,17 @@ Welcome to H2, the Java SQL database. The main feature of H2 are:
<table
style=
"border: 0px; margin: 5px; background-color: #eee;"
>
<table
style=
"border: 0px; margin: 5px; background-color: #eee;"
>
<tr><td
style=
"border: 0px; background-color: #eee;"
colspan=
"2"
>
<tr><td
style=
"border: 0px; background-color: #eee;"
colspan=
"2"
>
<h3>
Download
</h3>
<h3>
Download
</h3>
Version 1.0.7
0 (2008-04-20
):
Version 1.0.7
1 (2008-04-25
):
</td></tr>
</td></tr>
<tr><td
style=
"border: 0px; background-color: #eee;"
>
<tr><td
style=
"border: 0px; background-color: #eee;"
>
<a
href=
"http://www.h2database.com/h2-setup-2008-04-2
0
.exe"
><img
border=
"1"
src=
"images/download.png"
alt=
"download"
/></a>
<a
href=
"http://www.h2database.com/h2-setup-2008-04-2
5
.exe"
><img
border=
"1"
src=
"images/download.png"
alt=
"download"
/></a>
</td><td
style=
"vertical-align: middle; border: 0px; background-color: #eee;"
>
</td><td
style=
"vertical-align: middle; border: 0px; background-color: #eee;"
>
<a
href=
"http://www.h2database.com/h2-setup-2008-04-2
0
.exe"
>
Windows Installer (3.1 MB)
</a>
<a
href=
"http://www.h2database.com/h2-setup-2008-04-2
5
.exe"
>
Windows Installer (3.1 MB)
</a>
</td></tr>
</td></tr>
<tr><td
style=
"border: 0px; background-color: #eee;"
>
<tr><td
style=
"border: 0px; background-color: #eee;"
>
<a
href=
"http://www.h2database.com/h2-2008-04-2
0
.zip"
><img
border=
"1"
src=
"images/download.png"
alt=
"download"
/></a>
<a
href=
"http://www.h2database.com/h2-2008-04-2
5
.zip"
><img
border=
"1"
src=
"images/download.png"
alt=
"download"
/></a>
</td><td
style=
"vertical-align: middle; border: 0px; background-color: #eee;"
>
</td><td
style=
"vertical-align: middle; border: 0px; background-color: #eee;"
>
<a
href=
"http://www.h2database.com/h2-2008-04-2
0
.zip"
>
All platforms (zip, 4.5 MB)
</a>
<a
href=
"http://www.h2database.com/h2-2008-04-2
5
.zip"
>
All platforms (zip, 4.5 MB)
</a>
</td></tr>
</td></tr>
<tr><td
style=
"border: 0px; background-color: #eee;"
colspan=
"2"
>
<tr><td
style=
"border: 0px; background-color: #eee;"
colspan=
"2"
>
<a
href=
"download.html"
>
All Downloads
</a>
<a
href=
"download.html"
>
All Downloads
</a>
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
259ba1aa
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
259ba1aa
差异被折叠。
点击展开。
h2/src/main/org/h2/engine/Constants.java
浏览文件 @
259ba1aa
...
@@ -44,7 +44,7 @@ package org.h2.engine;
...
@@ -44,7 +44,7 @@ package org.h2.engine;
* - Documentation: check if all Javadoc files are in the index
* - Documentation: check if all Javadoc files are in the index
* - Update the changelog (add new version)
* - Update the changelog (add new version)
* - Update newsfeed and create files
* - Update newsfeed and create files
* -
ant
docs
* -
build
docs
* - PDF
* - PDF
* - footer
* - footer
* - front page
* - front page
...
@@ -52,17 +52,17 @@ package org.h2.engine;
...
@@ -52,17 +52,17 @@ package org.h2.engine;
* - check images
* - check images
* - table of contents
* - table of contents
* - Switch off auto-build
* - Switch off auto-build
* -
ant
all
* -
build
all
* - Make sure external jars are not included
* - Make sure external jars are not included
* - Copy the pdf file to h2/docs
* - Copy the pdf file to h2/docs
* - Make sure the build files are removed
* - Make sure the build files are removed
* -
ant
zip
* -
build
zip
* - Windows installer (nsis)
* - Windows installer (nsis)
* - Test Console
* - Test Console
* - Test all languages
* - Test all languages
* - Test the windows service
* - Test the windows service
* - Scan for viruses
* - Scan for viruses
* -
ant
mavenDeployCentral
* -
build
mavenDeployCentral
* - Upload to SourceForge
* - Upload to SourceForge
* - svn copy: /svn/trunk /svn/tags/version-1.0.x; Version 1.0.x (yyyy-mm-dd)
* - svn copy: /svn/trunk /svn/tags/version-1.0.x; Version 1.0.x (yyyy-mm-dd)
* - Newsletter: prepare, send (always send to BCC!!)
* - Newsletter: prepare, send (always send to BCC!!)
...
...
h2/src/main/org/h2/engine/Session.java
浏览文件 @
259ba1aa
差异被折叠。
点击展开。
h2/src/main/org/h2/expression/Parameter.java
浏览文件 @
259ba1aa
...
@@ -58,10 +58,6 @@ public class Parameter extends Expression implements ParameterInterface {
...
@@ -58,10 +58,6 @@ public class Parameter extends Expression implements ParameterInterface {
// can't map
// can't map
}
}
public
void
checkMapped
()
{
// always ok
}
public
void
checkSet
()
throws
SQLException
{
public
void
checkSet
()
throws
SQLException
{
if
(
value
==
null
)
{
if
(
value
==
null
)
{
throw
Message
.
getSQLException
(
ErrorCode
.
PARAMETER_NOT_SET_1
,
"#"
+
(
index
+
1
));
throw
Message
.
getSQLException
(
ErrorCode
.
PARAMETER_NOT_SET_1
,
"#"
+
(
index
+
1
));
...
...
h2/src/test/org/h2/samples/newsfeed.sql
浏览文件 @
259ba1aa
...
@@ -13,6 +13,32 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
...
@@ -13,6 +13,32 @@ INSERT INTO CHANNEL VALUES('H2 Database Engine' ,
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
CREATE
TABLE
ITEM
(
ID
INT
PRIMARY
KEY
,
TITLE
VARCHAR
,
ISSUED
TIMESTAMP
,
DESC
VARCHAR
);
INSERT
INTO
ITEM
VALUES
(
41
,
'New version available: 1.0.70 (2008-04-25)'
,
'2008-04-25 12:00:00'
,
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
(You may have to click
''
Refresh
''
).
<br />
<b>Changes and new functionality:</b>
<ul><li>H2 is now dual-licensed under the Eclipse Public License (EPL) and the
old
''
H2 License
''
(which is basically MPL).
</li><li>New traditional Chinese translation. Thanks a lot to Derek Chao!
</li></ul>
<b>Bugfixes:</b>
<ul><li>Sometimes an exception
''
File ID mismatch
''
or
''
try to add a record twice
''
occured after large records (8 KB or larger) are updated or deleted.
See also http://code.google.com/p/h2database/issues/detail?id=22
</li><li>H2 Console: The tools can now be translated
(it didn
''
t work in the last release).
</li><li>Indexes were not used when enabling the optimization for
IN(SELECT...) (system property h2.optimizeInJoin).
</li></ul>
For details, see the
''
Change Log
''
at
http://www.h2database.com/html/changelog.html
<br />
For future plans, see the
''
Roadmap
''
page at
http://www.h2database.com/html/roadmap.html
'
);
INSERT
INTO
ITEM
VALUES
(
40
,
INSERT
INTO
ITEM
VALUES
(
40
,
'New version available: 1.0.70 (2008-04-20)'
,
'2008-04-20 12:00:00'
,
'New version available: 1.0.70 (2008-04-20)'
,
'2008-04-20 12:00:00'
,
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
...
@@ -375,65 +401,6 @@ For future plans, see the ''Roadmap'' page at
...
@@ -375,65 +401,6 @@ For future plans, see the ''Roadmap'' page at
http://www.h2database.com/html/roadmap.html
http://www.h2database.com/html/roadmap.html
'
);
'
);
INSERT
INTO
ITEM
VALUES
(
30
,
'New version available: 1.0.60 (2007-10-20)'
,
'2007-10-20 12:00:00'
,
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
(You may have to click
''
Refresh
''
).
<br />
<b>Changes and new functionality:</b>
<ul><li>User defined aggregate functions are now supported.
</li><li>New Italian translation from PierPaolo Ucchino. Thanks a lot!
</li><li>CSV: New methods to set the escape character and field delimiter in the Csv tool and the CSVWRITE and CSVREAD methods.
</li><li>CSVREAD, RUNSCRIPT and so on now support URLs as well, using
URL.openStream(). Example: select * from csvread(
''
jar:file:///c:/temp/test.jar!/test.csv
''
);
</li></ul>
<b>Bugfixes:</b>
<ul><li>Prepared statements could not be used after data definition statements (creating tables and so on). Fixed.
</li><li>PreparedStatement.setMaxRows could not be changed to a higher value after the statement was executed.
</li><li>Linked tables: now tables in non-default schemas are supported as well
</li><li>JdbcXAConnection: starting a transaction before getting the connection didn
''
t switch off autocommit.
</li><li>Server.shutdownTcpServer was blocked when first called with force=false and then force=true.
Now documentation is improved, and it is no longer blocked.
</li><li>Stack traces did not include the SQL statement in all cases where they could have.
Also, stack traces with SQL statement are now shorter.
</li><li>The H2 Console could not connect twice to the same H2 embedded database at the same time. Fixed.
</li></ul>
For future plans, see the
''
Roadmap
''
page at
http://www.h2database.com/html/roadmap.html
'
);
INSERT
INTO
ITEM
VALUES
(
29
,
'New version available: 1.0.59 (2007-10-03)'
,
'2007-10-03 12:00:00'
,
'A new version of H2 is available for <a href="http://www.h2database.com">download</a>.
(You may have to click
''
Refresh
''
).
<br />
<b>Changes and new functionality:</b>
<ul><li>Fulltext search is now documented (see Tutorial).
</li><li>H2 Console: Progress information when logging into a H2 embedded database.
</li><li>SCRIPT: the SQL statements in the result set now include the terminating semicolon.
</li></ul>
<b>Bugfixes:</b>
<ul><li>If the process was killed while the database was running,
sometimes the database could not be opened.
</li><li>Comparing columns with constants that are out of range works again.
</li><li>When the data type was unknown in a subquery, sometimes the wrong exception was thrown.
</li><li>Multi-threaded kernel (MULTI_THREADED=1): A synchronization problem has been fixed.
</li><li>A PreparedStatement that was cancelled could not be reused.
</li><li>When the database was closed while logging was disabled (LOG 0),
re-opening the database was slow.
</li><li>The Console did not always refresh the table list when required.
</li><li>When creating a table using CREATE TABLE .. AS SELECT,
the precision for some data types was wrong in some cases.
</li><li>When using the (undocumented) in-memory file system
(jdbc:h2:memFS:x or jdbc:h2:memLZF:x), and using multiple connections,
a ConcurrentModificationException could occur.
</li><li>REGEXP compatibility: now Matcher.find is used.
</li><li>When using a subquery with group by as a table, some columns could not be used.
</li><li>Views with subqueries as tables and queries with nested subqueries as tables did not always work.
</li></ul>
For future plans, see the new
''
Roadmap
''
page on the web site.
'
);
SELECT
'newsfeed-rss.xml'
FILE
,
SELECT
'newsfeed-rss.xml'
FILE
,
XMLSTARTDOC
()
||
XMLSTARTDOC
()
||
XMLNODE
(
'rss'
,
XMLATTR
(
'version'
,
'2.0'
),
XMLNODE
(
'rss'
,
XMLATTR
(
'version'
,
'2.0'
),
...
...
h2/src/tools/org/h2/build/Build.java
浏览文件 @
259ba1aa
差异被折叠。
点击展开。
h2/src/tools/org/h2/build/BuildBase.java
浏览文件 @
259ba1aa
...
@@ -449,8 +449,8 @@ public class BuildBase {
...
@@ -449,8 +449,8 @@ public class BuildBase {
* @param destFile the target file name
* @param destFile the target file name
* @param files the file list
* @param files the file list
* @param basePath the base path
* @param basePath the base path
* @param if the files should not be compressed
* @param
storeOnly
if the files should not be compressed
* @param if the file should be sorted by the file suffix
* @param
sortBySuffix
if the file should be sorted by the file suffix
*/
*/
protected
void
zip
(
String
destFile
,
List
files
,
String
basePath
,
boolean
storeOnly
,
boolean
sortBySuffix
)
{
protected
void
zip
(
String
destFile
,
List
files
,
String
basePath
,
boolean
storeOnly
,
boolean
sortBySuffix
)
{
out
.
println
(
"Zip "
+
destFile
);
out
.
println
(
"Zip "
+
destFile
);
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
259ba1aa
...
@@ -507,3 +507,4 @@ originator brought contribution effectively assumes waives conjunction
...
@@ -507,3 +507,4 @@ originator brought contribution effectively assumes waives conjunction
informs negotiations collectively omissions trial nor qualify steward neither
informs negotiations collectively omissions trial nor qualify steward neither
worldwide everyone additions expense lawsuit checksums jazoon flashback
worldwide everyone additions expense lawsuit checksums jazoon flashback
dieguez dfile mvn dversion dgroup dpackaging dartifact durl dpom pom
dieguez dfile mvn dversion dgroup dpackaging dartifact durl dpom pom
subpackages slowed deactivate throttled noindex expired
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论