Skip to content

Commit

Permalink
NoBlobBindArray should not affect DELETE operations
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed Feb 27, 2023
1 parent 7609b12 commit 9f3be90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ A huge *THANK YOU* is worth giving to all of the contributors of our Open Source
- Martin Doyle
- Martin Eckes
- Martin Suer
- Mateus Abade
- Matkov
- Maxim Masiutin
- Mazinsw
Expand Down
2 changes: 1 addition & 1 deletion src/mormot.commit.inc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
'2.0.4975'
'2.0.4976'
1 change: 1 addition & 0 deletions src/orm/mormot.orm.sql.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,7 @@ function TRestStorageExternal.InternalBatchStart(Encoding: TRestBatchEncoding;
(BATCH[Method] in fProperties.BatchSendingAbilities) then
begin
if (boMayHaveBlob in BatchOptions) and
(Method <> mDELETE) and
fProperties.NoBlobBindArray then
exit; // slower but safer access with no array binding
StorageLock(true {$ifdef DEBUGSTORAGELOCK}, 'ExtBatchStart' {$endif});
Expand Down

0 comments on commit 9f3be90

Please sign in to comment.