Remove explicit transactions from export (#4610)
This commit is contained in:
parent
5e43642c06
commit
050f7c577b
1 changed files with 0 additions and 14 deletions
|
@ -126,13 +126,6 @@ impl Transaction {
|
|||
chn.send(bytes!("")).await?;
|
||||
}
|
||||
}
|
||||
// Start transaction
|
||||
chn.send(bytes!("-- ------------------------------")).await?;
|
||||
chn.send(bytes!("-- TRANSACTION")).await?;
|
||||
chn.send(bytes!("-- ------------------------------")).await?;
|
||||
chn.send(bytes!("")).await?;
|
||||
chn.send(bytes!("BEGIN TRANSACTION;")).await?;
|
||||
chn.send(bytes!("")).await?;
|
||||
// Records to be exported, categorised by the type of INSERT statement
|
||||
let mut records_normal: Vec<String> =
|
||||
Vec::with_capacity(*EXPORT_BATCH_SIZE as usize);
|
||||
|
@ -193,13 +186,6 @@ impl Transaction {
|
|||
}
|
||||
chn.send(bytes!("")).await?;
|
||||
}
|
||||
// Commit transaction
|
||||
chn.send(bytes!("-- ------------------------------")).await?;
|
||||
chn.send(bytes!("-- TRANSACTION")).await?;
|
||||
chn.send(bytes!("-- ------------------------------")).await?;
|
||||
chn.send(bytes!("")).await?;
|
||||
chn.send(bytes!("COMMIT TRANSACTION;")).await?;
|
||||
chn.send(bytes!("")).await?;
|
||||
}
|
||||
}
|
||||
// Everything exported
|
||||
|
|
Loading…
Reference in a new issue