@@ 1460-1468 (lines=9) @@ | ||
1457 | return ($this->db_debug) ? $this->display_error('db_must_use_set') : FALSE; |
|
1458 | } |
|
1459 | ||
1460 | if ($table === '') |
|
1461 | { |
|
1462 | if ( ! isset($this->qb_from[0])) |
|
1463 | { |
|
1464 | return ($this->db_debug) ? $this->display_error('db_must_set_table') : FALSE; |
|
1465 | } |
|
1466 | ||
1467 | $table = $this->qb_from[0]; |
|
1468 | } |
|
1469 | ||
1470 | // Batch this baby |
|
1471 | $affected_rows = 0; |
|
@@ 1646-1653 (lines=8) @@ | ||
1643 | return ($this->db_debug) ? $this->display_error('db_must_use_set') : FALSE; |
|
1644 | } |
|
1645 | ||
1646 | if ($table !== '') |
|
1647 | { |
|
1648 | $this->qb_from[0] = $table; |
|
1649 | } |
|
1650 | elseif ( ! isset($this->qb_from[0])) |
|
1651 | { |
|
1652 | return ($this->db_debug) ? $this->display_error('db_must_set_table') : FALSE; |
|
1653 | } |
|
1654 | ||
1655 | return TRUE; |
|
1656 | } |
|
@@ 1681-1689 (lines=9) @@ | ||
1678 | return ($this->db_debug) ? $this->display_error('db_must_use_set') : FALSE; |
|
1679 | } |
|
1680 | ||
1681 | if ($table === '') |
|
1682 | { |
|
1683 | if ( ! isset($this->qb_from[0])) |
|
1684 | { |
|
1685 | return ($this->db_debug) ? $this->display_error('db_must_set_table') : FALSE; |
|
1686 | } |
|
1687 | ||
1688 | $table = $this->qb_from[0]; |
|
1689 | } |
|
1690 | ||
1691 | $sql = $this->_replace($this->protect_identifiers($table, TRUE, NULL, FALSE), array_keys($this->qb_set), array_values($this->qb_set)); |
|
1692 | ||
@@ 1868-1876 (lines=9) @@ | ||
1865 | return ($this->db_debug) ? $this->display_error('db_must_use_set') : FALSE; |
|
1866 | } |
|
1867 | ||
1868 | if ($table === '') |
|
1869 | { |
|
1870 | if ( ! isset($this->qb_from[0])) |
|
1871 | { |
|
1872 | return ($this->db_debug) ? $this->display_error('db_must_set_table') : FALSE; |
|
1873 | } |
|
1874 | ||
1875 | $table = $this->qb_from[0]; |
|
1876 | } |
|
1877 | ||
1878 | // Batch this baby |
|
1879 | $affected_rows = 0; |