dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rdbms: improve query logging logic in Database
[lhc/web/wiklou.git]
/
includes
/
db
/
MWLBFactory.php
diff --git
a/includes/db/MWLBFactory.php
b/includes/db/MWLBFactory.php
index
be4f6ba
..
5b62984
100644
(file)
--- a/
includes/db/MWLBFactory.php
+++ b/
includes/db/MWLBFactory.php
@@
-56,6
+56,7
@@
abstract class MWLBFactory {
'DBuser',
'DBWindowsAuthentication',
'DebugDumpSql',
'DBuser',
'DBWindowsAuthentication',
'DebugDumpSql',
+ 'DebugLogFile',
'ExternalServers',
'SQLiteDataDir',
'SQLMode',
'ExternalServers',
'SQLiteDataDir',
'SQLMode',
@@
-206,6
+207,7
@@
abstract class MWLBFactory {
$flags = DBO_DEFAULT;
$flags |= $options->get( 'DebugDumpSql' ) ? DBO_DEBUG : 0;
$flags = DBO_DEFAULT;
$flags |= $options->get( 'DebugDumpSql' ) ? DBO_DEBUG : 0;
+ $flags |= $options->get( 'DebugLogFile' ) ? DBO_DEBUG : 0;
if ( $server['type'] === 'oracle' ) {
$flags |= $options->get( 'DBOracleDRCP' ) ? DBO_PERSISTENT : 0;
}
if ( $server['type'] === 'oracle' ) {
$flags |= $options->get( 'DBOracleDRCP' ) ? DBO_PERSISTENT : 0;
}