提交 fd84332c 编写于 作者: S serge-rider

#800 SQL export format: linefeeds fix

上级 60305daa
......@@ -104,7 +104,7 @@ public class DataExporterSQL extends StreamExporterAbstract {
@Override
public void exportRow(DBRProgressMonitor monitor, Object[] row) throws DBException, IOException
{
SQLDialect.MultiValueInsertMode insertMode = getMultiValueInsertMode();
SQLDialect.MultiValueInsertMode insertMode = rowsInStatement == 1 ? SQLDialect.MultiValueInsertMode.NOT_SUPPORTED : getMultiValueInsertMode();
int columnsSize = columns.size();
boolean firstRow = false;
if (insertMode == SQLDialect.MultiValueInsertMode.NOT_SUPPORTED || rowCount % rowsInStatement == 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册