Error in DESCRIBE PLAN SELECT COUNT(*) FROM table
on running server
#8882
Labels
bug
Something isn't working
customer issue
sql server
Issues related to the built in SQL server
sql
Issue with SQL
Connecting to a running server and running a query of the form
DESCRIBE PLAN SELECT COUNT(*) FROM table
results in an error:Error 1105 (HY000): result max1Row iterator returned more than one row
This only happens when connecting to a server, and not when running
dolt sql
locally.This seems to be happening because the presence of the
COUNT
expression causes the analyzer to set thesql.QFlagMax1Row
flag, but theDESCRIBE
statement produces a row for each line in the plan.The text was updated successfully, but these errors were encountered: