If you execute a query using drush_db_select() in Drupal 6, you get the following PHP notice:

Undefined variable: db_scheme dbtng.inc:109    [notice]

This is because the variable $db_scheme has not been set with a value within the function scope.

Patch coming up in the next comment.

Comments

juampynr’s picture

Status: Active » Needs review
StatusFileSize
new975 bytes

Here is the patch.

moshe weitzman’s picture

Status: Needs review » Patch (to be ported)

committed, without the debug line, and with some unrelated indentation fixes.

See 68fa5de

juampynr’s picture

Moshe, do you need help porting it? If so, to which branch(s)?

moshe weitzman’s picture

Version: » All-versions-4.x-dev
msonnabaum’s picture

Status: Patch (to be ported) » Fixed

Backported.

juampynr’s picture

Thanks msonnabaum!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Improved wording.