Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11872, comment 16


Ignore:
Timestamp:
Aug 1, 2016, 11:55:06 AM (8 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11872, comment 16

    initial v1  
    1 `get_column_names` with `self.execute` doesn't work. The [source:/trunk/trac/db/util.py@12785:126,129,130,131#L96 ConnectionWrapper.execute] closes automatically used cursor, however, returns results set only for `SELECT` query. Therefore, `get_column_names` needs to use `sef.cursor()`.
     1`get_column_names` with `self.execute` doesn't work. The [source:/trunk/trac/db/util.py@12785:126,129,130,131#L96 ConnectionWrapper.execute] closes automatically used cursor, however, returns results set only for `SELECT` query. Therefore, `get_column_names` needs to use `self.cursor()`.