Changeset 68:af319364989d in livinglogic.python.orasql

Show
Ignore:
Timestamp:
12/06/05 18:17:52 (14 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Tags:
rel-1-4-1
Message:

Fix PL/SQL emitted for varchar fields.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • orasql.py

    r67 r68  
    595595            ftype += "(%d" % fsize 
    596596            if rec.char_used == "B": 
    597                 ftype += " bytes" 
     597                ftype += " byte" 
    598598            elif rec.char_used == "C": 
    599                 ftype += " chars" 
     599                ftype += " char" 
    600600            if fprec is not None: 
    601601                ftype += ", %d" % fprec