To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=103425
                 Issue #|103425
                 Summary|Query parser does not recognize MySQL version of dated
                        |iff
               Component|Database access
                 Version|OOO310m14
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|MySQL Connector/OOo
             Assigned to|dbaneedsconfirm
             Reported by|atjensen





------- Additional comments from [email protected] Wed Jul  8 22:00:13 
+0000 2009 -------
The query parser for OO.o currently only supports a datediff function with 3
parameters:

datediff( string, date1, date2 )

Where string allows for setting the type of return value: days, hours, seconds, 
etc.

MySQL however only supports a datediff with 2 parameters, datediff(date1, date2)
and always returns days.

So the datediff function requires that escape processing be turned off, and may
not be used in the Query Deisgner at all.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to