dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4962235
)
Pass function name in Database::selectRowCount
author
umherirrender
<umherirrender_de.wp@web.de>
Fri, 10 Jul 2015 20:44:03 +0000
(22:44 +0200)
committer
umherirrender
<umherirrender_de.wp@web.de>
Fri, 10 Jul 2015 20:44:03 +0000
(22:44 +0200)
This allow to see the correct function name in the debug logs
Change-Id: I84c94edce60efb8f15a7eb178065ee03e85fc282
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
84c4a66
..
2f1155d
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-1912,7
+1912,7
@@
abstract class DatabaseBase implements IDatabase {
) {
$rows = 0;
$sql = $this->selectSQLText( $table, '1', $conds, $fname, $options );
- $res = $this->query( "SELECT COUNT(*) AS rowcount FROM ($sql) tmp_count" );
+ $res = $this->query( "SELECT COUNT(*) AS rowcount FROM ($sql) tmp_count"
, $fname
);
if ( $res ) {
$row = $this->fetchRow( $res );