Set global PDO Errormode to exception, rewrite table create
Fix nested transaction
Merge remote-tracking branch 'upstream/wip' into wip