1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-31 19:30:30 +02:00

MySQL & MySQLi drivers: configuration items 'options' renamed to 'flags' (old name is alias); added array 'options' for MySQLi

This commit is contained in:
David Grudl
2010-08-03 19:38:06 +02:00
parent dc3b1ff399
commit 66e709e846
3 changed files with 24 additions and 10 deletions

View File

@@ -66,6 +66,10 @@ try {
'password' => 'xxx',
'database' => 'dibi',
'charset' => 'utf8',
'options' => array(
MYSQLI_OPT_CONNECT_TIMEOUT => 30
),
'flags' => MYSQLI_CLIENT_COMPRESS,
));
echo 'OK';