Skip to content

mysql test is not writing row_count() to result file #35

@ramanich1

Description

@ramanich1

Row_count() is displayed as 0
Sample code :
--disable_warnings
drop table if exists t1;
--enable_warnings
create table t1 (id int primary key, data int);
insert into t1 values (1, 1), (2, 2), (3, 3);
select * from t1;
select row_count();

Result file:
drop table if exists t1;
create table t1 (id int primary key, data int);
insert into t1 values (1, 1), (2, 2), (3, 3);
select * from t1;
id data
1 1
2 2
3 3
select row_count();
row_count()
0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions