FoundationDB/sql-layer — pull request #1372 by nathanlws (2014-07-25 21:23:01+00:00)
Title: Fix creation of overlapping GROUPING and regular FOREIGN KEYs

And reject inline (CREATE, ALTER TABLE) group index definitions as the underlying code doesn't expect them.

This is mostly solved by copying more information to the "stub" table used by TableDDL and AlterTableDDL. Instead of trying to figure out exactly what needs to be present just copy the table (entire groups, actually) wholesale. Simplifies the code a bit and seems less likely to miss something.