• guilhem@mysql.com's avatar
    First push for WL#3146 "less locking in auto_increment". It is a 0-real-change patch. · a4e778f3
    guilhem@mysql.com authored
    New prototype for get_auto_increment() (but new arguments not yet used), to be able
    to reserve a finite interval of auto_increment values from cooperating engines.
    A hint on how many values to reserve is found in handler::estimation_rows_to_insert,
    filled by ha_start_bulk_insert(), new wrapper around start_bulk_insert().
    NOTE: this patch changes nothing, for all engines. But it makes the API ready for those
    engines which will want to do reservation.
    More csets will come to complete WL#3146.
    a4e778f3
handler.cc 94.9 KB