sqlload 0.60.0

SQL data loading tooling.
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Say what the running step does now.

use crate::load_events::_helpers::steps::STEPS;

/// Say what the running step does now, such as `describing PUB.absence (2/5)`, keeping its clock.
pub fn step_doing(doing: &str) {
    let Ok(mut steps) = STEPS.lock() else {
        return;
    };
    if let Some(step) = steps.current.as_mut() {
        doing.clone_into(&mut step.doing);
    }
}