Class::DBI segfaulting
[prev]
[thread]
[next]
[Date index for 2005/02/28]
Here is a fairly trivial DB and script. What am I doing wrong?
It's blowing up somewhere under set_up_table.
There also doesn't seem to be anything special that Class:DBI::Sybase is doing.
OS is Solaris 5.8 and Sybase version 12.5.1
Class::DBI version 0.96
DBI version 1.47
DBD::Sybase version 0.95
Class::DBI::Sybase version 0.31
Perl 5.6.1
================================
create table TEST
(
nurgle integer,
foobar varchar(20)
)
insert into TEST (nurgle,foobar)
values (1, 'Dingbat')
================================
#!/usr/local/bin/perl
use warnings;
package Test::DBI;
use strict;
use base 'Class::DBI::Sybase';
__PACKAGE__->connection('dbi:Sybase:server=SERVER_TST;database=TESTING2','tst2','tst2');
__PACKAGE__->set_up_table('TEST');
package main;
use strict;
my $foo = Test::DBI->search( nurgle => 1);
for (qw/nurgle foobar/) {
print $foo->$_,"\n";
}
|
Class::DBI segfaulting
ivor.williams 14:47 on 28 Feb 2005
|