libtabula

Check-in [102fa4f726]
Login

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

Overview
Comment:Removed an unnneded method
Timelines: family | ancestors | descendants | both | mysql-type-info
Files: files | file ages | folders
SHA1: 102fa4f726c70b29418cae5094baad3fcb880aac
User & Date: tangent 2015-08-14 06:00:09
Context
2015-08-14
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
05:57
One of the sql_types.h changes recently lost the fallback for no stdint at all, such as VC++ 2008 and earlier. check-in: 143d1ad0bd user: tangent tags: mysql-type-info
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/mysql/driver.h.

88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
		rows_(rows)
		{
		}

		~ResultImpl() { /* implicit mysql_free_result(res_.raw()) */  }
		operator MYSQL_RES*() const { return res_.raw(); }

		// FIXME: Do we still need this?  Can't see who calls it.
		ResultImpl* clone() const
		{
			return new ResultImpl(res_, rows());
		}

		size_t rows() const { return rows_; }

	private:
		// Has to be mutable because so many Connector/C APIs take
		// non-const MYSQL_RES*, and we call those from const methods.
		mutable RefCountedPointer<MYSQL_RES> res_;








<
<
<
<
<
<







88
89
90
91
92
93
94






95
96
97
98
99
100
101
		rows_(rows)
		{
		}

		~ResultImpl() { /* implicit mysql_free_result(res_.raw()) */  }
		operator MYSQL_RES*() const { return res_.raw(); }







		size_t rows() const { return rows_; }

	private:
		// Has to be mutable because so many Connector/C APIs take
		// non-const MYSQL_RES*, and we call those from const methods.
		mutable RefCountedPointer<MYSQL_RES> res_;