summaryrefslogtreecommitdiff
path: root/sql/frm_crypt.cc
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2020-04-25 14:27:00 +0530
committerThirunarayanan Balathandayuthapani <thiru@mariadb.com>2020-05-03 20:04:20 +0530
commit54f36718c6b91834726ac6a458aa7d8af6823ebf (patch)
treed5d9d2fb6629739d3451cf7ecc4c91f9cb0bb749 /sql/frm_crypt.cc
parent9a6bf92b3551ff49e15606143faff3eae319edd3 (diff)
downloadmariadb-git-bb-10.3-MDEV-16288.tar.gz
MDEV-16288 ALTER TABLE…ALGORITHM=DEFAULT does not override alter_algorithmbb-10.3-MDEV-16288
- ALTER_ALGORITHM should be substituted when there is no mention of algorithm in alter statement. - Introduced algorithm(thd) in Alter_info. It returns the user requested algorithm. If user doesn't specify algorithm explicitly then it returns alter_algorithm variable. - changed algorithm() to get_algorithm(thd) to return algorithm name for displaying the error. - set_requested_algorithm(algo_value) to avoid direct assignment on requested_algorithm variable. - Avoid direct access of requested_algorithm to encapsulate requested_algorithm variable
Diffstat (limited to 'sql/frm_crypt.cc')
0 files changed, 0 insertions, 0 deletions