VoltDB/voltdb — pull request #1790 by cwolff-voltdb (2014-11-11 22:43:40+00:00)
Title: Front-end support for LIMIT ROWS DELETE statements

The first commit you have already seen here on GitHub. The second completes the ticket by doing error checking, planning the statement, and logging the explained plan:
* The HSQL parser stores the text of the DELETE statement in the VoltXML that it generates
* `DDLCompiler` generates VoltXML from the text of the DELETE statement to verify that the statement is a DELETE that targets the correct table
* The statement is then saved in the catalog as a child of the Table
* After `VoltCompiler` compiles stored procedures, it proceeds to compile any DELETE statements designed to help enforce the ROW LIMIT constraint
* It's at this time that the explained plan is logged.