Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
0db8d5d3
提交
0db8d5d3
authored
4月 02, 2014
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Feature flags for version 1.4
上级
dabea9d2
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
29 行增加
和
15 行删除
+29
-15
Database.java
h2/src/main/org/h2/engine/Database.java
+5
-1
DbSettings.java
h2/src/main/org/h2/engine/DbSettings.java
+1
-1
SysProperties.java
h2/src/main/org/h2/engine/SysProperties.java
+21
-12
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+2
-1
没有找到文件。
h2/src/main/org/h2/engine/Database.java
浏览文件 @
0db8d5d3
...
@@ -220,6 +220,10 @@ public class Database implements DataHandler {
...
@@ -220,6 +220,10 @@ public class Database implements DataHandler {
}
else
{
}
else
{
fileLockMethod
=
FileLock
.
getFileLockMethod
(
lockMethodName
);
fileLockMethod
=
FileLock
.
getFileLockMethod
(
lockMethodName
);
}
}
if
(
dbSettings
.
mvStore
&&
fileLockMethod
==
FileLock
.
LOCK_SERIALIZED
)
{
throw
DbException
.
getUnsupportedException
(
"MV_STORE combined with FILE_LOCK=SERIALIZED"
);
}
this
.
databaseURL
=
ci
.
getURL
();
this
.
databaseURL
=
ci
.
getURL
();
String
listener
=
ci
.
removeProperty
(
"DATABASE_EVENT_LISTENER"
,
null
);
String
listener
=
ci
.
removeProperty
(
"DATABASE_EVENT_LISTENER"
,
null
);
if
(
listener
!=
null
)
{
if
(
listener
!=
null
)
{
...
@@ -231,7 +235,7 @@ public class Database implements DataHandler {
...
@@ -231,7 +235,7 @@ public class Database implements DataHandler {
this
.
mode
=
Mode
.
getInstance
(
modeName
);
this
.
mode
=
Mode
.
getInstance
(
modeName
);
}
}
this
.
multiVersion
=
this
.
multiVersion
=
ci
.
getProperty
(
"MVCC"
,
false
);
ci
.
getProperty
(
"MVCC"
,
Constants
.
VERSION_MINOR
>=
4
);
this
.
logMode
=
this
.
logMode
=
ci
.
getProperty
(
"LOG"
,
PageStore
.
LOG_MODE_SYNC
);
ci
.
getProperty
(
"LOG"
,
PageStore
.
LOG_MODE_SYNC
);
this
.
javaObjectSerializerName
=
this
.
javaObjectSerializerName
=
...
...
h2/src/main/org/h2/engine/DbSettings.java
浏览文件 @
0db8d5d3
...
@@ -337,7 +337,7 @@ public class DbSettings extends SettingsBase {
...
@@ -337,7 +337,7 @@ public class DbSettings extends SettingsBase {
* (default: false).<br />
* (default: false).<br />
* Use the MVStore storage engine.
* Use the MVStore storage engine.
*/
*/
public
final
boolean
mvStore
=
get
(
"MV_STORE"
,
false
);
public
final
boolean
mvStore
=
get
(
"MV_STORE"
,
Constants
.
VERSION_MINOR
>=
4
);
/**
/**
* Database setting <code>COMPRESS</code>
* Database setting <code>COMPRESS</code>
...
...
h2/src/main/org/h2/engine/SysProperties.java
浏览文件 @
0db8d5d3
...
@@ -313,11 +313,13 @@ public class SysProperties {
...
@@ -313,11 +313,13 @@ public class SysProperties {
MathUtils
.
nextPowerOf2
(
Utils
.
getProperty
(
"h2.objectCacheSize"
,
1024
));
MathUtils
.
nextPowerOf2
(
Utils
.
getProperty
(
"h2.objectCacheSize"
,
1024
));
/**
/**
* System property <code>h2.oldStyleOuterJoin</code> (default: true for version 1.3, false for version 1.4).<br />
* System property <code>h2.oldStyleOuterJoin</code>
* (default: true for version 1.3, false for version 1.4).<br />
* Limited support for the old-style Oracle outer join with "(+)".
* Limited support for the old-style Oracle outer join with "(+)".
*/
*/
public
static
final
boolean
OLD_STYLE_OUTER_JOIN
=
public
static
final
boolean
OLD_STYLE_OUTER_JOIN
=
Utils
.
getProperty
(
"h2.oldStyleOuterJoin"
,
Constants
.
VERSION_MINOR
>=
4
?
false
:
true
);
Utils
.
getProperty
(
"h2.oldStyleOuterJoin"
,
Constants
.
VERSION_MINOR
>=
4
?
false
:
true
);
/**
/**
* System property <code>h2.pgClientEncoding</code> (default: UTF-8).<br />
* System property <code>h2.pgClientEncoding</code> (default: UTF-8).<br />
...
@@ -367,11 +369,14 @@ public class SysProperties {
...
@@ -367,11 +369,14 @@ public class SysProperties {
Utils
.
getProperty
(
"h2.socketConnectTimeout"
,
2000
);
Utils
.
getProperty
(
"h2.socketConnectTimeout"
,
2000
);
/**
/**
* System property <code>h2.sortBinaryUnsigned</code> (default: false with version 1.3, true with version 1.4).<br />
* System property <code>h2.sortBinaryUnsigned</code>
* Whether binary data should be sorted in unsigned mode (0xff is larger than 0x00).
* (default: false with version 1.3, true with version 1.4).<br />
* Whether binary data should be sorted in unsigned mode
* (0xff is larger than 0x00).
*/
*/
public
static
final
boolean
SORT_BINARY_UNSIGNED
=
public
static
final
boolean
SORT_BINARY_UNSIGNED
=
Utils
.
getProperty
(
"h2.sortBinaryUnsigned"
,
Constants
.
VERSION_MINOR
>=
4
?
true
:
false
);
Utils
.
getProperty
(
"h2.sortBinaryUnsigned"
,
Constants
.
VERSION_MINOR
>=
4
?
true
:
false
);
/**
/**
* System property <code>h2.sortNullsHigh</code> (default: false).<br />
* System property <code>h2.sortNullsHigh</code> (default: false).<br />
...
@@ -390,12 +395,14 @@ public class SysProperties {
...
@@ -390,12 +395,14 @@ public class SysProperties {
Utils
.
getProperty
(
"h2.splitFileSizeShift"
,
30
);
Utils
.
getProperty
(
"h2.splitFileSizeShift"
,
30
);
/**
/**
* System property <code>h2.storeLocalTime</code> (default: false for version 1.3, true for version 1.4).<br />
* System property <code>h2.storeLocalTime</code>
* (default: false for version 1.3, true for version 1.4).<br />
* Store the local time. If disabled, the daylight saving offset is not
* Store the local time. If disabled, the daylight saving offset is not
* taken into account.
* taken into account.
*/
*/
public
static
final
boolean
STORE_LOCAL_TIME
=
public
static
final
boolean
STORE_LOCAL_TIME
=
Utils
.
getProperty
(
"h2.storeLocalTime"
,
Constants
.
VERSION_MINOR
>=
4
?
true
:
false
);
Utils
.
getProperty
(
"h2.storeLocalTime"
,
Constants
.
VERSION_MINOR
>=
4
?
true
:
false
);
/**
/**
* System property <code>h2.syncMethod</code> (default: sync).<br />
* System property <code>h2.syncMethod</code> (default: sync).<br />
...
@@ -418,12 +425,14 @@ public class SysProperties {
...
@@ -418,12 +425,14 @@ public class SysProperties {
Utils
.
getProperty
(
"h2.traceIO"
,
false
);
Utils
.
getProperty
(
"h2.traceIO"
,
false
);
/**
/**
* System property <code>h2.implicitRelativePath</code> (default: true for version 1.3, false for version 1.4).<br />
* System property <code>h2.implicitRelativePath</code>
* (default: true for version 1.3, false for version 1.4).<br />
* If disabled, relative paths in database URLs need to be written as
* If disabled, relative paths in database URLs need to be written as
* jdbc:h2:./test instead of jdbc:h2:test.
* jdbc:h2:./test instead of jdbc:h2:test.
*/
*/
public
static
final
boolean
IMPLICIT_RELATIVE_PATH
=
public
static
final
boolean
IMPLICIT_RELATIVE_PATH
=
Utils
.
getProperty
(
"h2.implicitRelativePath"
,
Constants
.
VERSION_MINOR
>=
4
?
false
:
true
);
Utils
.
getProperty
(
"h2.implicitRelativePath"
,
Constants
.
VERSION_MINOR
>=
4
?
false
:
true
);
/**
/**
* System property <code>h2.urlMap</code> (default: null).<br />
* System property <code>h2.urlMap</code> (default: null).<br />
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
0db8d5d3
...
@@ -754,4 +754,5 @@ overwrote though randomize readability datagram rsync mongodb divides crypto
...
@@ -754,4 +754,5 @@ overwrote though randomize readability datagram rsync mongodb divides crypto
predicted prediction wojtek hops jurczyk cbtree predict vast assumption upside
predicted prediction wojtek hops jurczyk cbtree predict vast assumption upside
adjusted lastly sgtatham cleaning gillet prevented
adjusted lastly sgtatham cleaning gillet prevented
angus bernd macdonald eckenfels granting moreover exponential transferring
angus bernd macdonald eckenfels granting moreover exponential transferring
dedup megabyte breadth traversal
dedup megabyte breadth traversal affine tucc jentsch yyyymmdd vertica graf
mutate
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论