[Dbix-class] Schema::Loader support for MSSQL through DBD::ODBC

Michael Higgins linux at evolone.org
Wed Jun 24 21:34:52 GMT 2009


On Tue, 9 Jun 2009 06:50:23 -0700
Rafael Kitover <rkitover at io.com> wrote:

> Support for dumping MSSQL schemas via a DBD::ODBC connection has been
> added to the current branch of Schema::Loader, you can try it out
> from:
> 
> svn co
> http://dev.catalyst.perl.org/repos/bast/branches/DBIx-Class-Schema-Loader/current/
> sl
> 
> If things don't work, please let us know.
> 

Sorry it took so long, but here:

t/16mssql_odbc_common.t .. 1/137 
#   Failed test 'Expected loader warning'
#   at t/lib/dbixcsl_common_tests.pm line 116.
#          got: '2'
#     expected: '3'
# Dumping manual schema for DBIXCSL_Test::Schema to directory ./t/_common_dump ...
# Schema dump completed.

#   Failed test 'Missing PK warning'
#   at t/lib/dbixcsl_common_tests.pm line 118.
#          got: '0'
#     expected: '1'
Use of uninitialized value $moniker in exists at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/Class/Schema.pm line 570.
Use of uninitialized value $moniker in hash element at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/Class/Schema.pm line 573.
Use of uninitialized value $moniker in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/Class/Schema.pm line 574.
DBIx::Class::Schema::resultset(): Can't find source for  at t/lib/dbixcsl_common_tests.pm line 141
# Looks like you planned 137 tests but ran 3.
# Looks like you failed 2 tests of 3 run.
# Looks like your test exited with 25 just after 3.
t/16mssql_odbc_common.t .. Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 136/137 subtests 

[...]

/16mssql_odbc_common.t (Wstat: 6400 Tests: 3 Failed: 2)
  Failed tests:  2-3
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 137 tests but ran 3.
Files=16, Tests=368, 17 wallclock secs ( 0.17 usr  0.02 sys +  6.69 cusr  0.79 csys =  7.67 CPU)
Result: FAIL
Failed 1/16 test programs. 2/368 subtests failed.
make: *** [test_dynamic] Error 255

Let me know what I can do to help.

Cheers,

-- 
 |\  /|        |   |          ~ ~  
 | \/ |        |---|          `|` ?
 |    |ichael  |   |iggins    \^ /
 michael.higgins[at]evolone[dot]org



More information about the DBIx-Class mailing list