From: Ken Youens-Clark Date: Fri, 3 Oct 2003 20:58:18 +0000 (+0000) Subject: Adding new Sybase entries -- should the full "use" statement be used or X-Git-Tag: v0.04~141 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=525905b961c2db07158e249fc28822184a676bb2;p=dbsrgits%2FSQL-Translator.git Adding new Sybase entries -- should the full "use" statement be used or should I defer to Translator->load? --- diff --git a/lib/SQL/Translator/Parser/DBI.pm b/lib/SQL/Translator/Parser/DBI.pm index c9a2790..254fbe3 100644 --- a/lib/SQL/Translator/Parser/DBI.pm +++ b/lib/SQL/Translator/Parser/DBI.pm @@ -1,7 +1,7 @@ package SQL::Translator::Parser::DBI; # ------------------------------------------------------------------- -# $Id: DBI.pm,v 1.2 2003-10-03 20:39:53 kycl4rk Exp $ +# $Id: DBI.pm,v 1.3 2003-10-03 20:58:18 kycl4rk Exp $ # ------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark , # darren chamberlain @@ -84,17 +84,19 @@ The password to use for connecting to a database. use strict; use DBI; use vars qw($VERSION @EXPORT); -$VERSION = sprintf "%d.%02d", q$Revision: 1.2 $ =~ /(\d+)\.(\d+)/; +$VERSION = sprintf "%d.%02d", q$Revision: 1.3 $ =~ /(\d+)\.(\d+)/; use constant DRIVERS => { mysql => 'MySQL', sqlite => 'SQLite', + sybase => 'Sybase', }; use Exporter; use SQL::Translator::Utils qw(debug normalize_name); use SQL::Translator::Parser::DBI::MySQL; use SQL::Translator::Parser::DBI::SQLite; +use SQL::Translator::Parser::DBI::Sybase; use base qw(Exporter); @EXPORT = qw(parse);