1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

BUG#19914 SELECT COUNT(*) sometimes returns MAX_INT on cluster tables

allow handler::info to return an error code (that will be returned to the user)
This commit is contained in:
stewart@willster.(none)
2006-08-10 22:55:20 +08:00
parent 50ae5b7989
commit 9d2e6b8d23
21 changed files with 53 additions and 35 deletions

View File

@ -537,6 +537,8 @@ JOIN::optimize()
{
if (res > 1)
{
thd->fatal_error();
error= res;
DBUG_RETURN(1);
}
if (res < 0)