Help - Search - Members - Calendar
Full Version: Comment Disables Rest Of Query
Webyog Forums > SQLyog > SQLyog: Bugs / Feature Requests
tdj
If you place a comment in the query, using 4.2 beta 1, the rest of the query is ignored. Priviously, you could have several lines that you could comment in / out, to quickly switch things on and off.

This will return all records, not a selection
CODE
select * from mytable
-- where c1 = 2  (commented out)
where c1 = 11


This query is ignored completely, nothing is output
CODE
-- query to select all records
-- test of comments
select * from mytabl
Ritesh
Bug confirmed.

We have changed the SQL lexer in v4.1. The bug will fixed in BETA 2.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.