Commit a44dfdde authored by monty@mashka.mysql.fi's avatar monty@mashka.mysql.fi

Fix wrong increment in prepared statements handling

parent f5dab36a
...@@ -4186,7 +4186,7 @@ mysql_send_long_data(MYSQL_STMT *stmt, uint param_number, ...@@ -4186,7 +4186,7 @@ mysql_send_long_data(MYSQL_STMT *stmt, uint param_number,
static void fetch_result_tinyint(MYSQL_BIND *param, uchar **row) static void fetch_result_tinyint(MYSQL_BIND *param, uchar **row)
{ {
*param->buffer= (uchar) **row; *param->buffer= (uchar) **row;
*row++; (*row)++;
} }
static void fetch_result_short(MYSQL_BIND *param, uchar **row) static void fetch_result_short(MYSQL_BIND *param, uchar **row)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment