Skip to content


Piwik_Archive_Single::preFetchBlob can select extra unnecessary blobs #3311

diosmosis opened this Issue · 2 comments

1 participant


The preFetchBlob method in Piwik_Archive_Single uses LIKE '$name%' to select subtable blobs w/ the main blob. Sometimes this can result in selecting the wrong blobs. For example, selecting blobs for 'Actions_actions' will select blobs for 'Actions_actions_url*' as well. This shouldn't happen.


(In [7095]) Fixes #3311, use more granular SELECT in Piwik_Archive_Single::preFetchBlob & add test to make sure extra blobs are not selected.


(In [7099]) Refs #3311, clarify test case.

@diosmosis diosmosis added this to the 1.9 -- Piwik 1.9 milestone
@diosmosis diosmosis self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.