From 024d6d2d7aa54e42674cd0075e41b73508d6f5fc Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Mon, 3 Apr 2023 15:07:29 +0900 Subject: [PATCH] Bug fix in DB\IO returning call check --- src/DB/IO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DB/IO.php b/src/DB/IO.php index f54cc82..6e2b881 100644 --- a/src/DB/IO.php +++ b/src/DB/IO.php @@ -280,7 +280,7 @@ class IO /** @var string default hash type */ public const ERROR_HASH_TYPE = 'adler32'; /** @var string regex to get returning with matches at position 1 */ - public const REGEX_RETURNING = '/\s+returning\s+(.+?);?$/i'; + public const REGEX_RETURNING = '/\s+returning\s+(.+\s*(?:.+\s*)+);?$/i'; // recommend to set private/protected and only allow setting via method // can bet set from outside