You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-08 14:02:17 +03:00
Merge branch '3.1' into 3.3
This commit is contained in:
@@ -1043,7 +1043,7 @@ unpack_fields(const MYSQL *mysql,
|
|||||||
for (i=0; i < field_count; i++)
|
for (i=0; i < field_count; i++)
|
||||||
{
|
{
|
||||||
uint length= (uint)(row->data[i+1] - row->data[i] - 1);
|
uint length= (uint)(row->data[i+1] - row->data[i] - 1);
|
||||||
if (!row->data[i] && row->data[i][length])
|
if (!row->data[i] || row->data[i][length])
|
||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
*(char **)(((char *)field) + rset_field_offsets[i*2])=
|
*(char **)(((char *)field) + rset_field_offsets[i*2])=
|
||||||
|
Reference in New Issue
Block a user