function SearchMatchTest::_cleanup_query in SimpleTest 5
Same name and namespace in other branches
- 6 tests/search_match.test \SearchMatchTest::_cleanup_query()
Remove the temporary tables created in a query, since multiple queries per page are not supported.
(Drupal 5.0 and below)
2 calls to SearchMatchTest::_cleanup_query()
- SearchMatchTest::_test_queries in tests/
search_match.test - SearchMatchTest::_test_query_scores in tests/
search_match.test - Test the scoring abilities of the engine.
File
- tests/
search_match.test, line 176
Class
Code
function _cleanup_query() {
db_query('DROP TABLE IF EXISTS temp_search_sids');
db_query('DROP TABLE IF EXISTS temp_search_results');
}