summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb-tests/mysql/types/test.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/odb-tests/mysql/types/test.hxx b/odb-tests/mysql/types/test.hxx
index 82f7496..6a8527b 100644
--- a/odb-tests/mysql/types/test.hxx
+++ b/odb-tests/mysql/types/test.hxx
@@ -17,6 +17,14 @@ typedef std::vector<char> buffer;
struct date_time
{
date_time ()
+ : negative (false),
+ year (0),
+ month (0),
+ day (0),
+ hour (0),
+ minute (0),
+ second (0),
+ microseconds (0)
{
}