Commit a261f81b authored by cmiller@zippy.(none)'s avatar cmiller@zippy.(none)

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

into  zippy.(none):/home/cmiller/work/mysql/mysql-5.1-release
parents 95ebebbe eca1b560
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment