diff options
author | Alex Bilbie <alex@alexbilbie.com> | 2012-08-31 01:41:29 +0200 |
---|---|---|
committer | Alex Bilbie <alex@alexbilbie.com> | 2012-08-31 01:41:29 +0200 |
commit | b7c5444de271fb524f8a21d57f384fc0735175c0 (patch) | |
tree | 02595852a2e320452a67596b50ee531a3ad1db88 /application/config/database.php | |
parent | 20ff7666f11f19c39cd91bd42a3b88293b8e9a26 (diff) | |
parent | 9819cba2138ce1c32aa1e8a7d5938d03b4becc3e (diff) |
Merge pull request #1732 from IT-Can/mysql-compression
MySQL & MySQLi client compression
Diffstat (limited to 'application/config/database.php')
-rw-r--r-- | application/config/database.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/config/database.php b/application/config/database.php index bb0d87be0..4c5cad03f 100644 --- a/application/config/database.php +++ b/application/config/database.php @@ -63,6 +63,7 @@ | Sites using Latin-1 or UTF-8 database character set and collation are unaffected. | ['swap_pre'] A default table prefix that should be swapped with the dbprefix | ['autoinit'] Whether or not to automatically initialize the database. +| ['compress'] Whether or not to use client compression (only MySQL and MySQLi) | ['stricton'] TRUE/FALSE - forces 'Strict Mode' connections | - good for ensuring strict SQL while developing | ['failover'] array - A array with 0 or more data for connections if the main should fail. @@ -93,6 +94,7 @@ $db['default'] = array( 'dbcollat' => 'utf8_general_ci', 'swap_pre' => '', 'autoinit' => TRUE, + 'compress' => TRUE, 'stricton' => FALSE, 'failover' => array() ); |