diff options
author | cmiller@zippy.(none) <> | 2006-04-16 17:17:36 -0400 |
---|---|---|
committer | cmiller@zippy.(none) <> | 2006-04-16 17:17:36 -0400 |
commit | 7d282984f3df174c66f99f3af0a97d1a6c076526 (patch) | |
tree | b40174b3cbc583c8d1182864e3a22242236cde4d /mysql-test/r/mysql.result | |
parent | 8a7adb196d0e6dd5a5d2a9059510d184df79b504 (diff) | |
download | mariadb-git-7d282984f3df174c66f99f3af0a97d1a6c076526.tar.gz |
Only expand the empty string to the letters "NULL" if the column
does not have "NOT NULL" attribute set. Also, calculate the padding
characters more safely, so that a negative number doesn't cause it to
print MAXINT-n spaces.
Diffstat (limited to 'mysql-test/r/mysql.result')
-rw-r--r-- | mysql-test/r/mysql.result | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/mysql.result b/mysql-test/r/mysql.result index ae50c714bba..a067d3ad0f8 100644 --- a/mysql-test/r/mysql.result +++ b/mysql-test/r/mysql.result @@ -85,3 +85,15 @@ c_cp932 | NULL | NULL | Τη γλώσσα | | NULL | NULL | ᛖᚴ ᚷᛖᛏ | +------+------+---------------------------+ ++------+---+------+ +| i | j | k | ++------+---+------+ +| NULL | 1 | NULL | ++------+---+------+ ++-------+---------+------+-----+---------+-------+ +| Field | Type | Null | Key | Default | Extra | ++-------+---------+------+-----+---------+-------+ +| i | int(11) | YES | | NULL | | +| j | int(11) | NO | | NULL | | +| k | int(11) | YES | | NULL | | ++-------+---------+------+-----+---------+-------+ |