Django

Code

Ticket #7407 (closed: fixed)

Opened 4 months ago

Last modified 3 months ago

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

Reported by: erny Assigned to: erny
Milestone: Component: Database layer (models, ORM)
Version: SVN Keywords: oracle bug
Cc: msaelices@yaco.es Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

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

Attachments

oracle_sequence_reset_quote_name.patch (2.5 kB) - added by erny on 06/10/08 08:05:28.
Patches db/backends/oracle/base.py to correct table name quoting in sequence_reset_sql

Change History

06/10/08 08:05:28 changed by erny

  • attachment oracle_sequence_reset_quote_name.patch added.

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

06/10/08 17:28:48 changed by msaelices

  • cc set to msaelices@yaco.es.
  • needs_better_patch changed.
  • needs_tests changed.
  • needs_docs changed.

06/15/08 14:52:20 changed by edgarsj

  • keywords changed from oracle to oracle bug.
  • stage changed from Unreviewed to Accepted.

07/03/08 14:21:54 changed by ikelly

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #7407 (fails to load fixtures with Oracle 10g when tablenames are too long)




Change Properties
Action