DB/Commit: add DRAKE define to fix query