Skip to content

Commit

Permalink
update bvt
Browse files Browse the repository at this point in the history
  • Loading branch information
gouhongshen committed Dec 17, 2024
1 parent b345a6e commit ec6bddb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/distributed/cases/function/func_mo.result
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,21 @@ mo_table_rows(dbName, tblName)
insert into tmp values ("testdb_sub", "t4");
select mo_table_rows(dbName, tblName) from (select * from testdb_nor.tmp order by dbName, tblName asc);
internal error: get the subscribed tbl info empty: t4
set mo_table_stats.force_update = no;
delete from tmp where dbName = "testdb_sub" and tblName = "t4";
set mo_table_stats.use_old_impl = yes;
select mo_table_rows(dbName, tblName) from (select * from testdb_nor.tmp order by dbName, tblName asc);
mo_table_rows(dbName, tblName)
1001
1001
1001
1000
1000
1000
insert into tmp values ("testdb_sub", "t4");
select mo_table_rows(dbName, tblName) from (select * from testdb_nor.tmp order by dbName, tblName asc);
internal error: get the subscribed tbl info empty: t4
set mo_table_stats.use_old_impl = no;
drop database testdb_nor;
drop database testdb_sub;
drop account acc;
Expand Down
11 changes: 11 additions & 0 deletions test/distributed/cases/function/func_mo.sql
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,17 @@ select mo_table_rows(dbName, tblName) from (select * from testdb_nor.tmp order b
insert into tmp values ("testdb_sub", "t4");
select mo_table_rows(dbName, tblName) from (select * from testdb_nor.tmp order by dbName, tblName asc);

set mo_table_stats.force_update = no;
delete from tmp where dbName = "testdb_sub" and tblName = "t4";

set mo_table_stats.use_old_impl = yes;
select mo_table_rows(dbName, tblName) from (select * from testdb_nor.tmp order by dbName, tblName asc);

insert into tmp values ("testdb_sub", "t4");
select mo_table_rows(dbName, tblName) from (select * from testdb_nor.tmp order by dbName, tblName asc);

set mo_table_stats.use_old_impl = no;

drop database testdb_nor;
drop database testdb_sub;

Expand Down

0 comments on commit ec6bddb

Please sign in to comment.