提交 323dab55 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Use >> syntax in scripts/functions/system

上级 1f445c27
...@@ -9,8 +9,5 @@ create memory table test(id int primary key, name varchar(255)); ...@@ -9,8 +9,5 @@ create memory table test(id int primary key, name varchar(255));
insert into test values(1, 'Hello'); insert into test values(1, 'Hello');
> update count: 1 > update count: 1
select autocommit() x_true from test; select autocommit() from test;
> X_TRUE >> TRUE
> ------
> TRUE
> rows: 1
...@@ -9,8 +9,5 @@ create memory table test(id int primary key, name varchar(255)); ...@@ -9,8 +9,5 @@ create memory table test(id int primary key, name varchar(255));
insert into test values(1, 'Hello'); insert into test values(1, 'Hello');
> update count: 1 > update count: 1
select right(database(), 6) x_script from test; select right(database(), 6) from test;
> X_SCRIPT >> SCRIPT
> --------
> SCRIPT
> rows: 1
...@@ -9,8 +9,5 @@ create memory table test(id int primary key, name varchar(255)); ...@@ -9,8 +9,5 @@ create memory table test(id int primary key, name varchar(255));
insert into test values(1, 'Hello'); insert into test values(1, 'Hello');
> update count: 1 > update count: 1
select readonly() x_false from test; select readonly() from test;
> X_FALSE >> FALSE
> -------
> FALSE
> rows: 1
...@@ -15,8 +15,5 @@ select user() x_sa, current_user() x_sa2 from test; ...@@ -15,8 +15,5 @@ select user() x_sa, current_user() x_sa2 from test;
> SA SA > SA SA
> rows: 1 > rows: 1
select current_user() x_sa from test; select current_user() from test;
> X_SA >> SA
> ----
> SA
> rows: 1
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论