8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

Allow to use the BULK_INSERT hack with others commands.

This commit is contained in:
Adriano dos Santos Fernandes 2016-07-13 14:59:39 -03:00
parent 4759ea8aa3
commit 14ca252891

View File

@ -2666,11 +2666,13 @@ static processing_state bulk_insert_hack(const char* command)
if (!statement_type)
return ps_ERR;
/*** ASF: This is util to test others commands too.
if (statement_type != isc_info_sql_stmt_insert)
{
isqlGlob.printf("Only INSERT commands are accepted in bulk mode.%s", NEWLINE);
return ps_ERR;
}
***/
Firebird::RefPtr<Firebird::IMessageMetadata> message(global_Stmt->getInputMetadata(fbStatus));
if (ISQL_errmsg(fbStatus))