https://bugs.documentfoundation.org/show_bug.cgi?id=104986

--- Comment #19 from Lionel Elie Mamane <lio...@mamane.lu> ---
(In reply to Lionel Elie Mamane from comment #18)
> There is probably a much more robust way to do it... One only has to grossly
> lex the SQL, just keeping track of whether on is inside a '-delimited string
> or a "-delimited identifier. And outside of that, replace any word that
> starts with ":" with "?".

It is not quite as easy as I thought, but I think I have a good draft that
works for Firebird at least (it wouldn't for PostgreSQL). This assumes that ":"
is not allowed in many places in Firebird SQL.

It is at https://gerrit.libreoffice.org/47283

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to