Project

General

Profile

« Previous | Next » 

Revision 9832

bugfix: lib/runscripts/mysql.table.run: import(): move previous versions of table.tsv out of the main dir before loading staging tables, to prevent them from being considered a TSV segment file and prepended to table.tsv

View differences:

mysql.table.run
42 42
	table.tsv/make
43 43
}
44 44

  
45
archive="$top_dir"/_archive/
46

  
47
archive_prev_versions()
48
{
49
	echo_func; set_make_vars
50
	(mv_glob table.*.tsv "$top_dir"/_archive/)
51
}
52

  
45 53
func_override import__table_run
46 54
import()
47 55
{
48 56
	echo_func
49 57
	export_mysql
58
	archive_prev_versions
50 59
	self_make import__table_run "$@"
51 60
}
52 61

  

Also available in: Unified diff