summaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2018-12-15 14:05:11 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-12-24 14:21:39 +0100
commit21b80a89b0d34318c257cc93eba9333228f1854e (patch)
tree6498ba4ecc940040857a32c2558df28263c60ea3 /apps/comments
parent027f69df3f669df1d30f0dc32f7c29b9f4603ed8 (diff)
downloadnextcloud-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