Author: wyoung
Date: Wed Sep 26 21:07:00 2007
New Revision: 1761

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1761&view=rev
Log:
Fixed a linkage issue preventing WindowsNamedPipeConnection from being
instantiated.

Modified:
    trunk/lib/wnp_connection.h

Modified: trunk/lib/wnp_connection.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/wnp_connection.h?rev=1761&r1=1760&r2=1761&view=diff
==============================================================================
--- trunk/lib/wnp_connection.h (original)
+++ trunk/lib/wnp_connection.h Wed Sep 26 21:07:00 2007
@@ -36,7 +36,7 @@
 /// This class just simplifies the connection creation interface of
 /// \c Connection.  It does not add new functionality.
 
-class WindowsNamedPipeConnection : public Connection
+class MYSQLPP_EXPORT WindowsNamedPipeConnection : public Connection
 {
 public:
        /// \brief Create object without connecting it to the MySQL server.
@@ -52,8 +52,9 @@
        /// \param user user name to log in under, or 0 to use the user
        ///             name the program is running under
        /// \param password password to use when logging in
-       WindowsNamedPipeConnection(cchar* db = 0, cchar* user = 0,
-                       cchar* password = 0)
+       WindowsNamedPipeConnection(cchar* db, cchar* user = 0,
+                       cchar* password = 0) :
+       Connection()
        {
                connect(db, user, password);
        }


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

Reply via email to