• Anel Husakovic's avatar
    PR #1127 and PR #1150 · 8129ff14
    Anel Husakovic authored
    PR#1127: Fix is_check_constraints.result to be compatibile with 10.3
    
    The patch is done according to the original patch for MDEV-14474
    1edd09c325525cba33152 and not one which is merged on server
    d526679e.
    This patch includes:
    - Rename from `is_check_constraint` to `is_check_constraints` to tests
    and results
    - Per review, change the order of fields in IS check_constraints table by adding
    the column `table_name` before `constraint_name`. According to the standard
    2006 there is no `table_name` column.
    - Original patch and one in `10.3` supports embedded server this patch doesn't
    support. After the merge `10.3` will not support also.
    - Don't use patch c8b8b01b61 to change the length of `CHECK_CLAUSE` field
    
    PR#1150: MDEV-18440: Information_schema.check_constraints possible data leak
    
    This patch is extension of PR 1127 and includes:
    - Check for table grants
    - Additional test according to the MDEV specification
    Signed-off-by: default avatarVicențiu Ciorbaru <vicentiu@mariadb.org>
    8129ff14
sql_show.cc 332 KB