mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-28 02:38:30 +00:00
gracefully ignore unknown columns; add dropped flag in descriptor
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
16fa2eca87
commit
66231676f1
3 changed files with 42 additions and 25 deletions
|
@ -14,6 +14,7 @@ pub(crate) enum CacheDisp {
|
|||
#[derive(Debug, Clone)]
|
||||
pub(crate) struct Descriptor {
|
||||
pub(crate) name: &'static str,
|
||||
pub(crate) dropped: bool,
|
||||
pub(crate) cache_disp: CacheDisp,
|
||||
pub(crate) key_size_hint: Option<usize>,
|
||||
pub(crate) val_size_hint: Option<usize>,
|
||||
|
@ -39,6 +40,7 @@ pub(crate) struct Descriptor {
|
|||
|
||||
pub(crate) static BASE: Descriptor = Descriptor {
|
||||
name: EMPTY,
|
||||
dropped: false,
|
||||
cache_disp: CacheDisp::Shared,
|
||||
key_size_hint: None,
|
||||
val_size_hint: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue