Revision 9571
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/resume_import.sh | ||
---|---|---|
57 | 57 |
sql_preamble() # usage: sql_preamble <file |
58 | 58 |
{ |
59 | 59 |
echo_func |
60 |
echo_run sed -n '/^-- Dumping data for table /{
|
|
60 |
echo_run sed -n '/^-- (Table structure|Dumping data) for table /{
|
|
61 | 61 |
q # stop after first match |
62 | 62 |
} |
63 | 63 |
p # passthru until first match |
Also available in: Unified diff
bugfix: lib/sh/resume_import.sh: sql_preamble(): also stop at first "-- Table structure for table" line (when using a full dumpfile rather than a data-only subset)