From: Rafael Kitover Date: Wed, 22 Jul 2009 22:47:14 +0000 (+0000) Subject: fix doc for how to check for FreeTDS X-Git-Tag: v0.08112~14^2~93 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ed70dcb7f6f647dcceda057e2b53583b16764023;p=dbsrgits%2FDBIx-Class.git fix doc for how to check for FreeTDS --- diff --git a/lib/DBIx/Class/Storage/DBI/Sybase/NoBindVars.pm b/lib/DBIx/Class/Storage/DBI/Sybase/NoBindVars.pm index b918682..bf8224d 100644 --- a/lib/DBIx/Class/Storage/DBI/Sybase/NoBindVars.pm +++ b/lib/DBIx/Class/Storage/DBI/Sybase/NoBindVars.pm @@ -73,10 +73,7 @@ than the Sybase OpenClient libraries. You can check with: To see if you are using FreeTDS, run: - perl -MDBD::Sybase -le 'print grep /Sybase\./, @DynaLoader::dl_shared_objects' | xargs ldd - -If you see C or similar, rather than C then you are using -FreeTDS. + perl -MDBI -le 'my $dbh = DBI->connect($dsn, $user, $pass); print $dbh->{syb_oc_version}' You can also enable this driver explicitly using: