FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PDO - Cannot retrieve warnings with emulated prepares disabled
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PDO - Cannot retrieve warnings with emulated prepares disabled [message #183549 is a reply to message #183501] Wed, 30 October 2013 20:09 Go to previous message
Thomas Mlynarczyk is currently offline  Thomas Mlynarczyk
Messages: 131
Registered: September 2010
Karma:
Senior Member
I have done some more testing.
PHP 5.4.13, MySQL 5.1.66 -> no warning
PHP 5.4.15, MySQL 5.5.31 -> warning works

But I've also noticed that the two installations above don't seem to use
mysqlnd. There's no mysqlnd section in phpinfo() and the pdo_mysql
section has the client API version identical to the MySQL version,
whereas in installations with mysqlnd the client API version is listed
as mysqlnd 5.0.10 - 20111026. (Unless this is somehow a consequence of
the fact that the two installations above use the Apache module while
the "mysqlnd installations" that I checked both run PHP as CGI/FastCGI.)

There is a correlated side effect: the non-mysqlnd installations always
return data as strings, whereas the mysqlnd installations return data
with their real type (int, float or string) if emulated prepares are off.

Greetings,
Thomas

--
Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!
(Coluche)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: splitting list into columns
Next Topic: reading files with accents in the filename from PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Sep 19 22:20:31 GMT 2024

Total time taken to generate the page: 0.06547 seconds