/* *Structfortrackinglocations/lengthsofconstantsduringnormalization
*/ typedefstruct LocationLen
{ int location; /* start offset in query text */ int length; /* length in bytes, or -1 to ignore */
/* Does this location represent a squashed list? */ bool squashed;
/* Is this location a PARAM_EXTERN parameter? */ bool extern_param;
} LocationLen;
/* *Workingstateforcomputingaqueryjumbleandproducinganormalized *querystring
*/ typedefstruct JumbleState
{ /* Jumble of current query tree */ unsignedchar *jumble;
/* Number of bytes used in jumble[] */
Size jumble_len;
/* Array of locations of constants that should be removed */
LocationLen *clocations;
/* Allocated length of clocations array */ int clocations_buf_size;
/* Current number of valid entries in clocations array */ int clocations_count;
/* *IDofthehighestPARAM_EXTERNparameterwe'veseeninthequery;used *tostartnormalizationcorrectly.However,ifthereareanysquashed *listsinthequery,wedisregardquery-suppliedparameternumbersand *renumbereverything.Thisistoavoidpossiblegapscausedby *squashingincaseanyparamsareinsquashedlists.
*/ int highest_extern_param_id;
/* Whether squashable lists are present */ bool has_squashed_lists;
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.