File: 01logon.t

package info (click to toggle)
libdbd-sqlite2-perl 2%3A0.38-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,692 kB
  • sloc: ansic: 27,895; perl: 1,730; makefile: 12
file content (10 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
use Test;
BEGIN { plan tests => 3 }
use DBI;
my $dbh = DBI->connect("dbi:SQLite2:dbname=foo", "", "");
ok($dbh);
ok($dbh->{sqlite_version});
ok($dbh->{sqlite_encoding});
print "sqlite_version=$dbh->{sqlite_version}, sqlite_encoding=$dbh->{sqlite_encoding}\n";
$dbh->disconnect;