Comment 1 for bug 1386210

Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

This is easy to confirm:

mysql> select version();
+-------------+
| version() |
+-------------+
| 5.6.21-69.0 |
+-------------+
1 row in set (0.03 sec)

mysql> set statement non_existing=1 for select 1;
ERROR 1193 (HY000): Unknown system variable 'non_existing'
mysql> show errors;
+-------+------+----------------------------------------+
| Level | Code | Message |
+-------+------+----------------------------------------+
| Error | 1193 | Unknown system variable 'non_existing' |
| Error | 1193 | Unknown system variable 'non_existing' |
+-------+------+----------------------------------------+
2 rows in set (0.00 sec)

mysql> select @@error_count;
+---------------+
| @@error_count |
+---------------+
| 2 |
+---------------+
1 row in set (0.00 sec)