Have the attributes LongReadLen
and LongTruncOk
when using DBD::mysql as driver for the Perl5 Database Interface (DBI) any meaning? I didn't found these attributes in the DBD::mysql
documentation but I found some example on the internet which uses these attributes with DBD::mysql
.
Asked
Active
Viewed 372 times
0

sid_com
- 24,137
- 26
- 96
- 187
-
1I have used that attribs in large blob reading from mysql db and it worked fine for me – Miguel Prz Jan 23 '13 at 15:30
2 Answers
2
That is a DBI attribute which applies to all handles. Its documented in the DBI library. AFAIK it applies to DBD::mysql and every DBI driver.

Schwern
- 153,029
- 25
- 195
- 336
1
If you search dbdimp.c I find:
*
* Name: dbd_st_blob_read
*
* Purpose: Used for blob reads if the statement handles "LongTruncOk"
* attribute (currently not supported by DBD::mysql)
I could not find any reference to longreadlen. Note, I don't use DBD::mysql myself and this was just a quick search in the code.

bohica
- 5,932
- 3
- 23
- 28