diff --git a/src/common/classes/StringMap.h b/src/common/classes/StringMap.h index b35d674e83..949fd79875 100644 --- a/src/common/classes/StringMap.h +++ b/src/common/classes/StringMap.h @@ -24,7 +24,7 @@ * Contributor(s): ______________________________________. * * - * $Id: StringMap.h,v 1.2 2004-11-22 22:31:31 skidder Exp $ + * $Id: StringMap.h,v 1.3 2004-11-23 04:05:49 robocop Exp $ * */ @@ -51,7 +51,7 @@ public: // Returns true if value is found bool get(const string& name, string& value); - size_t count() { return mCount; } + size_t count() const { return mCount; } struct StringPair { // We use string class here because we want to handle possible embedded diff --git a/src/dsql/pass1.cpp b/src/dsql/pass1.cpp index d435508637..5ed8ffc2b8 100644 --- a/src/dsql/pass1.cpp +++ b/src/dsql/pass1.cpp @@ -3307,7 +3307,7 @@ static dsql_ctx* pass1_cursor_context( dsql_req* request, const dsql_nod* cursor isc_arg_gds, isc_dsql_cursor_update_err, isc_arg_string, string->str_data, 0); } - // note that nod_union and nod_join will cause to the error below, + // note that nod_union and nod_join will cause the error below, // as well as derived tables. Some cases deserve fixing in the future }