MCPcopy Create free account
hub / github.com/bareos/bareos / WriteBatchFileRecords

Method WriteBatchFileRecords

core/src/cats/sql_create.cc:772–836  ·  view source on GitHub ↗

* All sql_batch_* functions are used to do bulk batch insert in * File/Filename/Path tables. * * To sum up : * - bulk load a temp table * - insert missing paths into path with another single query (lock Path table * to avoid duplicates). * - then insert the join between the temp, filename and path tables into file. * * Returns: false on failure * true on success */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

do_scanFunction · 0.80
DoNdmpBackupFunction · 0.80
CatalogRequestFunction · 0.80
DoActualMigrationFunction · 0.80
DoNativeBackupFunction · 0.80
DoNativeVbackupFunction · 0.80
DoVerifyFunction · 0.80

Calls 7

Dmsg0Function · 0.85
Dmsg1Function · 0.85
getJobStatusMethod · 0.80
setJobStatusMethod · 0.80
SqlQueryMethod · 0.80
JmsgFunction · 0.50
SqlBatchEndFileTableMethod · 0.45

Tested by

no test coverage detected