src/cats/sql_create.c
static void db_cleanup_base_file(JCR *jcr, BDB *mdb)
{
   POOL_MEM buf(PM_MESSAGE);
   Mmsg(buf, "DROP TABLE new_basefile%lld", (uint64_t) jcr->JobId);
   mdb->bdb_sql_query(buf.c_str(), NULL, NULL);

   Mmsg(buf, "DROP TABLE basefile%lld", (uint64_t) jcr->JobId);
   mdb->bdb_sql_query(buf.c_str(), NULL, NULL);
}
/**
 * Cleanup the base file temporary tables
 */
Cleanup the base file temporary tables
Cleanup the base file temporary tables
static void db_cleanup_base_file(JCR *jcr, BDB *mdb)
{
   POOL_MEM buf(PM_MESSAGE);
   Mmsg(buf, "DROP TABLE new_basefile%lld", (uint64_t) jcr->JobId);
   mdb->bdb_sql_query(buf.c_str(), NULL, NULL);
   Mmsg(buf, "DROP TABLE basefile%lld", (uint64_t) jcr->JobId);
   mdb->bdb_sql_query(buf.c_str(), NULL, NULL);
}
static void db_cleanup_base_file ( JCR * jcr , BDB * mdb ) { POOL_MEM buf ( PM_MESSAGE ) ; Mmsg ( buf , " " , ( uint64_t ) jcr -> JobId ) ; mdb -> bdb_sql_query ( buf . c_str ( ) , NULL , NULL ) ; Mmsg ( buf , " " , ( uint64_t ) jcr -> JobId ) ; mdb -> bdb_sql_query ( buf . c_str ( ) , NULL , NULL ) ; }
Cleanup the base file temporary tables
Cleanup the base file temporary tables