Details
-
Bug
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
N/A
-
None
Description
MariaDB [test]> set statement non_existing=1 for select 1; |
ERROR 1193 (HY000): Unknown system variable 'non_existing' |
MariaDB [test]> 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) |
|
MariaDB [test]> select @@error_count; |
+---------------+ |
| @@error_count |
|
+---------------+ |
| 2 |
|
+---------------+ |
1 row in set (0.00 sec) |
It looks redundant.
commit e64f5d8f758bcc1a8856ba9fba01780533f80747
|
Author: Oleksandr Byelkin <sanja@mariadb.com>
|
Date: Sun Oct 26 16:27:54 2014 +0100
|
|
Fixed test suite global variable saving
|
All the same in Percona server.
revision-id: be73c7ee4415af4c1188689e1642a39512c2ecbd
parent(s): 9f4ee16bf351ea2969d73abcdea92e70538c723c
committer: Oleksandr Byelkin
branch nick: server
timestamp: 2015-03-11 14:57:30 +0100
message:
MDEV-6951: Erroneous SET STATEMENT produces two identical errorsDouble error reporting removed.