Author: mysqlpp
Date: Sun Dec 2 15:44:46 2007
New Revision: 1941
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1941&view=rev
Log:
- Created DBDriver class, being a wrapper around MYSQL structure
instance and the MySQL C API. Not database-independent, but it's
a big move toward it.
- Moved everything having to do with C API from Connection and Query
to DBDriver. Not just a move of existing functions, had to create
some new ones to wrap C API functions we were accessing directly.
- Created optionlist module to hold all the enums, typedefs and utility
functions related to connection options that used to be in Connection
class, because there's just so much of it that it's distracting when
looking through dbdriver.h (previously connection.h). The high-level
set_option*() functions still exist in Connection, and they delegate
to similar functions in DBDriver. The low-level stuff only exists in
DBDriver now.
- Removed "Option" from all enums and types because they're all now in
namespace mysqlpp::option.
- Renamed set_option_impl() to just set_option() on moving the methods
from Connection to DBDriver. Nothing ambiguous, so...
Added:
trunk/lib/dbdriver.cpp
trunk/lib/dbdriver.h
trunk/lib/optionlist.cpp
trunk/lib/optionlist.h
Modified:
trunk/Wishlist
trunk/examples/multiquery.cpp
trunk/lib/connection.cpp
trunk/lib/connection.h
trunk/lib/exceptions.h
trunk/lib/query.cpp
trunk/mysql++.bkl
[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=1941&r1=1940&r2=1941&view=diff
Modified: trunk/examples/multiquery.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/examples/multiquery.cpp?rev=1941&r1=1940&r2=1941&view=diff
Modified: trunk/lib/connection.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/connection.cpp?rev=1941&r1=1940&r2=1941&view=diff
Modified: trunk/lib/connection.h
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/connection.h?rev=1941&r1=1940&r2=1941&view=diff
Added: trunk/lib/dbdriver.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/dbdriver.cpp?rev=1941&view=auto
Added: trunk/lib/dbdriver.h
URL: http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/dbdriver.h?rev=1941&view=auto
Modified: trunk/lib/exceptions.h
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/exceptions.h?rev=1941&r1=1940&r2=1941&view=diff
Added: trunk/lib/optionlist.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/optionlist.cpp?rev=1941&view=auto
Added: trunk/lib/optionlist.h
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/optionlist.h?rev=1941&view=auto
Modified: trunk/lib/query.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/query.cpp?rev=1941&r1=1940&r2=1941&view=diff
Modified: trunk/mysql++.bkl
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/mysql%2B%2B.bkl?rev=1941&r1=1940&r2=1941&view=diff
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits