mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
Issue 2288: Bug in XML Query with "like" clause
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@11081 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8ee56fff9f
commit
5ee72554f1
3 changed files with 79 additions and 0 deletions
|
|
@ -57,6 +57,7 @@
|
|||
|
||||
// If default value is column name, it should be escaped
|
||||
if($isColumnName = (strpos($condition->attrs->default, '.') !== false
|
||||
&& strpos($condition->attrs->default, '.') !== 0
|
||||
&& strpos($condition->attrs->default, '%') === false ))
|
||||
{
|
||||
$condition->attrs->default = $dbParser->parseColumnName($condition->attrs->default);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue