We have noticed that we get SQL errors during Demo Content population (ie. new sections with related data in CMS Blocks) due to recent introduction of Revision Control feature in In-Portal 5.2.0 B1.
This seems to be affecting all 3 main themes - default, advanced and simple. Other (supplementary) themes will be patched shortly too.
I have created separate tasks for each theme as this is required by our tracker: