Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

mSQL Code - Why???

Quote Reply
mSQL Code - Why???
Hi,

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 Smile

------------------
Michael Bray
Review your webhost or find a new one.
www.webhostarea.com
Links SQL User
------------------




Subject Author Views Date
Thread mSQL Code - Why??? Michael_Bray 1444 Feb 5, 2000, 2:16 PM
Post Re: mSQL Code - Why???
pugdog 1394 Feb 5, 2000, 3:58 PM
Post Re: mSQL Code - Why???
Michael_Bray 1396 Feb 5, 2000, 5:24 PM