當使用DBD::mysql作爲Perl5數據庫接口(DBI)驅動程序的任何含義時,是否具有屬性LongReadLen
和LongTruncOk
?我在DBD::mysql
文檔中未找到這些屬性,但我在因特網上找到了一些使用DBD::mysql
這些屬性的示例。DBD :: MySQL:LongReadLen和LongTruncOk
0
A
回答
1
如果你搜索dbdimp.c我發現:
*
* Name: dbd_st_blob_read
*
* Purpose: Used for blob reads if the statement handles "LongTruncOk"
* attribute (currently not supported by DBD::mysql)
我找不到任何參考longreadlen。請注意,我自己不使用DBD :: mysql,這只是代碼中的快速搜索。
2
這是一個適用於所有句柄的DBI attribute。其記錄在DBI庫中。 AFAIK它適用於DBD :: mysql和每個DBI驅動程序。
相關問題
- 1. DBD :: Oracle和utf8
- 2. DBD :: Oracle和DBI錯誤perl
- 3. DBD :: SQLite:sqlite_unicode pragma
- 4. DBD和mysql在perl中出現問題
- 5. jqgrid ajax與perl cgi和dbd oracle
- 6. DBD :: MySQL:我如何將「LongReadLen」功能運行?
- 7. DBD :: SQLite的斷開
- 8. Perl:下載DBD :: AnyData
- 9. Perl DBD :: ODBC到Informix DBMS
- 10. 如何安裝DBD :: Advantage
- 11. Perl DBD :: Oracle模塊安裝
- 12. 安裝Perl DBD:在Mac
- 13. 的Perl DBD fetchrow_array錯誤:
- 14. 安裝DBD ::甲骨文
- 15. activeperl5.16.3 ppm與DBD :: mysql問題
- 16. 安裝DBD時出錯:: Oracle
- 17. 選擇VFS與DBD :: SQLite的
- 18. 無法爲模塊DBD :: ODBC加載'/usr/local/lib64/perl5/auto/DBD/ODBC/ODBC.so':libodbc.so.1
- 19. PostgreSQL,Perl,DBD和帶有「TO_TIMESTAMP」的插入命令
- 20. Perl,DBD :: Oracle和Oracle 10g的字符集問題
- 21. 如何使用Perl和DBD :: ODBC從SQL Server查詢視圖?
- 22. DBI/DBD :: mysql/mysql_type_name:如何區分Blob和Text?
- 23. 執行SQL :: Statement的REGEX和TRIM與DBD :: CSV一起工作嗎?
- 24. Perl和DBD :: Oracle - 可提取多少行? RowsInCache?
- 25. DBD :: Oracle導致系統調用損壞?
- 26. freetds的耗盡從DBD ::的Sybase
- 27. 使用DBD捕獲錯誤:: Informix
- 28. perl DBD :: mysql不能用於MySQL 5.6?
- 29. DBD基本身份驗證Apache 2.2
- 30. 錯誤使用DBD :: Oracle與instantclient 11.2
我已經使用了從MySQL數據庫讀大blob中的attribs,它對我來說工作得很好 –