libtabula

Check-in [69c9023a1a]
Login

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

Overview
Comment:Comment fix
Timelines: family | ancestors | descendants | both | mysql-type-info
Files: files | file ages | folders
SHA1: 69c9023a1a707db0ff475a0b4ab45850299f1a5e
User & Date: tangent 2015-08-14 06:01:19
Context
2015-08-14
06:05
Merged the contents of a FIXME comment into the relevant Wishlist item. Closed-Leaf check-in: 06939e737d user: tangent tags: mysql-type-info
06:01
Comment fix check-in: 69c9023a1a user: tangent tags: mysql-type-info
06:00
Removed an unnneded method check-in: 102fa4f726 user: tangent tags: mysql-type-info
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/mysql/driver.h.

314
315
316
317
318
319
320



321
322
323
324
325
326
327
328
329
330
331
332
	{
		return mysql_num_fields(MYSQL_RES_FROM_IMPL(impl));
	}

	/// \brief Returns the number of rows in the given result set
	///
	/// Wraps \c mysql_num_rows() in MySQL C API.



	ulonglong num_rows(ResultBase::Impl& impl) const
	{
		// FIXME: Do we still need this?  It might have been used only
		// as part of the "store" query implementation.  Recommend
		// calling res.length() instead?
		return mysql_num_rows(MYSQL_RES_FROM_IMPL(impl));
	}

	/// \brief "Pings" the MySQL database
	///
	/// This function will try to reconnect to the server if the 
	/// connection has been dropped.  Wraps \c mysql_ping() in the MySQL C API.







>
>
>


<
<
<







314
315
316
317
318
319
320
321
322
323
324
325



326
327
328
329
330
331
332
	{
		return mysql_num_fields(MYSQL_RES_FROM_IMPL(impl));
	}

	/// \brief Returns the number of rows in the given result set
	///
	/// Wraps \c mysql_num_rows() in MySQL C API.
	///
	/// \internal This is needed by Query::store(), so it can reserve
	/// storage space for the number of known rows in the result set.
	ulonglong num_rows(ResultBase::Impl& impl) const
	{



		return mysql_num_rows(MYSQL_RES_FROM_IMPL(impl));
	}

	/// \brief "Pings" the MySQL database
	///
	/// This function will try to reconnect to the server if the 
	/// connection has been dropped.  Wraps \c mysql_ping() in the MySQL C API.