Author: wyoung
Date: Tue Nov 20 03:41:22 2007
New Revision: 1866

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1866&view=rev
Log:
- Removed ::escape_string().  No longer used.
- Added Query::escape_string() overloads, which use Query::conn_ (if
  available) to call mysql_real_escape_string().
- Added SQLQueryParms::escape_string() overloads to pass the calls on to
  its internal Query object when possible.
- Replaced a bunch of mysql_escape_string() calls in the manipulator
  mechanism with Query::escape_string().  This ensures that escaping
  takes the connection's default character set into account.  We
  couldn't do it before because we didn't know which Connection we
  would be executed on in all cases.  The earlier manipulator
  simplification work made this possible.
- Quoting and escaping now happens only when the manipulator is used
  in a Query stream, and then only if the data type following the
  manipulator may require it.  There were a few implicit quoting and
  escaping paths before.
- Changed test_manip.cpp to not expect these implicit paths.
- Expanded the userman section on quoting and escaping to cover all
  this.

Modified:
    trunk/Wishlist
    trunk/doc/userman/userman.dbx
    trunk/lib/manip.cpp
    trunk/lib/manip.h
    trunk/lib/qparms.cpp
    trunk/lib/qparms.h
    trunk/lib/query.cpp
    trunk/lib/query.h
    trunk/lib/string_util.cpp
    trunk/lib/string_util.h
    trunk/test/test_manip.cpp

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: trunk/Wishlist
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/Wishlist?rev=1866&r1=1865&r2=1866&view=diff

Modified: trunk/doc/userman/userman.dbx
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/userman.dbx?rev=1866&r1=1865&r2=1866&view=diff

Modified: trunk/lib/manip.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/manip.cpp?rev=1866&r1=1865&r2=1866&view=diff

Modified: trunk/lib/manip.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/manip.h?rev=1866&r1=1865&r2=1866&view=diff

Modified: trunk/lib/qparms.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/qparms.cpp?rev=1866&r1=1865&r2=1866&view=diff

Modified: trunk/lib/qparms.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/qparms.h?rev=1866&r1=1865&r2=1866&view=diff

Modified: trunk/lib/query.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/query.cpp?rev=1866&r1=1865&r2=1866&view=diff

Modified: trunk/lib/query.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/query.h?rev=1866&r1=1865&r2=1866&view=diff

Modified: trunk/lib/string_util.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/string_util.cpp?rev=1866&r1=1865&r2=1866&view=diff

Modified: trunk/lib/string_util.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/string_util.h?rev=1866&r1=1865&r2=1866&view=diff

Modified: trunk/test/test_manip.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/test/test_manip.cpp?rev=1866&r1=1865&r2=1866&view=diff


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to