--- trunk/tntnet/dynamic/adm_customer_list.ecpp 2007/11/29 08:04:13 94
+++ trunk/tntnet/dynamic/adm_customer_list.ecpp 2007/12/08 16:47:03 195
@@ -26,10 +26,10 @@
Customers administration
Create new customer
-
+
<{
-tntdb::Connection conn = tntdb::connect(dburl);
+tntdb::Connection conn = tntdb::connectCached(dburl);
std::string query = "SELECT id, name FROM customer ORDER BY name ASC";
@@ -38,17 +38,18 @@
std::ostream& out = reply.out();
if (res.size() > 0)
{
- out << "";
+ out << "";
}
else
{