Allows LibreOffice's Base flat file connector to accept more than 65,534 characters per line. The maximum number of columns is 16,384, allowing 262,144 characters per line gives 16 characters per field.

Edit connectivity/source/drivers/flat/ETable.cxx

Change-Id: I11e44879b31c872c9c74225fe1c9021edd4930a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186360
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Laurent DEBOMY
2025-06-11 18:31:15 +02:00
committed by Noel Grandin
parent 264ed42fd6
commit 41d31d5db8
+1 -1
View File
@@ -855,7 +855,7 @@ bool OFlatTable::readLine(sal_Int32 * const pEndPos, sal_Int32 * const pStartPos
{
if (pStartPos)
*pStartPos = static_cast<sal_Int32>(m_pFileStream->Tell());
m_pFileStream->ReadByteStringLine(m_aCurrentLine, nEncoding);
m_pFileStream->ReadByteStringLine(m_aCurrentLine, nEncoding, 262144);
if (m_pFileStream->eof())
return false;