List:Commits« Previous MessageNext Message »
From:andrey.hristov Date:October 21 2008 4:34pm
Subject:bzr commit into connector-cpp-bzr branch (andrey.hristov:193)
View as plain text  
#At bzr+ssh://ahristov@stripped/bzrroot/public/connector-cpp-bzr/trunk/

  193 andrey.hristov@stripped	2008-10-21
      Fix build warnings - unused parameters
modified:
  driver/mysql_connection.cpp
  driver/mysql_metadata.cpp

=== modified file 'driver/mysql_connection.cpp'
--- a/driver/mysql_connection.cpp	2008-10-21 09:17:11 +0000
+++ b/driver/mysql_connection.cpp	2008-10-21 16:34:09 +0000
@@ -242,7 +242,7 @@ MySQL_Connection::getClientInfo(const st
 
 /* {{{ MySQL_Connection::getClientInfo() -U- */
 void
-MySQL_Connection::getClientOption(const std::string & optionName, void * optionValue)
+MySQL_Connection::getClientOption(const std::string & /* optionName */, void * /* optionValue */)
 {
 	throw sql::MethodNotImplementedException("MySQL_Connection::getClientOption");
 	return;

=== modified file 'driver/mysql_metadata.cpp'
--- a/driver/mysql_metadata.cpp	2008-10-21 09:17:11 +0000
+++ b/driver/mysql_metadata.cpp	2008-10-21 16:34:09 +0000
@@ -1194,7 +1194,7 @@ MySQL_ConnectionMetaData::getAttributes(
 /* {{{ MySQL_ConnectionMetaData::getBestRowIdentifier() -I- */
 sql::ResultSet *
 MySQL_ConnectionMetaData::getBestRowIdentifier(const std::string& catalog, const std::string& schema,
-												const std::string& table, int scope, bool nullable) const
+												const std::string& table, int /* scope */, bool /* nullable */) const
 {
 	CPP_ENTER("MySQL_ConnectionMetaData::getBestRowIdentifier");
 	char buf[12];
@@ -1584,7 +1584,7 @@ MySQL_ConnectionMetaData::getIdentifierQ
 
 /* {{{ MySQL_ConnectionMetaData::parseImportedKeys() -I- */
 bool
-MySQL_ConnectionMetaData::parseImportedKeys(std::string& token, std::string & quoteIdentifier, std::list< std::string > &fields) const
+MySQL_ConnectionMetaData::parseImportedKeys(std::string& token, std::string & /* quoteIdentifier */, std::list< std::string > & /* fields */) const
 {
 	CPP_ENTER("MySQL_ConnectionMetaData::parseImportedKeys");
 //	TODO
@@ -1776,7 +1776,7 @@ MySQL_ConnectionMetaData::getImportedKey
 /* {{{ MySQL_ConnectionMetaData::getIndexInfo() -I- */
 sql::ResultSet *
 MySQL_ConnectionMetaData::getIndexInfo(const std::string& /*catalog*/, const std::string& schema,
-										const std::string& table, bool unique, bool approximate) const
+										const std::string& table, bool /* unique */, bool /* approximate */) const
 {
 	CPP_ENTER("MySQL_ConnectionMetaData::getIndexInfo");
 	std::list<std::string> rs_data;
@@ -2732,7 +2732,7 @@ MySQL_ConnectionMetaData::getVersionColu
 
 /* {{{ MySQL_ConnectionMetaData::insertsAreDetected() -I- */
 bool
-MySQL_ConnectionMetaData::insertsAreDetected(int type) const
+MySQL_ConnectionMetaData::insertsAreDetected(int /* type */) const
 {
 	return false;
 }
@@ -2813,7 +2813,7 @@ MySQL_ConnectionMetaData::nullsAreSorted
 
 /* {{{ MySQL_ConnectionMetaData::othersDeletesAreVisible() -I- */
 bool
-MySQL_ConnectionMetaData::othersDeletesAreVisible(int type) const
+MySQL_ConnectionMetaData::othersDeletesAreVisible(int /* type */) const
 {
 	return false;
 }
@@ -2822,7 +2822,7 @@ MySQL_ConnectionMetaData::othersDeletesA
 
 /* {{{ MySQL_ConnectionMetaData::othersInsertsAreVisible() -I- */
 bool
-MySQL_ConnectionMetaData::othersInsertsAreVisible(int type) const
+MySQL_ConnectionMetaData::othersInsertsAreVisible(int /* type */) const
 {
 	return false;
 }
@@ -2831,7 +2831,7 @@ MySQL_ConnectionMetaData::othersInsertsA
 
 /* {{{ MySQL_ConnectionMetaData::othersUpdatesAreVisible() -I- */
 bool
-MySQL_ConnectionMetaData::othersUpdatesAreVisible(int type) const
+MySQL_ConnectionMetaData::othersUpdatesAreVisible(int /* type */) const
 {
 	return false;
 }
@@ -2840,7 +2840,7 @@ MySQL_ConnectionMetaData::othersUpdatesA
 
 /* {{{ MySQL_ConnectionMetaData::ownDeletesAreVisible() -I- */
 bool
-MySQL_ConnectionMetaData::ownDeletesAreVisible(int type) const
+MySQL_ConnectionMetaData::ownDeletesAreVisible(int /* type */) const
 {
 	return false;
 }
@@ -2849,7 +2849,7 @@ MySQL_ConnectionMetaData::ownDeletesAreV
 
 /* {{{ MySQL_ConnectionMetaData::ownInsertsAreVisible() -I- */
 bool
-MySQL_ConnectionMetaData::ownInsertsAreVisible(int type) const
+MySQL_ConnectionMetaData::ownInsertsAreVisible(int /* type */) const
 {
 	return false;
 }
@@ -2858,7 +2858,7 @@ MySQL_ConnectionMetaData::ownInsertsAreV
 
 /* {{{ MySQL_ConnectionMetaData::ownUpdatesAreVisible() -I- */
 bool
-MySQL_ConnectionMetaData::ownUpdatesAreVisible(int type) const
+MySQL_ConnectionMetaData::ownUpdatesAreVisible(int /* type */) const
 {
 	return false;
 }
@@ -3038,7 +3038,7 @@ MySQL_ConnectionMetaData::supportsConver
 
 /* {{{ MySQL_ConnectionMetaData::supportsConvert() -U- */
 bool
-MySQL_ConnectionMetaData::supportsConvert(int fromType, int toType) const
+MySQL_ConnectionMetaData::supportsConvert(int /* fromType */, int /* toType */) const
 {
 	throw sql::MethodNotImplementedException("MySQL_ConnectionMetaData::supportsConvert");
 }
@@ -3326,7 +3326,7 @@ MySQL_ConnectionMetaData::supportsPositi
 
 /* {{{ MySQL_ConnectionMetaData::supportsResultSetConcurrency() -U- */
 bool
-MySQL_ConnectionMetaData::supportsResultSetConcurrency(int type, int concurrency) const
+MySQL_ConnectionMetaData::supportsResultSetConcurrency(int /* type */, int /* concurrency */) const
 {
 	throw sql::MethodNotImplementedException("MySQL_ConnectionMetaData::supportsResultSetConcurrency");
 }
@@ -3479,7 +3479,7 @@ MySQL_ConnectionMetaData::supportsTableC
 
 /* {{{ MySQL_ConnectionMetaData::supportsTransactionIsolationLevel() -I- */
 bool
-MySQL_ConnectionMetaData::supportsTransactionIsolationLevel(int level) const
+MySQL_ConnectionMetaData::supportsTransactionIsolationLevel(int /* level */) const
 {
 	return server_version >= 32336;
 }
@@ -3524,7 +3524,7 @@ MySQL_ConnectionMetaData::supportsUnionA
 
 /* {{{ MySQL_ConnectionMetaData::updatesAreDetected() -I- */
 bool
-MySQL_ConnectionMetaData::updatesAreDetected(int type) const
+MySQL_ConnectionMetaData::updatesAreDetected(int /* type */) const
 {
 	return false;
 }

Thread
bzr commit into connector-cpp-bzr branch (andrey.hristov:193) andrey.hristov21 Oct