mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-15 01:09:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1670 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6017ed911c
commit
ecffb34b47
1 changed files with 5 additions and 3 deletions
|
|
@ -288,20 +288,22 @@
|
|||
|
||||
switch($operation) {
|
||||
case 'like_prefix' :
|
||||
$value = $value.'%';
|
||||
$value = "'".$value.'%'."'";
|
||||
break;
|
||||
case 'like_tail' :
|
||||
$value = '%'.$value;
|
||||
$value = "'".'%'.$value."'";
|
||||
break;
|
||||
case 'like' :
|
||||
$value = '%'.$value.'%';
|
||||
$value = "'".'%'.$value.'%'."'";
|
||||
break;
|
||||
case 'in' :
|
||||
return "'".$value."'";
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
if(strpos($name,'.')!==false && strpos($value,'.')!==false) return $value;
|
||||
|
||||
return "'".$this->addQuotes($value)."'";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue