Opened 3 years ago

Closed 3 years ago

#2267 closed Bug (fixed)

Piwik_Exec doesn't seem to log the query in the profiler

Reported by: matt Owned by:
Priority: normal Milestone: Piwik 1.3
Component: Core Keywords:
Cc: Sensitive: no


This is rather annoying, maybe a bug/feature in Zend or something..

Change History (4)

comment:1 Changed 3 years ago by vipsoft (robocoder)

When using PDO_MYSQL, Piwik_Exec() calls ZendFramework which in turn uses the PDO driver's native exec() function. So, no profiling.

comment:2 Changed 3 years ago by matt (mattab)

so this is a bug in Zend profiler

what was the reason to use Piwik_Exec instead of Piwik_query? does it bring better performance somehow?

comment:3 Changed 3 years ago by vipsoft (robocoder)

Some queries (eg DDL) can't be prepared.

comment:4 Changed 3 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [4348]) Fixes #2267 Each LOAD DATA INFILE will be profiled separately, but better than no profiling at all!

Note: See TracTickets for help on using tickets.