Quoting Larry Garfield <larry@garfieldtech.com>:
You have just proposed that we create our own serialized language called DSQL that we then regex for *every single query* and then rewrite a query for each database backend according to some abstract set of rules.
No, that isn't what I proposed exactly. It is what you read into it. The query need not be rewritten if the structure is sane to begin with. If precious MySQL is the favored one, we say Drupal SQL uses its syntax structure. Everything else then is slightly slower because the string needs parsed to syntax manipulate the string. And if done correctly the parsed string is cached so that it doesn't have to reparsed. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/