Skip to content

Commit

Permalink
dcramer#2 bad sql generated (missing newline escape)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Cramer authored and David Cramer committed Nov 23, 2009
1 parent ef83293 commit 3f9a65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangosphinx/templates/source.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source {{ source_name }}
sql_query_pre =
sql_query_post =
sql_query = \
SELECT {{ field_names|join:", " }}
SELECT {{ field_names|join:", " }}\
FROM {{ table_name }}
sql_query_info = SELECT * FROM `{{ table_name }}` WHERE `{{ primary_key }}` = $id
{% if group_columns %}
Expand Down

0 comments on commit 3f9a65f

Please sign in to comment.