|
Lines 124-129
Link Here
|
| 124 |
|
124 |
|
| 125 |
# Initialize backtrace storage |
125 |
# Initialize backtrace storage |
| 126 |
$this->query_btrace = array(); |
126 |
$this->query_btrace = array(); |
|
|
127 |
|
| 128 |
# Set server timezone |
| 129 |
date_default_timezone_set("America/Montreal"); |
| 127 |
} |
130 |
} |
| 128 |
|
131 |
|
| 129 |
|
132 |
|
|
Lines 1143-1148
Link Here
|
| 1143 |
$this->set("foundation_db_class", 'FoundationDBConnectionRW'); |
1146 |
$this->set("foundation_db_class", 'FoundationDBConnectionRW'); |
| 1144 |
$this->set("foundation_db_classfile_ro",'dbconnection_foundation_ro.class.php'); |
1147 |
$this->set("foundation_db_classfile_ro",'dbconnection_foundation_ro.class.php'); |
| 1145 |
$this->set("foundation_db_class_ro", 'DBConnectionFoundation'); |
1148 |
$this->set("foundation_db_class_ro", 'DBConnectionFoundation'); |
|
|
1149 |
$this->set("gerrit_db_classfile_ro", 'dbconnection_gerrit_ro.class.php'); |
| 1150 |
$this->set("gerrit_db_class_ro", 'DBConnectionGerrit'); |
| 1146 |
$this->set("ipzilla_db_classfile_ro", 'dbconnection_ipzilla_ro.class.php'); |
1151 |
$this->set("ipzilla_db_classfile_ro", 'dbconnection_ipzilla_ro.class.php'); |
| 1147 |
$this->set("ipzilla_db_class_ro", 'DBConnectionIPZillaRO'); |
1152 |
$this->set("ipzilla_db_class_ro", 'DBConnectionIPZillaRO'); |
| 1148 |
$this->set("ipzilla_db_classfile", 'dbconnection_ipzilla_rw.class.php'); |
1153 |
$this->set("ipzilla_db_classfile", 'dbconnection_ipzilla_rw.class.php'); |
|
Lines 1164-1170
Link Here
|
| 1164 |
$this->set("conferences_db_classfile", 'dbconnection.conferences_rw.class.php'); |
1169 |
$this->set("conferences_db_classfile", 'dbconnection.conferences_rw.class.php'); |
| 1165 |
$this->set("conferences_db_class", 'DBConnectionConferencesRW'); |
1170 |
$this->set("conferences_db_class", 'DBConnectionConferencesRW'); |
| 1166 |
$this->set("marketplace_db_classfile_ro", 'dbconnection_marketplace_ro.class.php'); |
1171 |
$this->set("marketplace_db_classfile_ro", 'dbconnection_marketplace_ro.class.php'); |
| 1167 |
$this->set("marketplace_db_class_ro", 'DBConnectionMarket'); |
1172 |
$this->set("marketplace_db_class_ro", 'DBConnectionMarket'); |
| 1168 |
#----------------------------------------------------------------------------------------------------- |
1173 |
#----------------------------------------------------------------------------------------------------- |
| 1169 |
} |
1174 |
} |
| 1170 |
|
1175 |
|
|
Lines 1314-1319
Link Here
|
| 1314 |
function eclipse_sql ($statement) { return $this->sql ($statement, "eclipse"); } // Whole Eclipse database |
1319 |
function eclipse_sql ($statement) { return $this->sql ($statement, "eclipse"); } // Whole Eclipse database |
| 1315 |
function epic_sql ($statement) { return $this->sql ($statement, "epic"); } // EPIC (read-only!) |
1320 |
function epic_sql ($statement) { return $this->sql ($statement, "epic"); } // EPIC (read-only!) |
| 1316 |
function foundation_sql($statement) { return $this->sql ($statement, "foundation"); } // Foundation internal database |
1321 |
function foundation_sql($statement) { return $this->sql ($statement, "foundation"); } // Foundation internal database |
|
|
1322 |
function gerrit_sql($statement) { return $this->sql ($statement, "gerrit"); } // Gerrit |
| 1317 |
function ipzilla_sql ($statement) { return $this->sql ($statement, "ipzilla"); } // IPZilla |
1323 |
function ipzilla_sql ($statement) { return $this->sql ($statement, "ipzilla"); } // IPZilla |
| 1318 |
function ipzillatest_sql ($statement) { return $this->sql ($statement, "ipzillatest"); } // IPZilla test database |
1324 |
function ipzillatest_sql ($statement) { return $this->sql ($statement, "ipzillatest"); } // IPZilla test database |
| 1319 |
function live_sql ($statement) { return $this->sql ($statement, "live"); } // Eclipse Live (read-only!) |
1325 |
function live_sql ($statement) { return $this->sql ($statement, "live"); } // Eclipse Live (read-only!) |