Re: Fetch the DBD driver type from a database handle?

From: Michael A Chase (mchase_at_ix.netcom.com)
Date: 11/17/04


Date: Wed, 17 Nov 2004 13:49:07 -0800
To: Daniel Kasak <dkasak@nusconsulting.com.au>

Quoting Daniel Kasak <dkasak@nusconsulting.com.au>:

> Hi all.
>
> I'm writing some code that needs to be able to figure out what DBD
> driver is working with a current database *handle* ( so I can take
> advantage of more advanced features of some drivers ).
>
> How do I do that?

>From DBI.pm:
====
Driver (handle)
Holds the handle of the parent driver. The only recommended use for this is to
find the name of the driver using:

  $dbh->{Driver}->{Name}
====

--
Mac :})


Relevant Pages

  • [PATCH] Fix misspellings collected by members of KJ list.
    ... - * writting a Wavelan ISA driver for the MACH microkernel. ... there are two posibilities reading or writing. ... - * on non x86 architectures, so if you are writting portable code, ...
    (Linux-Kernel)
  • Re: X-CD Roast question again please
    ... Using generic SCSI-3/mmc CD-R driver. ... Disk sub type: Medium Type A, ... ATIP start of lead in: -11318 ... writing 152 KB of pad data. ...
    (RedHat)
  • Re: number of /dev/usb nodes
    ... Hash: SHA1 ... I'm writing ... as a driver you get informed for each new device. ... I never said I was writing a FreeBSD driver... ...
    (freebsd-hackers)
  • How to create base driver setup application as Intels SetupBD.exe
    ... i am writing a setup application based on devcon sample for my ... code similar to cmdInstall, cmdUpdate of devcon. ... If you install the driver using Found new hardware wizard everything ... I have gone through Microsoft "Writing a Device Installation ...
    (microsoft.public.development.device.drivers)
  • Re: Reverse-engineering USB protocol
    ... if you end up writing your own driver, i would also suggest that you use winusb and have your app implement the protocol and let winusb shuttle the bits for you. ... [Usb Sniffer for Windows] ... The last one once saved me from writing some Kernel ... Code for a Device i had no real driver for it,... ...
    (microsoft.public.win32.programmer.kernel)