Branch: Tag:

2018-05-01

2018-05-01 00:11:28 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Report correct affected_rows() for INSERTs.

768:    /*semi*/final int affected_rows() {    int rows;    if (statuscmdcomplete) -  sscanf(statuscmdcomplete, "%*s %d", rows); +  sscanf(statuscmdcomplete, "%*s %d %d", rows, rows);    return rows;    }