Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Tim Bunce — — source: Usenet: comp.databases.informix
On Tue, Jun 10, 2003 at 09:22:26PM -0700, Jonathan Leffler wrote:
>
> Tim - I'm guessing that the mapping from old to new connect syntax is
> bypassed by the use of $drh->connect() in place of DBI->connect.
Yes. All sorts of things are bypassed, take a look at the code for
DBI->connect and you'll see what I mean.
I would *strongly* discourage connecting that way for general applications.
I'll add a note about that to the docs.
> Is that something that DBI can handle, or is it just an inevitable
> consequence of the old method of loading and connecting?
There has never been any need to use $drh->connect(). DBI->connect
"is the way".
Tim.
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.