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

Bug #25146: Some warnings/errors not shown when using --show-warnings

In several cases, an error when processing the query would cause mysql to
return to the top level without printing warnings.  Fix is to always
print any available warnings before returning to the top level.
This commit is contained in:
tsmith@ramayana.hindu.god
2007-11-20 17:03:56 -07:00
parent b0d01ab27d
commit 6a193c5528
3 changed files with 54 additions and 23 deletions

View File

@ -180,3 +180,10 @@ ERROR at line 1: DELIMITER cannot contain a backslash character
1
End of 5.0 tests
WARNING: --server-arg option not supported in this configuration.
Warning (Code 1286): Unknown table engine 'nonexistent'
Warning (Code 1266): Using storage engine MyISAM for table 't2'
Warning (Code 1286): Unknown table engine 'nonexistent'
Warning (Code 1266): Using storage engine MyISAM for table 't2'
Error (Code 1050): Table 't2' already exists
drop tables t1, t2;
End of tests