Skip to main content

map_put_database

Function map_put_database 

Source
pub fn map_put_database(
    map: &mut BTreeMap<Namespace, DatabaseEntry>,
    name: &str,
    language: u32,
    composite: bool,
)
Expand description

ADR-0116 §8: record a namespace’s default language in map. The redo name is the serde/replay boundary: it matches the fixed namespaces case-insensitively and is stored under the typed key; entries for any other name (written by earlier CREATE DATABASE calls or an older binary) are dropped here.