mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Window functions: return error if aggregate is not supported as window functions
This commit is contained in:
@@ -1766,7 +1766,8 @@ bool Window_func_runner::setup(THD *thd)
|
||||
break;
|
||||
}
|
||||
default:
|
||||
DBUG_ASSERT(0);
|
||||
my_error(ER_NOT_SUPPORTED_YET, MYF(0), "This aggregate as window function");
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user