Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 7629
Status: resolved
Worked: 1 min
Priority: 0/
Queue: SQL-Translator

People
Owner: kclark [...] cpan.org
Requestors: madams [...] morcor.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: (no value)



Subject: Unable to translate from DBI-Sybase to MySQL
Using: p5-SQL-Translator-0.05_1, freetds-0.62.3 Perl version: 5.8.5 OS: FreeBSD 4.10 Attempts to convert from DBI-Sybase to MySQL ends in failure Example: bash$ sqlt -debug -f DBI --dsn "dbi:Sybase:database=xpancex" --db-user sa --db-password xpance -t MySQL [SQL::Translator] Got parser: code ref [SQL::Translator] Got producer: code ref [SQL::Translator] Got parser: SQL::Translator::Parser::DBI [SQL::Translator] Got producer: SQL::Translator::Producer::MySQL Setting of CS_OPT_TEXTSIZE failed. at /usr/local/lib/perl5/site_perl/5.8.5/mach/DBI.pm line 634. setting dbh attribute {FetchHashKeyName} to NAME_uc at /usr/local/lib/perl5/site_perl/5.8.5/SQL/Translator/Parser/DBI/Sybase.pm line 53. setting dbh attribute {ChopBlanks} to 1 at /usr/local/lib/perl5/site_perl/5.8.5/SQL/Translator/Parser/DBI/Sybase.pm line 58. Error: translate: Error with parser 'SQL::Translator::Parser::DBI': DBI column_info: invalid number of arguments: got handle + 0, expected handle + between 4 and 5 Usage: $h->column_info($catalog, $schema, $table, $column [, \%attr ]) at /usr/local/lib/perl5/site_perl/5.8.5/SQL/Translator/Parser/DBI/Sybase.pm line 72.
RT-Send-CC: sqlfairy-developers [...] lists.sourceforge.net
Please try the latest 0.06 version. ky [guest - Mon Sep 13 12:10:27 2004]: Show quoted text
> Using: p5-SQL-Translator-0.05_1, freetds-0.62.3 > Perl version: 5.8.5 > OS: FreeBSD 4.10 > > Attempts to convert from DBI-Sybase to MySQL ends in failure > > Example: > > bash$ sqlt -debug -f DBI --dsn "dbi:Sybase:database=xpancex" --db-user > sa --db-password xpance -t MySQL > > [SQL::Translator] Got parser: code ref > [SQL::Translator] Got producer: code ref > [SQL::Translator] Got parser: SQL::Translator::Parser::DBI > [SQL::Translator] Got producer: SQL::Translator::Producer::MySQL > Setting of CS_OPT_TEXTSIZE failed. at > /usr/local/lib/perl5/site_perl/5.8.5/mach/DBI.pm line 634. > setting dbh attribute {FetchHashKeyName} to NAME_uc at > /usr/local/lib/perl5/site_perl/5.8.5/SQL/Translator/Parser/DBI/Sybase.pm > line 53. > setting dbh attribute {ChopBlanks} to 1 at > /usr/local/lib/perl5/site_perl/5.8.5/SQL/Translator/Parser/DBI/Sybase.pm > line 58. > Error: translate: Error with parser 'SQL::Translator::Parser::DBI': > DBI column_info: invalid number of arguments: got handle + 0, expected > handle + between 4 and 5 > Usage: $h->column_info($catalog, $schema, $table, $column [, \%attr ]) > at > /usr/local/lib/perl5/site_perl/5.8.5/SQL/Translator/Parser/DBI/Sybase.pm > line 72. > >