Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
d4708573
提交
d4708573
authored
5月 06, 2011
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
d6938e50
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
16 行增加
和
3 行删除
+16
-3
help.csv
h2/src/docsrc/help/help.csv
+1
-1
ErrorCode.java
h2/src/main/org/h2/constant/ErrorCode.java
+1
-0
TestClassLoaderLeak.java
h2/src/test/org/h2/test/unit/TestClassLoaderLeak.java
+6
-0
H2Database.java
h2/src/tools/org/h2/android/H2Database.java
+5
-0
Build.java
h2/src/tools/org/h2/build/Build.java
+1
-1
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+2
-1
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
d4708573
...
@@ -563,7 +563,7 @@ CREATE [ CACHED | MEMORY ] [ TEMP | [ GLOBAL | LOCAL ] TEMPORARY ]
...
@@ -563,7 +563,7 @@ CREATE [ CACHED | MEMORY ] [ TEMP | [ GLOBAL | LOCAL ] TEMPORARY ]
TABLE [ IF NOT EXISTS ] name
TABLE [ IF NOT EXISTS ] name
{ { ( { columnDefinition | constraint } [,...] ) [ AS select ] }
{ { ( { columnDefinition | constraint } [,...] ) [ AS select ] }
| { AS select } }
| { AS select } }
[ ENGINE tableEngineName ] [
TRANSACTIONAL ] [ NOT PERSISTENT
]
[ ENGINE tableEngineName ] [
NOT PERSISTENT ] [ TRANSACTIONAL
]
","
","
Creates a new table.
Creates a new table.
...
...
h2/src/main/org/h2/constant/ErrorCode.java
浏览文件 @
d4708573
...
@@ -1898,6 +1898,7 @@ public class ErrorCode {
...
@@ -1898,6 +1898,7 @@ public class ErrorCode {
// 21S: 210, 42S: 421, HY: 50, C: 1, T: 2
// 21S: 210, 42S: 421, HY: 50, C: 1, T: 2
switch
(
errorCode
)
{
switch
(
errorCode
)
{
// 02: no data
// 02: no data
case
NO_DATA_AVAILABLE:
return
"02000"
;
case
NO_DATA_AVAILABLE:
return
"02000"
;
...
...
h2/src/test/org/h2/test/unit/TestClassLoaderLeak.java
浏览文件 @
d4708573
...
@@ -29,6 +29,9 @@ import org.h2.util.New;
...
@@ -29,6 +29,9 @@ import org.h2.util.New;
*/
*/
public
class
TestClassLoaderLeak
extends
TestBase
{
public
class
TestClassLoaderLeak
extends
TestBase
{
/**
* The name of this class (used by reflection).
*/
static
final
String
CLASS_NAME
=
TestClassLoaderLeak
.
class
.
getName
();
static
final
String
CLASS_NAME
=
TestClassLoaderLeak
.
class
.
getName
();
/**
/**
...
@@ -71,6 +74,9 @@ public class TestClassLoaderLeak extends TestBase {
...
@@ -71,6 +74,9 @@ public class TestClassLoaderLeak extends TestBase {
return
new
WeakReference
<
ClassLoader
>(
cl
);
return
new
WeakReference
<
ClassLoader
>(
cl
);
}
}
/**
* This method is called using reflection.
*/
static
void
runTest
()
throws
Exception
{
static
void
runTest
()
throws
Exception
{
Class
.
forName
(
"org.h2.Driver"
);
Class
.
forName
(
"org.h2.Driver"
);
Class
.
forName
(
"org.h2.upgrade.v1_1.Driver"
);
Class
.
forName
(
"org.h2.upgrade.v1_1.Driver"
);
...
...
h2/src/tools/org/h2/android/H2Database.java
浏览文件 @
d4708573
...
@@ -680,6 +680,11 @@ public class H2Database {
...
@@ -680,6 +680,11 @@ public class H2Database {
// TODO
// TODO
}
}
/**
* Create a new RuntimeException that says this feature is not supported.
*
* @return the runtime exception
*/
public
static
RuntimeException
unsupported
()
{
public
static
RuntimeException
unsupported
()
{
// TODO
// TODO
return
new
RuntimeException
(
"Feature not supported"
);
return
new
RuntimeException
(
"Feature not supported"
);
...
...
h2/src/tools/org/h2/build/Build.java
浏览文件 @
d4708573
...
@@ -353,7 +353,7 @@ public class Build extends BuildBase {
...
@@ -353,7 +353,7 @@ public class Build extends BuildBase {
/**
/**
* Create the file h2android.jar. This only contains the embedded database,
* Create the file h2android.jar. This only contains the embedded database,
* plus the H2 Andoid API. Debug information is disabled.
* plus the H2 And
r
oid API. Debug information is disabled.
*/
*/
public
void
jarAndroid
()
{
public
void
jarAndroid
()
{
compile
(
false
,
false
,
true
);
compile
(
false
,
false
,
true
);
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
d4708573
...
@@ -680,4 +680,5 @@ registration sanity improperly annotate inheritance composite inspected
...
@@ -680,4 +680,5 @@ registration sanity improperly annotate inheritance composite inspected
hurt imposes marshal policy upgrader configurations dark varray xlint executor
hurt imposes marshal policy upgrader configurations dark varray xlint executor
completion inactivity exports maintains backside schwietzke rene rectangular grandin noel
completion inactivity exports maintains backside schwietzke rene rectangular grandin noel
sine cosine tangent cotangent trigonometric hyperbolic lte abe alphabetical killer
sine cosine tangent cotangent trigonometric hyperbolic lte abe alphabetical killer
diagnostics checkout somewhat
diagnostics checkout somewhat icu delegation classifications karlsson applet
litailang springsource eccn springframework spr growth
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论