Menu

#8 sql comment bug

closed
nobody
None
5
2004-05-20
2003-01-31
No

Apostrophes in comments aren't parsed properly when
used in conjunction with placeholders.

example:

--Dan's minstrel wrote this
select col1, col2
from sometable
where col1 = ?

I believe the problem is the "tokens" method in sql.rb.

Discussion

  • Michael Neumann

    Michael Neumann - 2004-05-20
    • status: open --> closed
     
  • Michael Neumann

    Michael Neumann - 2004-05-20

    Logged In: YES
    user_id=13175

    fixed

     

Log in to post a comment.