version detection

Adam Baratz <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CADxrgCP5TfayKOG1GsBpnzNYOWR27uivHY5X81uiVs7jiEuk+A@mail.gmail.com>
Following up on my pdo_dblib thread, I'd like to be able to detect which
version of FreeTDS is installed. So I can know when the dbnextrow()
workaround should be used instead of dbcanquery(). As far as I can tell,
the version only gets exposed through dbversion(), which is a string I'd
have to parse.

Thanks,
Adam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.