Explain plan bug

Toad 12.9.0.71 (but saw this problem before as well).

  1. Start query (F9) in editor (no selection at all, sql determined with ";"
  2. while SQL is running (sometimes saw that even SQL finished), I click on the plan button
  3. Somehow toad select first word and report an error

but couldn't reproduce this bug all the time.

Bug is present on 11 and 12 databases so I think it is something related to "internal" Toad parsing and manipulating with SQL text.

Brg

Damir