|
@@ 496-500 (lines=5) @@
|
| 493 |
|
// replace ambiguous auto-id with (an exact match of) table_name.autoid |
| 494 |
|
if (isset($criteria[$this->autoinc_id])) |
| 495 |
|
{ |
| 496 |
|
if ($criteria[$this->autoinc_id]) |
| 497 |
|
{ |
| 498 |
|
$criteria[] = $this->db->expression($this->table_name,$this->table_name.'.', |
| 499 |
|
array($this->autoinc_id => $criteria[$this->autoinc_id])); |
| 500 |
|
} |
| 501 |
|
unset($criteria[$this->autoinc_id]); |
| 502 |
|
} |
| 503 |
|
// replace ambiguous column with (an exact match of) table_name.column |
|
@@ 632-637 (lines=6) @@
|
| 629 |
|
// replace ambiguous auto-id with (an exact match of) table_name.autoid |
| 630 |
|
if (is_string($name) && $name == $this->autoinc_id) |
| 631 |
|
{ |
| 632 |
|
if ((int)$filter[$this->autoinc_id]) |
| 633 |
|
{ |
| 634 |
|
$filter[] = $this->db->expression($this->table_name,$this->table_name.'.',array( |
| 635 |
|
$this->autoinc_id => $filter[$this->autoinc_id], |
| 636 |
|
)); |
| 637 |
|
} |
| 638 |
|
unset($filter[$this->autoinc_id]); |
| 639 |
|
} |
| 640 |
|
// replace ambiguous column with (an exact match of) table_name.column |