Code Duplication    Length = 5-5 lines in 2 locations

lib/stores/modules/mysql_compiler.php 1 location

@@ 152-156 (lines=5) @@
149
				}
150
				$result=" $left and $right ";
151
			break;
152
			case 'or':
153
				$left=$this->compile_tree($node["left"]);
154
				$right=$this->compile_tree($node["right"]);
155
				$result=" $left or $right ";
156
			break;
157
			case 'cmp':
158
				$not="";
159
				switch ($node["operator"]) {

lib/stores/modules/postgresql_compiler.php 1 location

@@ 157-161 (lines=5) @@
154
				}
155
				$result=" $left and $right ";
156
			break;
157
			case 'or':
158
				$left=$this->compile_tree($node["left"]);
159
				$right=$this->compile_tree($node["right"]);
160
				$result=" $left or $right ";
161
			break;
162
			case 'cmp':
163
				$not = '';
164
				switch ($node["operator"]) {