Analyzed almost 3 years ago
mydp is a program for processing mysqldump files in the manner of ‘awk’. It reads mysqldump sql statements from standard input and executes Lua callback functions as table definitions and insert statements are encountered. The Lua callback functions are specified in a file passed to mydp via the
command line. The callbacks are typically used to filter and process only a small subset of the mysql dump data and/or save it for further processing. mydp is written in Lex and Lua. It is released under the 2-clause FreeBSD licence.