Author: wyoung
Date: Sat Aug 29 07:02:54 2009
New Revision: 2568

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2568&view=rev
Log:
No longer trying to make the C API library read from a "my" options
file before connect.  It does that by default, and the file is supposed
to be .my.cnf anyway.  If someone wants something else, they'd need to
set that option themselves.

Modified:
    trunk/Wishlist
    trunk/lib/dbdriver.cpp

Modified: trunk/Wishlist
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/Wishlist?rev=2568&r1=2567&r2=2568&view=diff
==============================================================================
--- trunk/Wishlist (original)
+++ trunk/Wishlist Sat Aug 29 07:02:54 2009
@@ -15,19 +15,10 @@
       link against the built MySQL++ instead of requiring it to be
       installed first.
 
-    o Xcode project needs .. in include path, to find config.h.  Or,
-      better, it needs to ignore config.h when not doing an autotools
-      build.
+    o Xcode project needs to ignore config.h when not doing an autotools
+      build.  Put conditions in lib/common.h.
 
     o Add -lmysqlclient for Xcode case
-
-    o Possibly bogus code in DBDriver::connect():
-
-          set_option_default(new ReadDefaultFileOption("my"));
-
-      Doesn't this a) read from "./my" not "./my.cnf" and b) even if
-      it did the latter, isn't that the default already?  Test it,
-      and remove it if it isn't helpful.
 
     o Can we fix "if (!query)" without changing the ABI?
 

Modified: trunk/lib/dbdriver.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/dbdriver.cpp?rev=2568&r1=2567&r2=2568&view=diff
==============================================================================
--- trunk/lib/dbdriver.cpp (original)
+++ trunk/lib/dbdriver.cpp Sat Aug 29 07:02:54 2009
@@ -105,10 +105,6 @@
                disconnect();
        }
        mysql_init(&mysql_);
-
-       // Set defaults for connection options.  User can override these
-       // by calling set_option() before connect().
-       set_option_default(new ReadDefaultFileOption("my"));
 }
 
 


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

Reply via email to