Re: PDO - Cannot retrieve warnings with emulated prepares disabled [message #183531 is a reply to message #183530] |
Wed, 30 October 2013 02:04 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 10/29/2013 9:59 PM, Christoph Michael Becker wrote:
> Jerry Stuckle wrote:
>
>> On 10/29/2013 4:06 PM, Thomas 'PointedEars' Lahn wrote:
>>
>>> I have said nothing of the sort. You have not even understood the
>>> difference between a database driver and a database client library
>>> despite
>>> it has been given to you *in graphical form*. How stupid are you anyway?
>>
>> Sure you did. You said quote: "pdo_mysql" does _not_ use nor require
>> either "mysql" or the "mysqli" extension.... : Unqote.
>
> What is true. You can verify this by building PHP without the "Mysql"
> and "Mysqli" extensions (--with-mysql --with-mysqli), but with the "PDO"
> extension enabled--code using the PDO extension to access a MySQL
> database will still work.
>
>> So since it
>> doesn't require any of the extensions provided by MySQL, the authors
>> must have written their own extension.
>
> A PHP extension may well use a library provided by MySQL (and PDO
> actually does this when talking to a MySQL database).
>
Sure you can. But that doesn't mean you're not using the mysql or
mysqli libraries from MySQL. It only means the mysql or mysqli PHP code
is not being generated.
You don't know the difference, obviously.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|