Query string:
http://boost-soci.googlecode.com/svn-history/r36/trunk/libs/soci/src/statement-impl.cpp
line
const char nextChar = query_[pos + placeholder.size()];
This actually looks up an index that does not exist in the string if the
placeholder is at the end of the query, which triggers a debug assertion in
Visual Studio, at least VS2010. A quick workaround would be:
const char nextChar = query_.c_str()[pos + placeholder.size()];
Object names:
Visual Studio complains if you have two object files of the same name which
happens if you have two source files of the same name. In SOCI this happens
with the backends that contain blob.cpp, session.cpp and statement.cpp.
(only tested with sqlite3.) I'd advice renaming these to e.g.
blob_sqlite3.cpp and so on so they do not collide with the files in soci
core.
--
Christian
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users