The problem is specific for MariaDB Galera Cluster, and cannot be reproduced on standalone MariaDB.
Steps to reproduce:
1. Execute the following two statements within one query, using mysql_real_query( ) function:
(CLIENT_MULTI_STATEMENTS flag is passed to mysql_real_connect() )
2. Execute the statement below in a separate query, but on the same connection:
Still it's possible to execute DELETE or INSERT on the temporary table 'ILIN.__ttmp_test_host_product_table'