MySQL++

Check-in [f82f99180c]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Comment improvement.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both |  trunk
Files: files | file ages | folders
SHA3-256:  f82f99180c520d1171a80bbf53eaa9f96fe66028ac5ee042db26d250dac46c56
User & Date: tangent 2018-07-27 03:12:43
Context
2018-07-27
03:49
Whitespace fix check-in: d4b2983283 user: tangent tags: trunk
03:12
Comment improvement. check-in: f82f99180c user: tangent tags: trunk
2018-07-26
17:12
Added the MYSQLPP_UTF8_COL macro to go with MYSQLPP_UTF8_CS. MySQL isn't smart enough to upgrade "utf8_general_ci" ot "utf8mb4_general_ci" when the character set is "utf8mb4". check-in: c4f89d91fb user: tangent tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to lib/stadapter.h.

214
215
216
217
218
219
220
221
222
223

224
225
226
227
228
229
230
	/// \brief Returns the character at a given position within the
	/// string buffer.
	///
	/// \throw mysqlpp::BadIndex if the internal buffer is not
	/// initialized (default ctor called, and no subsequent assignment)
	/// or if there are not at least i + 1 characters in the buffer.
	///
	/// WARNING: The throw-spec is incorrect, but it can't be changed
	/// until v4, where we can break the ABI.  Throw-specs shouldn't be
	/// relied on anyway.

	char at(size_type i) const MAY_THROW(std::out_of_range);

	/// \brief Compare the internal buffer to the given string
	///
	/// Works just like string::compare(const std::string&).
	int compare(const SQLTypeAdapter& other) const;








|
|
|
>







214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
	/// \brief Returns the character at a given position within the
	/// string buffer.
	///
	/// \throw mysqlpp::BadIndex if the internal buffer is not
	/// initialized (default ctor called, and no subsequent assignment)
	/// or if there are not at least i + 1 characters in the buffer.
	///
	/// WARNING: The throw-spec is incorrect, but it's irrelevant since
    /// they're obsolete in modern C++ now anyway, since they were
    /// always unreliable.  If we ever get to MySQL++ 4 and can break
    /// the ABI, this throw-spec will just go away.
	char at(size_type i) const MAY_THROW(std::out_of_range);

	/// \brief Compare the internal buffer to the given string
	///
	/// Works just like string::compare(const std::string&).
	int compare(const SQLTypeAdapter& other) const;