fuzzysearch installation does not handle table prefixes

mrenoch - August 16, 2007 - 19:49
Project:Fuzzy Search
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi,

The fuzzysearch code handles table prefixes properly (by enclosing table names in curly braces), but the install module is missing the curly braces and does not create the correct table names.

fuzzysearch.install
-db_query("CREATE TABLE search_fuzzy_index (
+db_query("CREATE TABLE {search_index_queue} (

-db_query("CREATE TABLE search_fuzzy_index (
+db_query("CREATE TABLE {search_fuzzy_index} (

small fix, but hopefully this can make it upstream.

thanks

#1

BlakeLucchesi - August 17, 2007 - 01:18
Status:active» closed

Wow, slipped by me when I just copy and pasted my mysql export results. Thank you very much and the updated code will be live when the next dev snapshot is released.

 
 

Drupal is a registered trademark of Dries Buytaert.