/usr/share/perl5/Tangram/Driver/SQLite/Storage.pm is in libtangram-perl 2.10-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | package Tangram::Driver::SQLite::Storage;
use Tangram::Storage;
use vars qw(@ISA);
@ISA = qw( Tangram::Storage );
sub connect
{
my $class = shift;
my ($schema, $dsn, $u, $p, $attr) = @_;
$attr ||= {};
my $self;
{
local($attr->{no_tx}) = 1; # *cough cough HACK cough*
$self = $class->SUPER::connect($schema, $dsn, $u, $p, $attr);
}
$self->{no_tx} = $attr->{no_tx} || 0;
$self->{db}->{RaiseError} = 1;
#$self->{db}->{sqlite_handle_binary_nulls} = 1;
return $self;
}
sub has_tx() { 1 }
sub has_subselects() { 0 }
#sub from_dual() { " FROM DUAL" }
1;
|