Some fixes and framework docs
This commit is contained in:
parent
b2d676b1ed
commit
18e642290d
7 changed files with 313 additions and 17 deletions
|
|
@ -428,7 +428,7 @@ subtest 'Tracing', sub {
|
|||
is_deeply $st->param_types, [];
|
||||
is_deeply $st->param_values, [];
|
||||
is_deeply $st->columns, [];
|
||||
ok !defined $st->nrows;
|
||||
is $st->nrows, 0;
|
||||
is $st->query, 'SET client_encoding=UTF8';
|
||||
ok $st->exec_time > 0 && $st->exec_time < 1;
|
||||
ok !defined $st->prepare_time;
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@ sub f($type, $p_in) {
|
|||
ok !eval { $conn->q("SELECT \$1::$type", $p_in)->val; 1 }, "$test fail";
|
||||
}
|
||||
|
||||
ok !defined $conn->q('SELECT pg_sleep(0)')->val; # void
|
||||
|
||||
v bool => true, undef, 1, 't';
|
||||
v bool => false, undef, 0, 'f';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue