Merge "Fixed ApiQueryBase::selectNamedDb() return value"