Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
fe74b101
提交
fe74b101
authored
11 年前
作者:
noelgrandin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Support 123L syntax as in Java; example: SELECT (2000000000L*2).
上级
a6316dd0
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
9 行增加
和
7 行删除
+9
-7
changelog.html
h2/src/docsrc/html/changelog.html
+2
-1
roadmap.html
h2/src/docsrc/html/roadmap.html
+0
-1
Parser.java
h2/src/main/org/h2/command/Parser.java
+5
-5
testSimple.in.txt
h2/src/test/org/h2/test/testSimple.in.txt
+2
-0
没有找到文件。
h2/src/docsrc/html/changelog.html
浏览文件 @
fe74b101
...
...
@@ -25,7 +25,8 @@ Change Log
</li><li>
Improve error message when dropping an index that belongs to a constraint,
specify constraint in error message.
</li><li>
Issue 518: java.sql.Connection.commit() freezes after LOB modification with EXCLUSIVE connection
</li><li>
Issue 517: Create or replace view statement has no effect on the others already existing JDBC connection
</li><li>
Issue 517: Create or replace view statement has no effect on the others already existing JDBC connection
</li><li>
Support 123L syntax as in Java; example: SELECT (2000000000L*2).
</li></ul>
<h2>
Version 1.3.174 (2013-10-19)
</h2>
...
...
This diff is collapsed.
Click to expand it.
h2/src/docsrc/html/roadmap.html
浏览文件 @
fe74b101
...
...
@@ -133,7 +133,6 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
Optimize getGeneratedKey: send last identity after each execute (server).
</li><li>
Test and document UPDATE TEST SET (ID, NAME) = (SELECT ID*10, NAME || '!' FROM TEST T WHERE T.ID=TEST.ID).
</li><li>
Max memory rows / max undo log size: use block count / row size not row count.
</li><li>
Support 123L syntax as in Java; example: SELECT (2000000000*2).
</li><li>
Implement point-in-time recovery.
</li><li>
Support PL/SQL (programming language / control flow statements).
</li><li>
LIKE: improved version for larger texts (currently using naive search).
...
...
This diff is collapsed.
Click to expand it.
h2/src/main/org/h2/command/Parser.java
浏览文件 @
fe74b101
...
...
@@ -3048,11 +3048,7 @@ public class Parser {
while
(
true
)
{
c
=
chars
[
i
];
if
(
c
<
'0'
||
c
>
'9'
)
{
if
(
c
==
'.'
)
{
readDecimal
(
start
,
i
);
break
;
}
if
(
c
==
'E'
)
{
if
(
c
==
'.'
||
c
==
'E'
||
c
==
'L'
)
{
readDecimal
(
start
,
i
);
break
;
}
...
...
@@ -3183,6 +3179,10 @@ public class Parser {
if
(!
containsE
&&
sub
.
indexOf
(
'.'
)
<
0
)
{
BigInteger
bi
=
new
BigInteger
(
sub
);
if
(
bi
.
compareTo
(
ValueLong
.
MAX
)
<=
0
)
{
// parse constants like "10000000L"
if
(
chars
[
i
]
==
'L'
)
{
parseIndex
++;
}
currentValue
=
ValueLong
.
get
(
bi
.
longValue
());
currentTokenType
=
VALUE
;
return
;
...
...
This diff is collapsed.
Click to expand it.
h2/src/test/org/h2/test/testSimple.in.txt
浏览文件 @
fe74b101
select 1000L / 10;
> 100;
select * from (select x as y from dual order by y);
> 1;
select a.x from dual a, dual b order by x;
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论