~ubuntu-branches/ubuntu/wily/torrus/wily-proposed

« back to all changes in this revision

Viewing changes to perllib/Torrus/Collector/ExtDBI.pm

  • Committer: Package Import Robot
  • Author(s): Bernhard Schmidt
  • Date: 2014-10-05 21:16:04 UTC
  • mfrom: (1.2.5)
  • mto: (6.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: package-import@ubuntu.com-20141005211604-qqkvq1k0uqiv3bvk
Tags: upstream-2.08
ImportĀ upstreamĀ versionĀ 2.08

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#  along with this program; if not, write to the Free Software
15
15
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
16
16
 
17
 
# $Id$
18
17
# Stanislav Sinyagin <ssinyagin@yahoo.com>
19
18
 
20
19
## Pluggable backend module for ExternalStorage
26
25
package Torrus::Collector::ExtDBI;
27
26
 
28
27
use strict;
 
28
use warnings;
 
29
 
29
30
use DBI;
30
31
use Date::Format;
31
32
 
55
56
{
56
57
    my $collector = shift;
57
58
    my $token = shift;
 
59
    return;
58
60
}
59
61
 
60
62
sub backendOpenSession
69
71
            Error('Error preparing the SQL statement: ' . $dbh->errstr);
70
72
        }
71
73
    }
 
74
    return;
72
75
}
73
76
 
74
77
 
114
117
        $dbh->disconnect();
115
118
        undef $dbh;
116
119
    }
 
120
    return;
117
121
}
118
122
 
119
123