Show
Ignore:
Timestamp:
09/22/08 10:55:07 (4 months ago)
Author:
sambauers
Message:

Revert last commit, too dodgy and possibly not helping things anyway.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/includes/class.bpdb.php

    r146 r147  
    348348                if ( function_exists('apply_filters') ) 
    349349                        $query = apply_filters('query', $query); 
    350  
    351                 // Reduce "`foo` IN (n)" to "`foo` = n" where n is only one value for better query caching 
    352                 $query = preg_replace('@((`?[^\s|`]+`?)(\.?)(`?[^\s|`]+`?)\s+IN\s*\(\s*(\'?\s*[^\s|\'|,]+\s*\'?)\s*\))@im', '$2$3$4 = $5', $query); 
    353350 
    354351                // initialise return