• Oleg Smirnov's avatar
    MDEV-33281 Implement optimizer hints · dd8934bd
    Oleg Smirnov authored
    Forbid adding optimizer hints to view definitions.
    In the case when optimizer hints are added to the view definition
    at a `CREATE (OR REPLACE) VIEW`/`ALTER VIEW` statement, a warning is
    generated and the hints are ignored.
    
    This commit also disables ps-protocol for test cases where
    `Unresolved table/index name` warnings are generated. The reason
    for this is such warnings are generated during both PREPARE
    and EXECUTE stages. Since opt_hints.test has `--enable_prepare_warnings`,
    running it with `--ps-protocol` causes duplication of warning messages
    dd8934bd
lowercase_table.test 5.71 KB