Ticket #427 (closed Bug: fixed)
Bug in $db->in()
| Reported by: | allain | Owned by: | Shadowhand |
|---|---|---|---|
| Priority: | critical | Milestone: | 2.2 |
| Component: | Libraries:Database | Version: | SVN HEAD |
| Keywords: | database not in ternary | Cc: |
Description
$this->db->select('DISTINCT id, content_type, filepath');
->from('blocks_resources'); ->join('resources', 'blocks_resources.resource_id = resources.id'); ->in('blocks_resources.block_id', array(0=>1));
Doesn't generate valid SQL for mysql.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
