Cool. How are debug options triggered? Is that something controlled by the devel module? Karoly Negyesi wrote: >>> It would be great if someone would patch db_rewrite_sql() itself to >>> warn when it is being used incorrectly. I think the correct behavior >> > > I can make that a debug option. Sounds good and simple.