silverstripe/sapphire — pull request #218 by mrmorphic (2012-03-09 01:24:38+00:00)
Title: bugfix for 6856, isDev=1&showqueries going into infinite loop

BUGFIX: add Director::isDev parameter so we can test if we know we're dev mode already without touching the database. Used in showqueries on MySQL, so that errors are avoided when showing queries on initial switch to dev move (#6856)