Menu

#371 PostgreSQL missing update for LastUpdateCount

7.2.4
closed
None
2019-09-15
2019-09-09
maciej-izak
No

Hello,

the method TZPostgreSQLPreparedStatement.ExecuteUpdatePrepared has missing update for LastUpdateCount. The problem is highly visible in framework like mORMot, the reported state of "updated count" of records is always equal to 0 (even when some records were updated).

Patch attached (anyway may be worth to check also TZPostgreSQLCallableStatement.ExecuteUpdatePrepared where assignemnt LastUpdateCount not occurs and other ExecuteUpdatePrepared from other drivers)

1 Attachments

Discussion

  • EgonHugeist

    EgonHugeist - 2019-09-15

    applied as is.
    Thank you again

     
  • EgonHugeist

    EgonHugeist - 2019-09-15
    • status: open --> closed
    • assigned_to: EgonHugeist
     

Log in to post a comment.

MongoDB Logo MongoDB