In reports, need to use one or the other consistently, not mix them all over the place.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kbahey’s picture

Project: Performance Logging and Monitoring » Devel
Version: 5.x-1.x-dev » 6.x-1.x-dev
Component: User interface » performance

Moving to devel queue, since the module is now part of that.

fgm’s picture

Status: Active » Needs review
FileSize
14.59 KB

Suggested patch converts all to "ms", in both DB, APC, and reports.

kbahey’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Needs review » Patch (to be ported)

Thank you.

Committed to D6. Needs to be ported to D7.

fgm’s picture

Status: Patch (to be ported) » Needs review
FileSize
15.48 KB
0 bytes

D7 version.

kbahey’s picture

Status: Needs review » Needs work

Frederik,

Another big patch went in a few minutes ago and now this patch has some failed hunks.

Can you please re-roll against what is in HEAD CVS?

fgm’s picture

Status: Needs work » Needs review
FileSize
16.58 KB

Yay, DBTNG ! One less on my to-do list :-)

New version.

kbahey’s picture

Status: Needs review » Fixed

Committed to 7.x.

Thank you.

carlos8f’s picture

Status: Fixed » Active

This update failed for me, with a SQL syntax error. I'm not immediately sure why. Using latest D7 and devel HEAD.

Failed: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'm(m, m) unsigned NOT NULL auto_increment COMMENT 'm', ADD' at line 1 
carlos8f’s picture

Also found this in the watchdog table:

Location
http://d7.7/update.php?op=start&id=2

Message	Warning: array_key_exists() expects parameter 2 to be array, string given in DatabaseSchema_mysql->createFieldSql() (line 128 of htdocs/includes/database/mysql/schema.inc).
kbahey’s picture

Status: Active » Fixed

No, it is not this issue. It is #667788: DBTNG Performance module.

carlos8f’s picture

Status: Fixed » Reviewed & tested by the community
FileSize
1.25 KB
+++ performance/performance.install	25 Dec 2009 17:20:15 -0000
@@ -124,3 +125,23 @@ function performance_update_7001() {
+  if (!function_exists('apc_fetch')) {
+    apc_clear_cache('user');
+  }

Oops, fatal error from this too :( Attached patch fixes both of these.

kbahey’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thank you.

carlos8f’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Reviewed & tested by the community
FileSize
713 bytes

Backport: folks without APC get a fatal error during update :-/

kbahey’s picture

Status: Reviewed & tested by the community » Fixed

Committed. Thanks

Status: Fixed » Closed (fixed)

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