Issue 1778: DB Classes: Add prepared statements support - Added new config option in db.config.php to decide if prepared statments should be used or not. Default is Yes.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10474 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2012-03-26 11:41:59 +00:00
parent 77c77bee34
commit 563774c2d2
4 changed files with 13 additions and 1 deletions

View file

@ -239,7 +239,12 @@ class Context {
$oInstallController = &getController('install');
$oInstallController->makeConfigFile();
}
if(!$db_info->use_prepared_statements)
{
$db_info->use_prepared_statements = 'Y';
}
if(!$db_info->time_zone) $db_info->time_zone = date('O');
$GLOBALS['_time_zone'] = $db_info->time_zone;