mariadb/storage/innobase/pars
Marko Mäkelä 4cd063b9e4 MDEV-26376 pars_info_bind_id() unnecessarily copies strings
pars_info_bind_id(): Remove the parameter copy_name. It was always
being passed as constant TRUE or true. It turns out that copying
the string is completely unnecessary. In all calls except the one
in fts_get_select_columns_str() and fts_doc_fetch_by_doc_id(),
the parameter is being passed as a compile-time constant, and therefore
the pointer cannot become stale. In that special call, the string
that is being passed is allocated from the same memory heap that
pars_info_bind_id() would have been using.

pars_info_add_id(): Remove (unused declaration).
2021-08-16 12:10:20 +03:00
..
lexyy.cc MDEV-21254 Remove unused keywords from the InnoDB SQL parser 2019-12-09 12:32:04 +02:00
make_bison.sh Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
make_flex.sh Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
pars0grm.cc MDEV-21254 Remove unused keywords from the InnoDB SQL parser 2019-12-09 12:32:04 +02:00
pars0grm.y MDEV-21254 Remove unused keywords from the InnoDB SQL parser 2019-12-09 12:32:04 +02:00
pars0lex.l MDEV-21254 Remove unused keywords from the InnoDB SQL parser 2019-12-09 12:32:04 +02:00
pars0opt.cc Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
pars0pars.cc MDEV-26376 pars_info_bind_id() unnecessarily copies strings 2021-08-16 12:10:20 +03:00
pars0sym.cc Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00