Hi,
In DBSQL.pm I noticed lines of code refering to mSQL.
my $query = qq!
SELECT _seq FROM $table
!;
my $sth2 = $DBH->prepare($query) or return $self->error ('CANTPREPARE', $query, $DBI::errstr);
$sth2->execute() or return $self->error ('CANTEXECUTE', $query, $DBI::errstr);
my ($id) = $sth2->fetchrow_array;
$sth2->finish;
return $id;
}
Since Links SQL doesn't support mSQL, why is that code there? Anyway - I'm just checking cause I am 'bout to delete it
------------------
Michael Bray
Review your webhost or find a new one.
www.webhostarea.com
Links SQL User
------------------
In DBSQL.pm I noticed lines of code refering to mSQL.
Code:
if ($self->{'db_driver'} eq 'mSQL') { my $query = qq!
SELECT _seq FROM $table
!;
my $sth2 = $DBH->prepare($query) or return $self->error ('CANTPREPARE', $query, $DBI::errstr);
$sth2->execute() or return $self->error ('CANTEXECUTE', $query, $DBI::errstr);
my ($id) = $sth2->fetchrow_array;
$sth2->finish;
return $id;
}
Since Links SQL doesn't support mSQL, why is that code there? Anyway - I'm just checking cause I am 'bout to delete it
------------------
Michael Bray
Review your webhost or find a new one.
www.webhostarea.com
Links SQL User
------------------