Skip to content
Snippets Groups Projects
Commit 7dfe6574 authored by David Rothstein's avatar David Rothstein
Browse files

Issue #2596899 by bburg: Remove unnecessary DISTINCT from node access rebuild...

Issue #2596899 by bburg: Remove unnecessary DISTINCT from node access rebuild query to work around a MySQL bug
parent 25512367
No related branches found
No related tags found
No related merge requests found
......@@ -3685,7 +3685,7 @@ function _node_access_rebuild_batch_operation(&$context) {
// Initiate multistep processing.
$context['sandbox']['progress'] = 0;
$context['sandbox']['current_node'] = 0;
$context['sandbox']['max'] = db_query('SELECT COUNT(DISTINCT nid) FROM {node}')->fetchField();
$context['sandbox']['max'] = db_query('SELECT COUNT(nid) FROM {node}')->fetchField();
}
// Process the next 20 nodes.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment