Author: wyoung
Date: Fri Jul 13 04:47:34 2007
New Revision: 1688

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1688&view=rev
Log:
Renamed Connection::stat() to Connection::status().

Modified:
    trunk/lib/connection.h

Modified: trunk/lib/connection.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/connection.h?rev=1688&r1=1687&r2=1688&view=diff
==============================================================================
--- trunk/lib/connection.h (original)
+++ trunk/lib/connection.h Fri Jul 13 04:47:34 2007
@@ -317,10 +317,7 @@
        /// \c status command.  Among other things, it contains uptime 
        /// in seconds, and the number of running threads, questions
        /// and open tables.
-       std::string stat()
-       {
-               return std::string(mysql_stat(&mysql_));
-       }
+       const char* status() { return mysql_stat(&mysql_); }
 
        /// \brief Create a database
        ///


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

Reply via email to