Details
- 
    Bug 
- 
    Status: Closed (View Workflow)
- 
    Major 
- 
    Resolution: Fixed
- 
    1.1.0
- 
    None
- 
    None
- 
        2017-8
Description
PrimProc multi_token reading is breaking when reusing the same token. This causes junk data on a select on a multi-row table using TEXT/BLOB data longer than 8KB. Observed when doing an UPDATE on a constant column. Example:
| MariaDB [test]> update b3 set b = repeat('hello world ', 5000); | 
| Query OK, 7 rows affected (47.60 sec) | 
| Rows matched: 0  Changed: 0  Warnings: 0 | 
| Â | 
| MariaDB [test]> select a, length(b) from b3; | 
| +------+-----------+ | 
| | a    | length(b) | | 
| +------+-----------+ | 
| |    1 |     60000 | | 
| |    1 |      1192 | | 
| |    1 |         0 | | 
| |    1 |     60000 | | 
| |    1 |     60000 | | 
| |    1 |     60000 | | 
| |    1 |     60000 | | 
| +------+-----------+ | 
| 7 rows in set (4.56 sec)
 | 
(ignore timings, debugger was running)
Attachments
Issue Links
- relates to
- 
                    MCOL-267 TEXT and BLOB data types are not supported -         
- Closed
 
-