Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.10.0, 3.10.1rc1, 3.9.4, 4.0.0, 4.0.1rc1
-
None
Description
The problem is this code in eZMySQLDB:
// Send temporary create queries to slave server if ( preg_match( "/create\s+temporary/i", $sql ) ) { $isWriteQuery = false; }
It matches create\s+temporary anywhere in $sql, not just at the start.