Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [parser] MySQL driver should recognise "regexp" keyword | ||
---|---|---|---|
Product: | Base | Reporter: | ingenstans |
Component: | code | Assignee: | AOO issues mailing list <issues> |
Status: | CONFIRMED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P4 | CC: | issues |
Version: | OOo 1.1 RC5 | Keywords: | needhelp |
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
ingenstans
2003-10-21 03:02:53 UTC
Due to your last paragraph, I assume that using REGEXP together with parameters is the real intention here :). One way would be what you suggested - enhance the parser, so that it recognizes this keyword. However, enhancing the parser with keywords which are too database-specific should be done very carefully only. The other possible solution would be to allow parameters for "native" queries, too. At the moment, the parameter information is obtained by our SQL parser, so if a statement is not parseable, there are no parameters. We could alternatively allow the user to declare a number of parameters even for native statements where we cannot find the parameters ourself ... fs->oj: if somebody is every to implement this, then most probably you :) change subcomponent to 'none' |