aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-04-24 09:26:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-04-24 09:26:59 +0200
commit0a7d9a7dfba71809c88e0c497affbadbd6a4b061 (patch)
treec2a7f1a6c52e218926d42ef2c11a60fea1c42fe7
parent302ec6774a0dc0ab333462c9fbd0933f33c64e54 (diff)
Add missing default_type_traits specialization
-rw-r--r--odb/qt/basic/mysql/qbyte-array-traits.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/qt/basic/mysql/qbyte-array-traits.hxx b/odb/qt/basic/mysql/qbyte-array-traits.hxx
index 4477278..e31c82d 100644
--- a/odb/qt/basic/mysql/qbyte-array-traits.hxx
+++ b/odb/qt/basic/mysql/qbyte-array-traits.hxx
@@ -61,6 +61,12 @@ namespace odb
}
}
};
+
+ template <>
+ class default_type_traits<QByteArray>
+ {
+ static const database_type_id db_type_id = id_blob;
+ };
}
}