• guilhem@mysql.com's avatar
    API change: mysql_shutdown() now needs a 2nd parameter, the shutdown level. · f1fda638
    guilhem@mysql.com authored
    Server will however still accept shutdown without specified level; so that old
    mysqladmin can still shut server down.
    I would like your comments on the names of shutdown level which I chose. You
    are welcome to propose better names. Please however check WL#709 before.
    Reason for the names I propose is to be accurate, thus leaving possibility
    for other levels which we may imagine in the future; that's why I have rejected
    names like "fast", "smart", "graceful" so far. My position is that WAIT_ALL_BUFFERS
    or WAIT_CRITICAL_BUFFERS say what the shutdown does, whereas for "smart", "fast" you
    need to remember what it does.
    This should be pushed in 4.1.3 but only after your comments.
    f1fda638
mysqlmanager.c 44.4 KB