Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
d7adee0b
提交
d7adee0b
authored
10月 16, 2017
作者:
Noel Grandin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
spellcheck
上级
0c4ecec6
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
74 行增加
和
70 行删除
+74
-70
Parser.java
h2/src/main/org/h2/command/Parser.java
+36
-36
FullText.java
h2/src/main/org/h2/fulltext/FullText.java
+3
-4
FullTextSettings.java
h2/src/main/org/h2/fulltext/FullTextSettings.java
+1
-2
TestMergeUsing.java
h2/src/test/org/h2/test/db/TestMergeUsing.java
+23
-23
TestScript.java
h2/src/test/org/h2/test/scripts/TestScript.java
+1
-1
database.sql
...rc/test/org/h2/test/scripts/functions/system/database.sql
+0
-0
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+10
-4
没有找到文件。
h2/src/main/org/h2/command/Parser.java
浏览文件 @
d7adee0b
...
@@ -702,7 +702,7 @@ public class Parser {
...
@@ -702,7 +702,7 @@ public class Parser {
return
getSchema
(
schemaName
);
return
getSchema
(
schemaName
);
}
}
/*
/*
* Gets the current schema for scenarios that need a gu
ranteed, non-null schema object.
* Gets the current schema for scenarios that need a gu
aranteed, non-null schema object.
*
*
* This routine is solely here
* This routine is solely here
* because of the function readIdentifierWithSchema(String defaultSchemaName) - which
* because of the function readIdentifierWithSchema(String defaultSchemaName) - which
...
...
h2/src/main/org/h2/fulltext/FullText.java
浏览文件 @
d7adee0b
...
@@ -23,7 +23,6 @@ import java.util.HashSet;
...
@@ -23,7 +23,6 @@ import java.util.HashSet;
import
java.util.Set
;
import
java.util.Set
;
import
java.util.StringTokenizer
;
import
java.util.StringTokenizer
;
import
java.util.UUID
;
import
java.util.UUID
;
import
org.h2.api.Trigger
;
import
org.h2.api.Trigger
;
import
org.h2.command.Parser
;
import
org.h2.command.Parser
;
import
org.h2.engine.Session
;
import
org.h2.engine.Session
;
...
@@ -266,7 +265,7 @@ public class FullText {
...
@@ -266,7 +265,7 @@ public class FullText {
removeAllTriggers
(
conn
,
TRIGGER_PREFIX
);
removeAllTriggers
(
conn
,
TRIGGER_PREFIX
);
FullTextSettings
setting
=
FullTextSettings
.
getInstance
(
conn
);
FullTextSettings
setting
=
FullTextSettings
.
getInstance
(
conn
);
setting
.
removeAllIndexes
();
setting
.
removeAllIndexes
();
setting
.
clearInored
();
setting
.
clearI
g
nored
();
setting
.
clearWordList
();
setting
.
clearWordList
();
}
}
...
@@ -1151,8 +1150,8 @@ public class FullText {
...
@@ -1151,8 +1150,8 @@ public class FullText {
return
buff
.
toString
();
return
buff
.
toString
();
}
}
private
PreparedStatement
getStatement
(
Connection
conn
,
int
indx
)
throws
SQLException
{
private
PreparedStatement
getStatement
(
Connection
conn
,
int
ind
e
x
)
throws
SQLException
{
return
useOwnConnection
?
conn
.
prepareStatement
(
SQL
[
ind
x
])
:
prepStatements
[
ind
x
];
return
useOwnConnection
?
conn
.
prepareStatement
(
SQL
[
ind
ex
])
:
prepStatements
[
inde
x
];
}
}
}
}
...
...
h2/src/main/org/h2/fulltext/FullTextSettings.java
浏览文件 @
d7adee0b
...
@@ -13,7 +13,6 @@ import java.sql.Statement;
...
@@ -13,7 +13,6 @@ import java.sql.Statement;
import
java.util.Collections
;
import
java.util.Collections
;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.Set
;
import
org.h2.util.New
;
import
org.h2.util.New
;
import
org.h2.util.SoftHashMap
;
import
org.h2.util.SoftHashMap
;
...
@@ -69,7 +68,7 @@ final class FullTextSettings {
...
@@ -69,7 +68,7 @@ final class FullTextSettings {
/**
/**
* Clear set of ignored words
* Clear set of ignored words
*/
*/
public
void
clearInored
()
{
public
void
clearI
g
nored
()
{
synchronized
(
ignoreList
)
{
synchronized
(
ignoreList
)
{
ignoreList
.
clear
();
ignoreList
.
clear
();
}
}
...
...
h2/src/test/org/h2/test/db/TestMergeUsing.java
浏览文件 @
d7adee0b
...
@@ -247,7 +247,7 @@ public class TestMergeUsing extends TestBase implements Trigger {
...
@@ -247,7 +247,7 @@ public class TestMergeUsing extends TestBase implements Trigger {
prep
=
conn
.
prepareStatement
(
statementUnderTest
);
prep
=
conn
.
prepareStatement
(
statementUnderTest
);
rowCountUpdate
=
prep
.
executeUpdate
();
rowCountUpdate
=
prep
.
executeUpdate
();
// compare actual results from SQL result
s
set with expected results - by diffing (aka set MINUS operation)
// compare actual results from SQL result
set with expected results - by diffing (aka set MINUS operation)
rs
=
stat
.
executeQuery
(
"( "
+
gatherResultsSQL
+
" ) MINUS ( "
+
expectedResultsSQL
+
" )"
);
rs
=
stat
.
executeQuery
(
"( "
+
gatherResultsSQL
+
" ) MINUS ( "
+
expectedResultsSQL
+
" )"
);
int
rowCount
=
0
;
int
rowCount
=
0
;
...
@@ -255,8 +255,8 @@ public class TestMergeUsing extends TestBase implements Trigger {
...
@@ -255,8 +255,8 @@ public class TestMergeUsing extends TestBase implements Trigger {
while
(
rs
.
next
())
{
while
(
rs
.
next
())
{
rowCount
++;
rowCount
++;
diffBuffer
.
append
(
"|"
);
diffBuffer
.
append
(
"|"
);
for
(
int
ndx
=
1
;
ndx
<=
rs
.
getMetaData
().
getColumnCount
();
ndx
++){
for
(
int
i
=
1
;
i
<=
rs
.
getMetaData
().
getColumnCount
();
i
++){
diffBuffer
.
append
(
rs
.
getObject
(
ndx
));
diffBuffer
.
append
(
rs
.
getObject
(
i
));
diffBuffer
.
append
(
"|\n"
);
diffBuffer
.
append
(
"|\n"
);
}
}
}
}
...
...
h2/src/test/org/h2/test/scripts/TestScript.java
浏览文件 @
d7adee0b
...
@@ -115,7 +115,7 @@ public class TestScript extends TestBase {
...
@@ -115,7 +115,7 @@ public class TestScript extends TestBase {
for
(
String
s
:
new
String
[]
{
"array-contains"
,
"array-get"
,
for
(
String
s
:
new
String
[]
{
"array-contains"
,
"array-get"
,
"array-length"
,
"autocommit"
,
"cancel-session"
,
"casewhen"
,
"array-length"
,
"autocommit"
,
"cancel-session"
,
"casewhen"
,
"cast"
,
"coalesce"
,
"convert"
,
"csvread"
,
"csvwrite"
,
"currval"
,
"cast"
,
"coalesce"
,
"convert"
,
"csvread"
,
"csvwrite"
,
"currval"
,
"database-path"
,
"dat
e
base"
,
"decode"
,
"disk-space-used"
,
"database-path"
,
"dat
a
base"
,
"decode"
,
"disk-space-used"
,
"file-read"
,
"file-write"
,
"greatest"
,
"h2version"
,
"identity"
,
"file-read"
,
"file-write"
,
"greatest"
,
"h2version"
,
"identity"
,
"ifnull"
,
"least"
,
"link-schema"
,
"lock-mode"
,
"lock-timeout"
,
"ifnull"
,
"least"
,
"link-schema"
,
"lock-mode"
,
"lock-timeout"
,
"memory-free"
,
"memory-used"
,
"nextval"
,
"nullif"
,
"nvl2"
,
"memory-free"
,
"memory-used"
,
"nextval"
,
"nullif"
,
"nvl2"
,
...
...
h2/src/test/org/h2/test/scripts/functions/system/dat
e
base.sql
→
h2/src/test/org/h2/test/scripts/functions/system/dat
a
base.sql
浏览文件 @
d7adee0b
File moved
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
d7adee0b
...
@@ -104,7 +104,7 @@ collaborative collapse collate collateral collation collations collator collator
...
@@ -104,7 +104,7 @@ collaborative collapse collate collateral collation collations collator collator
collect collected collecting collection collections collectively collector
collect collected collecting collection collections collectively collector
collide collision collisions colon color cols colspan column columnlist columns
collide collision collisions colon color cols colspan column columnlist columns
com combination combinations combinatorics combine combined combines combining
com combination combinations combinatorics combine combined combines combining
combo combobox come comes comma command commands commas comment commented
combo combobox come comes com
ing com
ma command commands commas comment commented
comments commercial commit commits committed committing common commonly commons
comments commercial commit commits committed committing common commonly commons
communicates communication community comp compact compacted compacting compaction
communicates communication community comp compact compacted compacting compaction
compacts companies company comparable comparative comparator compare compared
compacts companies company comparable comparative comparator compare compared
...
@@ -561,7 +561,7 @@ safes safety said sainsbury salary sale sales saload salt salz sam same
...
@@ -561,7 +561,7 @@ safes safety said sainsbury salary sale sales saload salt salz sam same
sameorigin samp sample samples sanitize sanity sans sastore sat satisfy saturday sauce
sameorigin samp sample samples sanitize sanity sans sastore sat satisfy saturday sauce
sauerkraut sava save saved savepoint savepoints saves saving savings say saying
sauerkraut sava save saved savepoint savepoints saves saving savings say saying
says sbquo scala scalability scalable scalar scale scaled scales scan scanned
says sbquo scala scalability scalable scalar scale scaled scales scan scanned
scanner scanners scanning scans scapegoat scc schedule scheduler schem schema
scanner scanners scanning scans scapegoat scc sc
enarios sc
hedule scheduler schem schema
schemas schemata scheme schmorp school schwietzke sciences scientific scjp scm
schemas schemata scheme schmorp school schwietzke sciences scientific scjp scm
scones scoop scope scoped score scott scramble scrambling scratch screen
scones scoop scope scoped score scott scramble scrambling scratch screen
screenshot script scriptable scriptella scripting scripts scroll scrollable
screenshot script scriptable scriptella scripting scripts scroll scrollable
...
@@ -677,7 +677,7 @@ undetected undo undocumented undone unencrypted unenforceable unescape unexpecte
...
@@ -677,7 +677,7 @@ undetected undo undocumented undone unencrypted unenforceable unescape unexpecte
unfortunately unhandled uni unicode unified uniform uniformly unimplemented
unfortunately unhandled uni unicode unified uniform uniformly unimplemented
unindexed uninitialized uninstall uninteresting uninterpreted uninterruptible
unindexed uninitialized uninstall uninteresting uninterpreted uninterruptible
union unique uniquely uniqueness uniques unit united units universal universally
union unique uniquely uniqueness uniques unit united units universal universally
unix unixtime unknown unless unlike unlimited unlink unlinked unload unloaded
unix unixtime unknown unless unlike unli
kely unli
mited unlink unlinked unload unloaded
unloading unloads unlock unlocked unlocking unlocks unmaintained unmappable
unloading unloads unlock unlocked unlocking unlocks unmaintained unmappable
unmapped unmodified unmounted unnamed unnecessarily unnecessary unneeded uno
unmapped unmodified unmounted unnamed unnecessarily unnecessary unneeded uno
unofficial unordered unpredictable unquoted unrecognized unrecoverable
unofficial unordered unpredictable unquoted unrecognized unrecoverable
...
@@ -741,3 +741,9 @@ stumc numbered
...
@@ -741,3 +741,9 @@ stumc numbered
reopening cloudera hive clustername whomooz unittest anymore snowflakecomputing unpadded endpoint redshift backingtable
reopening cloudera hive clustername whomooz unittest anymore snowflakecomputing unpadded endpoint redshift backingtable
trimming hadoop azure resolves snowflake testsynonym plays charsettable synonyms nonexisting impala codepage recognize
trimming hadoop azure resolves snowflake testsynonym plays charsettable synonyms nonexisting impala codepage recognize
dbm forwarded amazon stmnt excessive testvalue
dbm forwarded amazon stmnt excessive testvalue
rowids searchers tcnt enforcing timeanddate nullifies determines believe giving
vectorwise preparation corrupting cubrid diffing unrestricted cleanups warns
rowspan specifically unoptimized stand emphasize cascaded exasol minimize rnum figure
emptying goal gathers multithread amend raised iter gathered gather especially requiring
collaboration thank essentially bunch vmlens subroutines nulled
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论