FirebirdSQL / NETProvider

Firebird ADO.NET Data Provider
https://www.firebirdsql.org/en/net-provider/
Other
152 stars 63 forks source link

Update NamedParametersParser.cs #1179

Open PaulGardner1 opened 1 week ago

PaulGardner1 commented 1 week ago

Thought I submitted this already but I cannot find it. This fixes comments in a command https://github.com/FirebirdSQL/NETProvider/issues/184

IT also fixes quotes in a comment which breaks things too.

-- This is a comment with a quote '. That quote will break as -- it thinks the next quote on the email ends a string and -- the param symbol starts a parameter update foo set email = 'me@here.com';