dbms: fixed error [#METR-16779].

This commit is contained in:
Alexey Milovidov 2015-09-11 00:36:48 +03:00
parent 3b6ef8b28c
commit f395a408ef

View File

@ -570,7 +570,7 @@ bool TCPHandler::receiveData()
query_context.addExternalTable(external_table_name, storage);
}
/// Данные будем писать напрямую в таблицу.
state.io.out = storage->write(ASTPtr());
state.io.out = storage->write(ASTPtr(), query_context.getSettingsRef());
}
if (block)
state.io.out->write(block);