• Marko Mäkelä's avatar
    MDEV-21254 Remove unused keywords from the InnoDB SQL parser · 292015d4
    Marko Mäkelä authored
    The InnoDB internal SQL parser, which is used for updating the InnoDB
    data dictionary tables (to be removed in MDEV-11655), persistent
    statistics (to be refactored in MDEV-15020) and fulltext indexes,
    implements some unused keywords and built-in functions:
    
    OUT BINARY BLOB INTEGER FLOAT SUM DISTINCT READ
    COMPACT BLOCK_SIZE
    TO_CHAR TO_NUMBER BINARY_TO_NUMBER REPLSTR SYSDATE PRINTF ASSERT
    RND RND_STR ROW_PRINTF UNSIGNED
    
    Also, procedures are never declared with parameters. Only one top-level
    procedure is declared and invoked at a time, and parameters are being
    passed via pars_info_t.
    292015d4
pars0grm.cc 82.7 KB