aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/prepared/driver.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/common/prepared/driver.cxx b/common/prepared/driver.cxx
index ba92285..1b4ad0e 100644
--- a/common/prepared/driver.cxx
+++ b/common/prepared/driver.cxx
@@ -248,7 +248,8 @@ main (int argc, char* argv[])
t.commit ();
}
- db->query_factory ("person-params-query", 0);
+ db->query_factory ("person-params-query",
+ database::query_factory_type ());
}
// Cached query with wildcard factory.
@@ -272,7 +273,7 @@ main (int argc, char* argv[])
t.commit ();
}
- db->query_factory ("", 0);
+ db->query_factory ("", database::query_factory_type ());
}
// Cached query with lambda factory.
@@ -310,7 +311,8 @@ main (int argc, char* argv[])
t.commit ();
}
- db->query_factory ("person-params-query-2", 0);
+ db->query_factory ("person-params-query-2",
+ database::query_factory_type ());
}
#endif