This file is indexed.

/usr/share/perl5/Tangram/Driver/Oracle/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
32
package Tangram::Driver::Oracle::Storage;

use strict;

use Tangram::Storage;
use vars qw(@ISA);
 @ISA = qw( Tangram::Storage );

sub open_connection
{
    my $self = shift;

    my $db = $self->SUPER::open_connection(@_);

    # Oracle doesn't really have a default date format (locale
    # dependant), so adjust it to use ISO-8601.
    $db->do
	("ALTER SESSION SET NLS_DATE_FORMAT='YYYY-MM-DD\"T\"HH24:MI:SS'");
    $db->do
	("ALTER SESSION SET CONSTRAINTS = DEFERRED");
    $db->{RaiseError} = 1;
    $db->{LongTruncOk} = 0;
    $db->{LongReadLen} = 1024*1024;
    return $db;
}


sub has_tx()         { 1 }
sub has_subselects() { 1 }
sub from_dual()      { " FROM DUAL" }

1;