• Vladislav Vaintroub's avatar
    MDEV-19237 Skip sending metadata when possible for binary protocol. · 295f3e4c
    Vladislav Vaintroub authored
    Do not resend metadata, if metadata does not change between prepare and
    execute of prepared statement, or between executes.
    
    Currently, metadata of *every* prepared statement will be checksummed,
    and change is detected once checksum changes.
    
    This is not from ideal, performance-wise. The code for
    better/faster detection of unchanged metadata, is already in place, but
    currently disabled due to PS bugs, such as MDEV-23913.
    295f3e4c
sql_prepare.cc 174 KB