• Sergei Golubchik's avatar
    MDEV-12161 Can't specify collation for virtual columns · 4c448836
    Sergei Golubchik authored
    sql standard (2016) allows <collate clause> in two places in the
    <column definition> - as a part of the <data type> or at the very end.
    
    Let's do that too.
    
    Side effect: in column/SP declaration `COLLATE cs_coll` automatically
    implies `CHARACTER SET cs` (unless charset was specified explicitly).
    See changes in sp-ucs2.result
    4c448836
sql_show.cc 333 KB