summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorbar@mysql.com/bar.intranet.mysql.r18.ru <>2006-09-29 16:29:39 +0500
committerbar@mysql.com/bar.intranet.mysql.r18.ru <>2006-09-29 16:29:39 +0500
commit8b0f82b9b8ae8a892e67a55dd3dc10154a4cef00 (patch)
tree7cfa1d566858e9efd7cca5523f1520a4a7e339f6 /mysql-test
parent53dea28352e25fe9b4f8b79c357b399ffe95406c (diff)
downloadmariadb-git-8b0f82b9b8ae8a892e67a55dd3dc10154a4cef00.tar.gz
Bug#21263 mysql client XML output does not distinguish between NULL and string 'NULL'
Fix: "mysql --xml" now print NULL values the same way that "mysqldump --xml" does: <field name="name" xsi:nil="true" /> to distinguish from empty strings: <field name="name"></field> and from string "NULL": <field name="name">NULL</field>
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/client_xml.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/r/client_xml.result b/mysql-test/r/client_xml.result
index 24c05c7f9d6..7395b2433e8 100644
--- a/mysql-test/r/client_xml.result
+++ b/mysql-test/r/client_xml.result
@@ -68,7 +68,7 @@ insert into t1 values (1, 2, 'a&b a<b a>b');
<resultset statement="select null from dual
">
<row>
- <field name="NULL">NULL</field>
+ <field name="NULL" xsi:nil="true" />
</row>
</resultset>
drop table t1;