!1736 Update regress test row_compression/twophase test output file

Merge pull request !1736 from Sun/update_twophase_case
This commit is contained in:
opengauss-bot
2022-07-01 02:24:37 +00:00
committed by Gitee
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
create schema "compress_2PC";
create table "compress_2PC".file_count(id int, count int);
checkpoint;
\! @abs_bindir@/gsql -r -p @portstring@ -d regression -c "insert into \"compress_2PC\".file_count values(1, `find @abs_srcdir@ | wc -l`)"
\! @abs_bindir@/gsql -r -p @portstring@ -d regression -c "insert into \"compress_2PC\".file_count values(1, `find @abs_srcdir@/tmp_check/datanode1/base | wc -l`)"
-- create rollback
start transaction;
create table "compress_2PC".normal(a text,b integer);
@ -44,5 +44,5 @@ prepare transaction 'the first prepare transaction';
commit prepared 'the first prepare transaction';
-- checkpoint
checkpoint;
\! @abs_bindir@/gsql -r -p @portstring@ -d regression -c "insert into \"compress_2PC\".file_count values(2, `find @abs_srcdir@ | wc -l`)"
\! @abs_bindir@/gsql -r -p @portstring@ -d regression -c "insert into \"compress_2PC\".file_count values(2, `find @abs_srcdir@/tmp_check/datanode1/base | wc -l`)"
select count(distinct(count)) from "compress_2PC".file_count;

View File

@ -1,7 +1,7 @@
create schema "compress_2PC";
create table "compress_2PC".file_count(id int, count int);
checkpoint;
\! @abs_bindir@/gsql -r -p @portstring@ -d regression -c "insert into \"compress_2PC\".file_count values(1, `find @abs_srcdir@ | wc -l`)"
\! @abs_bindir@/gsql -r -p @portstring@ -d regression -c "insert into \"compress_2PC\".file_count values(1, `find @abs_srcdir@/tmp_check/datanode1/base | wc -l`)"
INSERT 0 1
-- create rollback
start transaction;
@ -45,7 +45,7 @@ prepare transaction 'the first prepare transaction';
commit prepared 'the first prepare transaction';
-- checkpoint
checkpoint;
\! @abs_bindir@/gsql -r -p @portstring@ -d regression -c "insert into \"compress_2PC\".file_count values(2, `find @abs_srcdir@ | wc -l`)"
\! @abs_bindir@/gsql -r -p @portstring@ -d regression -c "insert into \"compress_2PC\".file_count values(2, `find @abs_srcdir@/tmp_check/datanode1/base | wc -l`)"
INSERT 0 1
select count(distinct(count)) from "compress_2PC".file_count;
count