#8 sql comment bug

closed
nobody
None
5
2004-05-20
2003-01-31
Daniel Berger
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

    • status: open --> closed
     
  • Logged In: YES
    user_id=13175

    fixed