Merge mysqldev@production.mysql.com:my/mysql-5.1-release

into  zippy.(none):/home/cmiller/work/mysql/mysql-5.1-release
This commit is contained in:
unknown 2006-05-15 15:00:20 -04:00
commit aba2ccbcc8

View File

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