YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftware
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
class SQL_SELECT; class THD; struct TABLE; class Filesort_tracker; struct SORT_FIELD; struct SORT_FIELD_ATTR; typedefstruct st_order ORDER; class JOIN; class Addon_fields; class Sort_keys;
/** Sortingrelatedinfo. TobeextendedbyanotherWLtoincludecompletefilesortimplementation.
*/ class Filesort: public Sql_alloc
{ public: /** List of expressions to order the table by */
ORDER *order; /** Number of records to return */
ha_rows limit; /** ORDER BY list with some precalculated info for filesort */
SORT_FIELD *sortorder; /* Used with ROWNUM. Contains the number of rows filesort has found so far */
ha_rows *accepted_rows; /** select to use for getting records */
SQL_SELECT *select;
/** TRUE <=> free select on destruction */ bool own_select; /** TRUE means we are using Priority Queue for order by with limit. */ bool using_pq; /* TRUEmeanssortoperationmustproducetablerowids. FALSEmeansthatitalsohasanoptionofproducing{sort_key,addon_fields} pairs.
/* Howmanyrowsinfinalresult. Alsohowmanyrowsinrecord_pointers,ifused
*/
ha_rows return_rows;
ha_rows m_examined_rows; /* How many rows read. Already in thd */
ha_rows found_rows; /* How many rows was accepted */
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.13Bemerkung:
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.