• Sergei Golubchik's avatar
    cleanup: VCOL_NOT_VIRTUAL->VCOL_NEXTVAL · a6b327e9
    Sergei Golubchik authored
    rename to stress that is a specific hack for Item_func_nextval
    and should not be used for other items.
    
    If a vcol uses Item_func_nextval, a corresponding table for the sequence
    should be added to the prelocking list (in that sense NEXTVAL is not
    simply a function, but more like a subquery), see add_internal_tables()
    in DML_prelocking_strategy::handle_table(). At the moment it is only
    implemented for DEFAULT, not for GENERATED ALWAYS AS, thus the
    VCOL_NEXTVAL hack.
    a6b327e9
gcol_blocked_sql_funcs_main.inc 10.6 KB