macros: add proper test for sqlite using database file

This commit is contained in:
Austin Bonander
2020-03-16 21:05:48 -07:00
committed by Ryan Leckey
parent 8328e07c97
commit 6cea7e2c1b
5 changed files with 23 additions and 24 deletions

View File

@@ -64,7 +64,7 @@ impl Display for SqliteTypeInfo {
impl TypeInfo for SqliteTypeInfo {
fn compatible(&self, other: &Self) -> bool {
self.affinity == other.affinity
self.r#type == other.r#type || self.affinity == other.affinity
}
fn is_null_type(&self) -> bool {