php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59784 Server switching
Submitted: 2011-05-25 21:06 UTC Modified: 2011-05-26 05:18 UTC
From: hueythecat at gmail dot com Assigned:
Status: Closed Package: mysqlnd_ms (PECL)
PHP Version: 5.3.5 OS: ubuntu 11.01
Private report: No CVE-ID: None
 [2011-05-25 21:06 UTC] hueythecat at gmail dot com
Description:
------------
The mysqlnd_ms_query_is_select routine returns false if the 
sql string  is lowercase. 
i.e:
"select x from y" = FALSE
"SELECT x from y" = TRUE 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-26 03:15 UTC] andrey@php.net
That's know bug (at least I know it), which is already fixed in SVN
 [2011-05-26 05:18 UTC] ulf dot wendel at phpdoc dot de
Thanks for the report! I feel a bit sorry for not having caught this one myself in a test :-(. 

Unfortunately today's trunk is quite different from 1.0.1. For example, we have introduced a new plugin configuration file format. trunk will be in flux for a couple of more weeks. We are teaching the plugin good old MySQL replication filter rules (idea: not every slave has all tables, pick only matching slaves).

Maybe we should do a 1.0.2 release with this bug being fixed. Not sure...
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jul 13 08:01:25 2020 UTC