$table = reset(array_keys($sandbox['tables']));
Causes a notice under E_STRICT: PHP Strict Standards: Only variables should be passed by reference
First commit - hope I done it right!
Patch is clean and functional.
Committed to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/eb4dbe9
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.