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: |
102fa4f726c70b29418cae5094baad3f |
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
Changes to src/mysql/driver.h.
88 88 rows_(rows) 89 89 { 90 90 } 91 91 92 92 ~ResultImpl() { /* implicit mysql_free_result(res_.raw()) */ } 93 93 operator MYSQL_RES*() const { return res_.raw(); } 94 94 95 - // FIXME: Do we still need this? Can't see who calls it. 96 - ResultImpl* clone() const 97 - { 98 - return new ResultImpl(res_, rows()); 99 - } 100 - 101 95 size_t rows() const { return rows_; } 102 96 103 97 private: 104 98 // Has to be mutable because so many Connector/C APIs take 105 99 // non-const MYSQL_RES*, and we call those from const methods. 106 100 mutable RefCountedPointer<MYSQL_RES> res_; 107 101