Hi Tomasz,
is it possible to use 'INSERT IGNORE' mysql command with Sequoia and
myosotis?
Right now the Sequoia parser will not support this.
You can modify the regexp in
org.continuent.sequoia.controller.requests.InsertRequest from:
private static final String INSERT_REQUEST_PATTERN_STRING =
"^insert\\s+(into\\s+)?(only\\s+)?([^(\\s|\\()]+)(\\s*\\(.*\\)\\s*|\\s+)(values|select)(.*)";
to:
private static final String INSERT_REQUEST_PATTERN_STRING =
"^insert\\s+(into\\s+)?(only\\s+)?(ignore\\s+)?([^(\\s|\\()]+)(\\s*\\(.*\\)\\s*|\\s+)(values|select)(.*)";
and that should work.
I recommend that you post a JIRA entry for a new feature request so that
we can add support for this.
Thanks for your feedback,
Emmanuel
--
Emmanuel Cecchet
FTO @ Frog Thinker
Open Source Development & Consulting
--
Web: http://www.frogthinker.org
email: [EMAIL PROTECTED]
Skype: emmanuel_cecchet
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia