Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5749

Implicit cast of variable length values, e.g. as arguments to stored methods and generated columns values, silently truncate if too long


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s:,,,,,,,,,,,,,,,,,,,
    • Fix Version/s:
    • Component/s: JDBC, SQL
    • Issue & fix info:
      Release Note Needed
    • Bug behavior facts:
      Data corruption, Deviation from standard


      Cf the attached repro SilentVarcharArgTruncation.
      It seem implicit casts are inserted here, cf discussion on derby-dev thread starting here: http://mail-archives.apache.org/mod_mbox/db-derby-dev/201205.mbox/%3Cx67gwm7hir.fsf%40oracle.com%3E


        1. DERBY-5749.diff
          6 kB
          Dag H. Wanvik
        2. DERBY-5749.stat
          0.2 kB
          Dag H. Wanvik
        3. DERBY-5749-2.diff
          5 kB
          Dag H. Wanvik
        4. DERBY-5749-2.stat
          0.3 kB
          Dag H. Wanvik
        5. DERBY-5749-2b.diff
          5 kB
          Dag H. Wanvik
        6. DERBY-5749-2b.stat
          0.3 kB
          Dag H. Wanvik
        7. DERBY-5749b.diff
          14 kB
          Dag H. Wanvik
        8. DERBY-5749b.stat
          0.9 kB
          Dag H. Wanvik
        9. releaseNote.html
          8 kB
          Dag H. Wanvik
        10. releaseNote.html
          8 kB
          Knut Anders Hatlen
        11. releaseNote.html
          5 kB
          Dag H. Wanvik
        12. SilentVarcharArgTruncation.java
          2 kB
          Dag H. Wanvik
        13. SilentVarcharArgTruncation.java
          1 kB
          Dag H. Wanvik

          Issue Links



              • Assignee:
                dagw Dag H. Wanvik
                dagw Dag H. Wanvik
              • Votes:
                0 Vote for this issue
                4 Start watching this issue


                • Created: