Skip to content
  • magnus.blaudd@oracle.com's avatar
    2971626e
    Bug#16731538 MYSQLD CRITICAL FAILURE DURING ORDERED SELECT FROM NDBINFO.CLUSTER_OPERATIONS · 2971626e
    magnus.blaudd@oracle.com authored
     - The filesort() function asks the handler implementation how many rows are expected
       with estimate_rows_upper_bound(). The default implementation of that function(in handler.h)
        is to return "stats.records+EXTRA_RECORDS" where EXTRA_RECORDS is defined as 10. Unless
       the handler implementation has filled in stats.records it will be 0 and thus 10 will be used for
       calculating size of sort buffer etc.
    
     - Implement ha_ndbinfo::estimate_rows_upper_bound() to return "many" rows
    2971626e
    Bug#16731538 MYSQLD CRITICAL FAILURE DURING ORDERED SELECT FROM NDBINFO.CLUSTER_OPERATIONS
    magnus.blaudd@oracle.com authored
     - The filesort() function asks the handler implementation how many rows are expected
       with estimate_rows_upper_bound(). The default implementation of that function(in handler.h)
        is to return "stats.records+EXTRA_RECORDS" where EXTRA_RECORDS is defined as 10. Unless
       the handler implementation has filled in stats.records it will be 0 and thus 10 will be used for
       calculating size of sort buffer etc.
    
     - Implement ha_ndbinfo::estimate_rows_upper_bound() to return "many" rows
Loading