Merge branch 'develop' into 1.2.1-binlog_router_trx

This commit is contained in:
MassimilianoPinto
2015-09-14 21:13:14 +02:00

View File

@ -1781,6 +1781,14 @@ char *rval;
// Finally we have reached the row // Finally we have reached the row
len = EXTRACT24(ptr); len = EXTRACT24(ptr);
ptr += 4; ptr += 4;
/** The first EOF packet signals the start of the resultset rows and the second
EOF packet signals the end of the result set. If the resultset
contains a second EOF packet right after the first one, the result set is empty and
contains no rows. */
if(len == 5 && *ptr == 0xfe)
return NULL;
while (--col > 0) while (--col > 0)
{ {
collen = *ptr++; collen = *ptr++;