1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Porting fix of Bug#19564 from 5.0/5.1 trees.

This commit is contained in:
cmiller@zippy.(none)
2006-05-15 14:58:48 -04:00
parent 72a47d06f4
commit eca1b560ae

View File

@@ -2338,8 +2338,7 @@ print_table_data(MYSQL_RES *result)
uint visible_length; uint visible_length;
uint extra_padding; uint extra_padding;
/* If this column may have a null value, use "NULL" for empty. */ if (! not_null_flag[off] && (cur[off] == NULL))
if (! not_null_flag[off] && (lengths[off] == 0))
{ {
buffer= "NULL"; buffer= "NULL";
data_length= 4; data_length= 4;