VARCHAR field truncates
Original Reporter info from Mantis: runs
-
Reporter name: runs
Original Reporter info from Mantis: runs
- Reporter name: runs
Description:
I've made a table (SQLite) with a MEMO or VARCHAR field to store a TDBMemo.
I get the following issue:
-If I define MEMO(4096) or VARCHAR(4096), all is OK.
-But If I define a double lenght MEMO(8192) or VARCHAR(8192), when I save the table, the content of the DBMemo is truncated (in the database and DB Components) to just the first char of the string.
I know it is related to this bug: http://bugs.freepascal.org/view.php?id=26068
But I cannot fix it.
My Project: https://mega.nz/#!Kc5UGL5K!pcWRs5douAJ7Lz7Am8Nn9UTUNX6SriqyhbtaoP1QhL0
Lazarus=1.4.2
FPC: 2.6.4
Vanilla Lazarus DB components.
Steps to reproduce:
- Download my project
- Execute the exe (or compile the project).
- Clic on the button 'New'.
- Fill into the "Address" box.
- Clic on the button 'Save' -> The Memo is truncated.
Mantis conversion info:
- Mantis ID: 28673
- OS: Windows
- OS Build: 7
- Platform: x32
- Version: 1.4.2