diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2018-12-15 14:05:11 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-12-24 14:21:39 +0100 |
commit | 21b80a89b0d34318c257cc93eba9333228f1854e (patch) | |
tree | 6498ba4ecc940040857a32c2558df28263c60ea3 /apps/comments | |
parent | 027f69df3f669df1d30f0dc32f7c29b9f4603ed8 (diff) | |
download | nextcloud-server-21b80a89b0d34318c257cc93eba9333228f1854e.tar.gz nextcloud-server-21b80a89b0d34318c257cc93eba9333228f1854e.zip |
Fetch lastInsertId only when id null
When id column has no autoincrement flag query for lastInsertId fails
on postgres because no value has been generated. Call lastInsertId only
if id is null.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/comments')
0 files changed, 0 insertions, 0 deletions