Author: wyoung
Date: Thu Nov 15 14:29:30 2007
New Revision: 1847
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1847&view=rev
Log:
Replaced some uses of SQLTypeAdatper with std::string, where the
additional capabilities weren't required.
Modified:
trunk/lib/query.h
Modified: trunk/lib/query.h
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/query.h?rev=1847&r1=1846&r2=1847&view=diff
==============================================================================
--- trunk/lib/query.h (original)
+++ trunk/lib/query.h Thu Nov 15 14:29:30 2007
@@ -441,7 +441,7 @@
template <class SSQLS, typename Function>
Function for_each(const SSQLS& ssqls, Function fn)
{
- SQLTypeAdapter query("select * from ");
+ std::string query("select * from ");
query += ssqls._table;
mysqlpp::ResUse res = use(query);
if (res) {
@@ -503,7 +503,7 @@
template <class Sequence, class SSQLS, typename Function>
Function store_if(Sequence& con, const SSQLS& ssqls, Function fn)
{
- SQLTypeAdapter query("select * from ");
+ std::string query("select * from ");
query += ssqls._table;
mysqlpp::ResUse res = use(query);
if (res) {
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits