Kun en simpel løsning, grim, ikke elegant, men det virker i dette tilfælde:
$original_reserved = $this->db->_reserved_identifiers;
$this->db->_reserved_identifiers[] = 5;
$this->db->_reserved_identifiers[] = 1;
// or any other values
$this->db->join('with critical values and conditions');
// some db-stuff
$this->db->_reserved_identifiers = $original_reserved;
Hvis nogen ved bedre, så vis det!