• Sergei Golubchik's avatar
    MDEV-32862 MYSQL struct in C/C and server differs · c432c9ef
    Sergei Golubchik authored
    move MYSQL::fields down, replacing MYSQL::unused5
    
    this way only MYSQL::fields and MYSQL::field_alloc will still have
    different offset in C/C and the server, but all other MYSQL members
    will get back in sync.
    
    luckily, plugins shouldn't need MYSQL::fields or MYSQL::field_alloc
    
    added a check to ensure both MYSQL structures are always of
    the same size.
    c432c9ef
mysql.h 38.8 KB