Project

General

Profile

« Previous | Next » 

Revision 10347

bugfix: inputs/input.Makefile: %/postprocess.sql: need to run bin/repl in text mode (text=1) so that values to match are treated as literal strings rather than regular expressions. this difference is important for column names with spaces or special characters.

View differences:

input.Makefile
287 287
--set=table='"$(*D)"' --set=table_str=\''"$(*D)"'\'))
288 288

  
289 289
%/postprocess.sql: %/map.csv
290
	$(if $(wildcard $*/run),$(bin)/in_place $@ $(bin)/repl $<)
290
	$(if $(wildcard $*/run),$(bin)/in_place $@ env text=1 $(bin)/repl $<)
291 291

  
292 292
%/postprocess: _always
293 293
	$(if $(wildcard $*/run),,$(selfMake) $*/postprocess.sql/run)

Also available in: Unified diff