Hi all. I have been sent some query data from our sysadmin - apparently multiple inserts and deletes are happening on the variables table and they are all emanating from conditional-style to the extent where they have caused outages. No other queries coming from any other modules when the theme registry is rebuilt, and they originate from _conditional_styles_theme in conditional_styles.theme.inc. Has anyone else seen this issue?

Sample output attached.

CommentFileSizeAuthor
query_log.txt11.91 KBbuddhamagnet

Comments

johnalbin’s picture

Category: support » bug

Sounds like a bug.

xurizaemon’s picture

Yeah, looks like this might get a bit DB-heavy if !$conditional_styles? Looks like theme function is going to set about trying to delete a variable for each theme (enabled?), and then reset the variables cache.

http://drupalcode.org/project/conditional_styles.git/blob/refs/heads/6.x...

astonvictor’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I'm closing it because the issue was created a long time ago without any further steps.

if you still need it then raise a new one.
thanks