Opened 7 years ago

Closed 7 years ago

#7407 closed (fixed)

fails to load fixtures with Oracle 10g when tablenames are too long

Reported by: erny Owned by: erny
Component: Database layer (models, ORM) Version: master
Severity: Keywords: oracle bug
Cc: msaelices@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

The problem is that tablenames are not properly escaped when calling sequence_reset_sql in db/backends/base.py.

Attachments (1)

oracle_sequence_reset_quote_name.patch (2.5 KB) - added by erny 7 years ago.
Patches db/backends/oracle/base.py to correct table name quoting in sequence_reset_sql

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by erny

Patches db/backends/oracle/base.py to correct table name quoting in sequence_reset_sql

comment:1 Changed 7 years ago by msaelices

  • Cc msaelices@… added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by edgarsj

  • Keywords bug added
  • Triage Stage changed from Unreviewed to Accepted

comment:3 Changed 7 years ago by ikelly

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

(In [7833]) Fixed #7407 -- in Oracle, made sure table names are properly quoted when resetting sequences. Thanks, erny.

Note: See TracTickets for help on using tickets.
Back to Top