Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2_Queries.php |
— | — | @@ -968,7 +968,7 @@ |
969 | 969 | $smwtable = $this->m_dbs->tableName( ( $query->type == SMW_SQL2_PROP_HIERARCHY ) ? 'smw_subp2':'smw_subs2' ); |
970 | 970 | |
971 | 971 | // Try to safe time (SELECT is cheaper than creating/dropping 3 temp tables): |
972 | | - $res = $this->m_dbs->select( $smwtable, 's_id', $valuecond, array( 'LIMIT' => 1 ) ); |
| 972 | + $res = $this->m_dbs->select( $smwtable, 's_id', $valuecond, __METHOD__, array( 'LIMIT' => 1 ) ); |
973 | 973 | |
974 | 974 | if ( !$this->m_dbs->fetchObject( $res ) ) { // no subobjects, we are done! |
975 | 975 | $this->m_dbs->freeResult( $res ); |