зеркало из https://github.com/microsoft/msphpsql.git
Update PDO_ConnPool_Unix.phpt
This commit is contained in:
Родитель
b144cf97b6
Коммит
70ad77f9ce
|
@ -22,7 +22,7 @@ print_r(shell_exec("php ./test/pdo_sqlsrv/isPooled.php"));
|
|||
|
||||
//disable pooling by modifying the odbcinst.ini file
|
||||
$current = file_get_contents($odbcinst_ini);
|
||||
$current = str_replace("CPTimeout=5\n[ODBC]\nPooling=Yes\n",'',$current);
|
||||
$current = str_replace($lines_to_add,'',$current);
|
||||
file_put_contents($odbcinst_ini, $current);
|
||||
|
||||
print_r(shell_exec("php ./test/pdo_sqlsrv/isPooled.php"));
|
||||
|
|
Загрузка…
Ссылка в новой задаче