Commit da6e29a6 authored by unknown's avatar unknown

Fix wrong increment in prepared statements handling


libmysql/libmysql.c:
  Fix wrong increment
parent 52f18046
...@@ -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