Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
46ddb542
提交
46ddb542
authored
3月 16, 2018
作者:
thomasmueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation
上级
40c61d60
显示空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
90 行增加
和
38 行删除
+90
-38
release.txt
h2/src/installer/release.txt
+52
-36
AlterTableAlterColumn.java
h2/src/main/org/h2/command/ddl/AlterTableAlterColumn.java
+3
-0
CommandWithColumns.java
h2/src/main/org/h2/command/ddl/CommandWithColumns.java
+18
-0
AbstractFunctionCursor.java
h2/src/main/org/h2/index/AbstractFunctionCursor.java
+8
-1
DateTimeFunctions.java
h2/src/main/org/h2/util/DateTimeFunctions.java
+1
-1
TestIndex.java
h2/src/test/org/h2/test/db/TestIndex.java
+5
-0
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+3
-0
没有找到文件。
h2/src/installer/release.txt
浏览文件 @
46ddb542
...
...
@@ -79,47 +79,63 @@ The following can be skipped currently; benchmarks should probably be removed:
## Build the Release
Change directory to src/installer
Run ./buildRelease.sh (non-Windows) or buildRelease.bat (Windows)
Run the following commands:
Non-Windows:
Scan for viruses
Test installer, H2 Console (test new languages)
Check docs, versions and links in main, downloads, build numbers
Check the PDF file size
cd src/installer
./buildRelease.sh
Windows:
cd src/installer
buildRelease.bat
Scan for viruses.
Test installer, H2 Console (test new languages).
Check docs, versions and links in main, downloads, build numbers.
Check the PDF file size.
Upload (http and https) to ftp://h2database.com/javadoc
Upload (http and https) to ftp://h2database.com
Upload (http and https) to ftp://h2database.com/m2-repo
Github: create a release
Newsletter: prepare (always to BCC)
Newsletter: send to h2-database-jp@googlegroups.com; h2-database@googlegroups.com; h2database-news@googlegroups.com; ...
Add to http://twitter.com
- tweet: add @geospatialnews for the new geometry type and disk spatial index
Github: create a release.
Newsletter: send (always to BCC!), the following:
h2-database-jp@googlegroups.com; h2-database@googlegroups.com; h2database-news@googlegroups.com; ...
Create tweet at http://twitter.com
Sign files and publish files on Maven Central
(check java version is 1.7)
./build.sh clean compile jar mavenDeployCentral
cd /data/h2database/m2-repo/com/h2database
# remove sha and md5 files:
find . -name "*.sha1" -delete
find . -name "*.md5" -delete
cd h2/1...
# for each file separately (-javadoc.jar, -sources.jar, .jar, .pom):
gpg -u "Thomas Mueller Graf <thomas.tom.mueller@gmail.com>" -ab h2-...
jar -cvf bundle.jar h2-*
cd ../../h2-mvstore/1...
# for each file separately (-javadoc.jar, -sources.jar, .jar, .pom):
gpg -u "Thomas Mueller Graf <thomas.tom.mueller@gmail.com>" -ab h2-mvstore...
jar -cvf bundle.jar h2-*
# http://central.sonatype.org/pages/ossrh-guide.html
# http://central.sonatype.org/pages/manual-staging-bundle-creation-and-deployment.html
# https://oss.sonatype.org/#welcome - Log In "t..."
# - Staging Upload
# - Upload Mode: Artifact Bundle, Select Bundle to Upload... - /data/.../bundle.jar
# - Upload Bundle - Staging Repositories - select comh2database - Release - Confirm
# - Staging Upload
# - Upload Mode: Artifact Bundle, Select Bundle to Upload... - /data/.../bundle.jar
# - Upload Bundle - Staging Repositories - select comh2database - Release - Confirm
Update statistics
Change version in pom.xml, commit
./build.sh clean compile jar mavenDeployCentral
cd /data/h2database/m2-repo/com/h2database
# remove sha and md5 files:
find . -name "*.sha1" -delete
find . -name "*.md5" -delete
cd h2/1...
# for each file separately (-javadoc.jar, -sources.jar, .jar, .pom):
gpg -u "Thomas Mueller Graf <thomas.tom.mueller@gmail.com>" -ab h2-...
jar -cvf bundle.jar h2-*
cd ../../h2-mvstore/1...
# for each file separately (-javadoc.jar, -sources.jar, .jar, .pom):
gpg -u "Thomas Mueller Graf <thomas.tom.mueller@gmail.com>" -ab h2-mvstore...
jar -cvf bundle.jar h2-*
# http://central.sonatype.org/pages/ossrh-guide.html
# http://central.sonatype.org/pages/manual-staging-bundle-creation-and-deployment.html
# https://oss.sonatype.org/#welcome - Log In "t..."
# - Staging Upload
# - Upload Mode: Artifact Bundle, Select Bundle to Upload... - /data/.../bundle.jar
# - Upload Bundle - Staging Repositories - select comh2database - Release - Confirm
# - Staging Upload
# - Upload Mode: Artifact Bundle, Select Bundle to Upload... - /data/.../bundle.jar
# - Upload Bundle - Staging Repositories - select comh2database - Release - Confirm
Update statistics.
Change version in pom.xml, commit.
h2/src/main/org/h2/command/ddl/AlterTableAlterColumn.java
浏览文件 @
46ddb542
...
...
@@ -84,6 +84,9 @@ public class AlterTableAlterColumn extends CommandWithColumns {
this
.
oldColumn
=
oldColumn
;
}
/**
* Add the column as the first column of the table.
*/
public
void
setAddFirst
()
{
addFirst
=
true
;
}
...
...
h2/src/main/org/h2/command/ddl/CommandWithColumns.java
浏览文件 @
46ddb542
...
...
@@ -60,6 +60,12 @@ public abstract class CommandWithColumns extends SchemaCommand {
}
}
/**
* For the given list of columns, disable "nullable" for those columns that
* are primary key columns.
*
* @param columns the list of columns
*/
protected
void
changePrimaryKeysToNotNull
(
ArrayList
<
Column
>
columns
)
{
if
(
pkColumns
!=
null
)
{
for
(
Column
c
:
columns
)
{
...
...
@@ -72,6 +78,9 @@ public abstract class CommandWithColumns extends SchemaCommand {
}
}
/**
* Create the constraints.
*/
protected
void
createConstraints
()
{
if
(
constraintCommands
!=
null
)
{
for
(
DefineCommand
command
:
constraintCommands
)
{
...
...
@@ -81,6 +90,15 @@ public abstract class CommandWithColumns extends SchemaCommand {
}
}
/**
* For the given list of columns, create sequences for auto-increment
* columns (if needed), and then get the list of all sequences of the
* columns.
*
* @param columns the columns
* @param temporary whether generated sequences should be temporary
* @return the list of sequences (may be empty)
*/
protected
ArrayList
<
Sequence
>
generateSequences
(
ArrayList
<
Column
>
columns
,
boolean
temporary
)
{
ArrayList
<
Sequence
>
sequences
=
New
.
arrayList
();
if
(
columns
!=
null
)
{
...
...
h2/src/main/org/h2/index/AbstractFunctionCursor.java
浏览文件 @
46ddb542
...
...
@@ -12,7 +12,9 @@ import org.h2.result.SearchRow;
import
org.h2.value.Value
;
/**
* Abstract function cursor.
* Abstract function cursor. This implementation filters the rows (only returns
* entries that are larger or equal to "first", and smaller than last or equal
* to "last").
*/
abstract
class
AbstractFunctionCursor
implements
Cursor
{
private
final
FunctionIndex
index
;
...
...
@@ -85,6 +87,11 @@ abstract class AbstractFunctionCursor implements Cursor {
return
false
;
}
/**
* Skip to the next row if one is available. This method does not filter.
*
* @return true if another row is available
*/
abstract
boolean
nextImpl
();
@Override
...
...
h2/src/main/org/h2/util/DateTimeFunctions.java
浏览文件 @
46ddb542
h2/src/test/org/h2/test/db/TestIndex.java
浏览文件 @
46ddb542
...
...
@@ -710,6 +710,11 @@ public class TestIndex extends TestBase {
trace
(
"---done---"
);
}
/**
* This method is called from the database.
*
* @return the result set
*/
public
static
ResultSet
testFunctionIndexFunction
()
{
// There are additional callers like JdbcConnection.prepareCommand() and
// CommandContainer.recompileIfRequired()
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
46ddb542
...
...
@@ -767,3 +767,6 @@ interpolated thead
die weekdiff osx subprocess dow proleptic microsecond microseconds divisible cmp denormalized suppressed saturated mcs
london dfs weekdays intermittent looked msec tstz africa monrovia asia tokyo weekday joi callers multipliers ucn
openoffice organize libre systemtables gmane sea borders announced millennium alex nordlund rarely
opti excessively
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论