mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
change type Display implementation to not show null
This is the behavior that things like pragma table_info seem to expect.
This commit is contained in:
parent
69d3fbc797
commit
f1df43633a
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ pub enum Type {
|
|||
impl fmt::Display for Type {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
let s = match self {
|
||||
Self::Null => "NULL",
|
||||
Self::Null => "",
|
||||
Self::Text => "TEXT",
|
||||
Self::Numeric => "NUMERIC",
|
||||
Self::Integer => "INTEGER",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue