Fixed fatal from r49045
This commit is contained in:
parent
8a4101d1cb
commit
deaeee095a
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ class QueryPage {
|
|||
|
||||
# Save results into the querycache table on the master
|
||||
if ( count( $vals ) ) {
|
||||
if ( !$dbw->insert( 'querycache', $vals, __METHOD__ ) {
|
||||
if ( !$dbw->insert( 'querycache', $vals, __METHOD__ ) ) {
|
||||
// Set result to false to indicate error
|
||||
$dbr->freeResult( $res );
|
||||
$res = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue