提交 45394387 authored 作者: Thomas Mueller's avatar Thomas Mueller

Issue 414: for some functions, the parameters were evaluated twice (for example…

Issue 414: for some functions, the parameters were evaluated twice (for example "char(nextval(..))" ran "nextval(..)" twice).
上级 74a0a0cc
......@@ -18,7 +18,9 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>The ResultSetMetaData methods getSchemaName and getTableName
<ul><li>Issue 414: for some functions, the parameters were evaluated twice
(for example "char(nextval(..))" ran "nextval(..)" twice).
</li><li>The ResultSetMetaData methods getSchemaName and getTableName
could return null instead of "" (an empty string) as specified in the JDBC API.
</li><li>Added compatibility for "SET NAMES" query in MySQL compatibility mode.</li>
</ul>
......
--- special grammar and test cases ---------------------------------------------------------------------------------------------
create sequence seq start with 65 increment by 1;
> ok
select char(nextval('seq')) as x;
> X
> -
> A
select char(nextval('seq')) as x;
> X
> -
> B
drop sequence seq;
> ok
create table test(id int, name varchar);
> ok
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论