cleaning up various codes.

This commit is contained in:
Taylor Otwell
2012-02-13 23:51:33 -06:00
parent f27ec7ab95
commit 479b3f6773
5 changed files with 54 additions and 17 deletions

View File

@@ -14,8 +14,7 @@ class SQLite extends Connector {
// SQLite provides supported for "in-memory" databases, which exist only for the
// lifetime of the request. Any given in-memory database may only have one PDO
// connection open to it at a time. Generally, these databases are used for
// testing and development purposes, not in production scenarios.
// connection open to it at a time. These are usually for testing.
if ($config['database'] == ':memory:')
{
return new PDO('sqlite::memory:', null, null, $options);