dbopen: avoiding config with direct host/port
Erik Smith <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <CALaAQW-fUMQ0drH+8_nUPeVfDujuGgGGDs7Vq=KoMCBVGtiefg@mail.gmail.com> |
Is there currently a way to open a connection without referencing the config files? This has been asked before but it's unclear if this is possible: http://lists.ibiblio.org/pipermail/freetds/2010q4/026425.html There doesn't seem to be a way to do this using this call: DBPROCESS *dbopen(LOGINREC * login, const char *server) There are fields within LOGINREC (such as host & port) that could be used to override config, but that doesn't seem to be the way it was implemented. Any ideas? erik