EllisLab/CodeIgniter — pull request #1069 by narfbg (2012-02-22 14:15:23+00:00)
Title: Add an optional database name parameter to db_select()

The title pretty much says it all.
Other than the obvious reasons - turned out that it could be extremely useful with persistent connections, cases described in #1064 and #1068.

We might want to change `$this->database`'s value when it's used though - any thoughts on that?