Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2272 closed enhancement (fixed)

[patch] Bug fix and improvements for SQLite introspection

Reported by: dne@… Owned by: adrian
Component: Database layer (models, ORM) Version: master
Severity: normal Keywords: introspection sqlite
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

This patch includes the following improvements:

  • Bug fix for get_table_description to return a proper 7 element DB-API cursor.description tuple
  • Skip sqlite_sequence system table in get_table_list
  • Implementation of get_indexes for primary key and unique index introspection

Attachments (1)

django-sqlite-introspection.diff (3.6 KB) - added by dne@… 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by dne@…

comment:1 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [3285]) Fixed #2272 -- Improved SQLite database introspection. Thanks, dne@…

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.