1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Show all generated warnings in SHOW ERROR

Previously we only stored the first given error (the error sent to the client)
This commit is contained in:
monty@mysql.com
2005-02-24 23:33:42 +02:00
parent d5f573713a
commit cd78e701a5
24 changed files with 115 additions and 57 deletions

View File

@ -10,6 +10,10 @@ INSERT INTO t1 VALUES (1);
OPTIMIZE TABLE t1;
Table Op Msg_type Msg_text
test.t1 optimize status Operation failed
Warnings:
Error 1205 Lock wait timeout exceeded; try restarting transaction
OPTIMIZE TABLE non_existing;
Table Op Msg_type Msg_text
test.non_existing optimize error Table 'test.non_existing' doesn't exist
Warnings:
Error 1146 Table 'test.non_existing' doesn't exist