Modify

Opened 5 years ago

#6792 new defect

Error: Macro TicketCountQuery

Reported by: vbner1234 Owned by: coderanger
Priority: normal Component: MacroPostPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I have a problem when I use Macro TicketCountQuery. Here is the code that works fine when use the sqlite database, but after change the database to mysql, it shows the error messages, Does someone know how to fix it? thanks


command:

TicketCountQuery(query=created=today;, groupby=owner, title=Tickets Created Today)?


error messages: Error: Macro TicketCountQuery(query=created=today;, groupby=owner, title=Tickets Created Today) failed

1064You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') FROM (SELECT t.id AS id,t.owner AS owner,t.status AS status,t.priority AS prio' at line 1

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new The owner will remain coderanger.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.