[CONPY-17] optimize metadata read Created: 2018-07-25 Updated: 2018-07-26 Resolved: 2018-07-26 |
|
| Status: | Closed |
| Project: | MariaDB Connector/Python |
| Component/s: | DBAPI 2.0 |
| Affects Version/s: | None |
| Fix Version/s: | 0.9.1 |
| Type: | Task | Priority: | Minor |
| Reporter: | Diego Dupin | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
python need the "string" part of metadata only when cursor method .description() is called. It seems to me that those string are always read by c/c : https://github.com/MariaDB/mariadb-connector-c/blob/master/libmariadb/mariadb_lib.c#L782 |
| Comments |
| Comment by Georg Richter [ 2018-07-26 ] |
|
MrdbCursor_description() is now implemented as getter. (commit c19b0f0404b2282007f48ad4e203f1784b2b6d10) |