More cursor-related details in the plan output#7441
Conversation
…s, show cursor names/options, report line numbers
|
|
||
| // SubQuery class (simplified forward-only cursor) | ||
|
|
||
| class SubQuery : public Select |
There was a problem hiding this comment.
Looks like SubQuery and Cursor may be declared as final classes.
| bool Cursor::fetchNext(thread_db* tdbb) const | ||
| { | ||
| if (m_scrollable) | ||
| if (m_rse->flags & RseNode::FLAG_SCROLLABLE) |
There was a problem hiding this comment.
An inline isScrollable() method would make code more clear.
|
Is this going to beta 1? I already started to add same information to the profiler, with means another table for cursor data (it was under a TODO, but now that data should be available) and would like to avoid add migrations after beta 1. |
|
It does not interfere. |
|
This patch is not critical for Beta (which is late enough), so I planned to merge it later. |
|
This comment became not true as now the name of |
|
I print cursor names only for |
We can't do it with I'm implementing it for #7442. |
I committed it (74a18d9). It's much more related to this branch, so we can cherry-pick it here without conflicts if you want. |
|
QA note. |
Examples: