You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Allow MemContext objects to be copied to a new parent.
This makes it easier to create objects and then copy them to another context when they are complete without having to worry about freeing them on error. Update List, StringList, and Buffer to allow moves. Update Ini and Storage to take advantage of moves.
This commit is contained in:
@@ -135,7 +135,7 @@ my $oTestDef =
|
||||
},
|
||||
{
|
||||
&TESTDEF_NAME => 'mem-context',
|
||||
&TESTDEF_TOTAL => 6,
|
||||
&TESTDEF_TOTAL => 7,
|
||||
&TESTDEF_C => true,
|
||||
&TESTDEF_CDEF => '-DNO_MEM_CONTEXT -DNO_LOG',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user