From 200c3636b600ac2f997316612f1b1321112496cd Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 5 May 2026 12:24:11 +0100 Subject: Only call entity insert handler if detail is null Improves handling of entity inserts where the entity already exists and already has detail; does not call the onInsert handler. This avoids repeatedly fetching UA detail every time the UA is first seen by a process. --- src/sql/entityInsert.sql | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sql/entityInsert.sql') diff --git a/src/sql/entityInsert.sql b/src/sql/entityInsert.sql index f518617..11e60af 100644 --- a/src/sql/entityInsert.sql +++ b/src/sql/entityInsert.sql @@ -1,2 +1,4 @@ SELECT + * +FROM entity(?, ?) -- cgit v1.3