Skip to content

CLOB: truncation of the last char ! #173

Description

@Didier68

Node.js version: v14.21.3
idb-connector version: 1.2.18
IBM i version: V7 R3

I have a table with a column "PARCOURS", defined in CLOB, where I store "route" fragments in JSON format.
It run well for every data, except for 1 specific row, for the value

{"via_waypoints":[],"admins":[{"iso_3166_1_alpha3":"FRA","iso_3166_1":"FR"}],"weight":1078.218,"duration":866.839,"steps":[],"distance":8118.946,"summary":"Rue du Gers, Rue de Bâle"}

  • the last character '}' is lost where reading them by SELECT PARCOURS ....
  • if I add a space character, it is lost but I preserve the "}" !

For all others data of this table, there is no read problem...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions