• Vratislav Podzimek's avatar
    Avoid hard to parse lines in merge_sql_inserts.awk · 6986a97f
    Vratislav Podzimek authored
    If the values inserted into a table contain the strings 'INSERT
    INTO' or 'VALUES', the field parsing will produce more fields
    than we know how to handle properly. Let's just echo such lines
    without any modifications and make sure the previous 'INSERT
    INTO' statement (if any) is properly terminated and a new one is
    started after the problematic line.
    6986a97f
merge_sql_inserts.awk 3.77 KB