Navigation Menu

Skip to content

Commit

Permalink
Fixing query_pre for delta index - need to override the core index's …
Browse files Browse the repository at this point in the history
…version, else nothing in delta index
  • Loading branch information
pat committed May 30, 2008
1 parent ec46c38 commit 04f1ef2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/thinking_sphinx/index.rb
Expand Up @@ -78,6 +78,7 @@ def to_config(index, database_conf, charset_type)
source #{model.name.downcase}_#{index}_delta : #{model.name.downcase}_#{index}_core
{
sql_query_pre =
sql_query = #{to_sql(:delta => true).gsub(/\n/, ' ')}
sql_query_range = #{to_sql_query_range :delta => true}
}
Expand Down

0 comments on commit 04f1ef2

Please sign in to comment.