mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
bug#27608 XML output is not well-formed
Problem: output was empty if the result is empty. Fix: print XML header and footer, even if the result is empty, to produce well-formed XML output.
This commit is contained in:
@@ -17,5 +17,7 @@ insert into t1 values (1, 2, 'a&b a<b a>b');
|
||||
--exec $MYSQL --xml test -e "select 1 > 2 from dual"
|
||||
--exec $MYSQL --xml test -e "select 1 & 3 from dual"
|
||||
--exec $MYSQL --xml test -e "select null from dual"
|
||||
--exec $MYSQL --xml test -e "select 1 limit 0"
|
||||
--exec $MYSQL --xml test -vv -e "select 1 limit 0"
|
||||
|
||||
drop table t1;
|
||||
|
||||
Reference in New Issue
Block a user