I could not reproduce it on regular desktop with Intel CPU.
Not sure platform is related, but who knows ....
This is small zabbix server running on a RaspberryPi Model B (512 MB RAM).
Zabbix server is compiled on this host from sources and running with mysql server (innodb_buffer_pool_size = 128M).
Regular 32GB SD card is used as a hard drive.
Raspbian linux is up to date.
Zabbix trunk versions 3.0.0+ are always running on this host, sometimes recompiled.
I've noticed some SQL errors in zabbix_server.log, could not understand why they appear.
I'm 99% sure that such SQLs were missing for example 5 months ago when this small zabbix installation was rolled out based on some revision of trunk (3.0.0+).
To make a clean test I've created a fresh mysql database (based on trunk r57353), unlink&clear "app zabbix server" template, set 2 discovery rules (from "Template OS Linux") scheduled update interval to m/1 (just to be sure when LLD rules are executed), but SQL errors still are appearing.
Taking into account that I cannot reproduce it on my Intel CPU workstation - I suppose that something is wrong with zabbix server daemon on ARM platform.
Attached server log file shows those SQLs when debug level was 3 and also when level was increased to 4 for single running poller.
p.s. when this zabbix server is running with "production" database - server logs additional SQL error, related to lld graph elements creation for missing items, but I guess it has the same nature.
They are probably relates to new network interface recently added to this host and started to be discoverable.