libtabula

Check-in [d076442415]
Login

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

Overview
Comment:Squished a clang warning about an unused parameter reported on the MySQL++ mailing list by João M. S. Silva.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d076442415058b8d2b5f8e7068603a36c0753e51
User & Date: tangent 2015-08-14 06:23:41
Context
2015-08-14
23:23
Typo fix in a comment check-in: ebb9a16682 user: tangent tags: trunk
18:54
The dtest script now returns nonzero on error, so callers can tell whether it succeeded. The reason will be clear soon. check-in: 940bd74363 user: etr tags: dtest-to-ctest
06:23
Squished a clang warning about an unused parameter reported on the MySQL++ mailing list by João M. S. Silva. check-in: d076442415 user: tangent tags: trunk
06:08
Merged mysql-type-info branch into trunk, now that dtest runs to completion on two major platforms and all FIXME comments are dealt with. check-in: ac763fd4ac user: tangent tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/insertpolicy.h.

127
128
129
130
131
132
133

134
135
136
137
138
139
140
	/// \param object the SSQLS object to be added
	///
	/// \retval true if the object is allowed to be added to the
	/// INSERT statement
	template <class RowT>
	bool can_add(int size, const RowT& object) const
	{

		return (size < size_);
	}

	/// \brief Alias for our access controller type
	typedef AccessController access_controller;

private:







>







127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
	/// \param object the SSQLS object to be added
	///
	/// \retval true if the object is allowed to be added to the
	/// INSERT statement
	template <class RowT>
	bool can_add(int size, const RowT& object) const
	{
		(void)object;		// we don't use this, but other policies do
		return (size < size_);
	}

	/// \brief Alias for our access controller type
	typedef AccessController access_controller;

private: