mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Fixed join condidition bug: if the user specifies the "pipe" attribute of a condition in a join cause, it should be ignored (otherwise the sql string is like INNER JOIN ... ON AND a = b). Fixed order by bug.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8387 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
520300fad1
commit
d3067703a4
10 changed files with 31 additions and 12 deletions
|
|
@ -32,7 +32,8 @@
|
|||
|
||||
function escapeValue($column_type){
|
||||
if(!isset($this->value)) return;
|
||||
if($column_type === '') $column_type = 'varchar';
|
||||
if($column_type === '') return;
|
||||
//if($column_type === '') $column_type = 'varchar';
|
||||
if(in_array($column_type, array('date', 'varchar', 'char')))
|
||||
$this->value = '\''.$this->value.'\'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue