remove @@last_insert_id global variable
Your autocomplete for mysql includes a global variable @@lastinsertid -- AFAIK, no such global exists; it's a function call, so it should fill with lastinsertid() instead.
3
votes

This can be both server system variable or function. For details, please refer to http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html