Fixes SQL so it follows Drupal guidelines and works for sites that require table names be prefixed.
Initial D7 version. Untested.
Initial public release.
This should be 6.x, not 6.x.6.x. Sigh.