projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b14ba2
)
SQL/Parser/Compiler.php
author
Alan Knowles
<alan@akkbhome.com>
Sun, 13 Feb 2011 15:15:40 +0000
(23:15 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Sun, 13 Feb 2011 15:15:40 +0000
(23:15 +0800)
SQL/Parser/Compiler.php
patch
|
blob
|
history
diff --git
a/SQL/Parser/Compiler.php
b/SQL/Parser/Compiler.php
index
a8fa8c3
..
ca1bda1
100755
(executable)
--- a/
SQL/Parser/Compiler.php
+++ b/
SQL/Parser/Compiler.php
@@
-128,6
+128,8
@@
class SQL_Parser_Compiler
for($i = 0; $i < count($where_clause['args']); $i+=2) {
$sql = $where_clause['args'][$i]['column'] .
+ ' ' .
+ $where_clause['ops'][floor($i/2)] .
' ' .
$this->getWhereValue ($where_clause['args'][$i+1]);