• kroki@mysql.com's avatar
    bug #20152: mysql_stmt_execute() overwrites parameter buffers · 79ca4c1d
    kroki@mysql.com authored
    When using a parameter bind MYSQL_TYPE_DATE in a prepared statement,
    the time part of the MYSQL_TIME buffer was written to zero in
    mysql_stmt_execute(). The param_store_date() function in libmysql.c
    worked directly on the provided buffer.
    Changed to use a copy of the buffer.
    79ca4c1d
mysql_client_test.c 314 KB