Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Piwik_Archive_Single::preFetchBlob can select extra unnecessary blobs #3311

Closed
diosmosis opened this Issue · 2 comments

1 participant

@diosmosis
Collaborator

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.

@diosmosis
Collaborator

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

@diosmosis
Collaborator

(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.