Commit 29410248 authored by Chad MILLER's avatar Chad MILLER
Browse files

Bug#37301 Length and Max_length differ with no obvious reason(2nd version)

Length value is the length of the field,
Max_length is the length of the field value.
So Max_length can not be more than Length.
The fix: fixed calculation of the Item_empty_string item length

(Patch applied and queued on demand of Trudy/Davi.)
parent d0cf2fa6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -468,7 +468,7 @@ def table 253 64 2 Y 0 31 8
def					type	253	10	3	Y	0	31	8
def					possible_keys	253	4096	0	Y	0	31	8
def					key	253	64	0	Y	0	31	8
def					key_len	253	1365	0	Y	0	31	8
def					key_len	253	4096	0	Y	0	31	8
def					ref	253	1024	0	Y	0	31	8
def					rows	8	10	1	Y	32928	0	63
def					Extra	253	255	14	N	1	31	8
@@ -484,7 +484,7 @@ def table 253 64 2 Y 0 31 8
def					type	253	10	5	Y	0	31	8
def					possible_keys	253	4096	7	Y	0	31	8
def					key	253	64	7	Y	0	31	8
def					key_len	253	1365	1	Y	0	31	8
def					key_len	253	4096	1	Y	0	31	8
def					ref	253	1024	0	Y	0	31	8
def					rows	8	10	1	Y	32928	0	63
def					Extra	253	255	27	N	1	31	8
+1 −1
Original line number Diff line number Diff line
@@ -1158,7 +1158,7 @@ def table 253 64 2 Y 0 31 8
def					type	253	10	3	Y	0	31	8
def					possible_keys	253	4096	0	Y	0	31	8
def					key	253	64	0	Y	0	31	8
def					key_len	253	1365	0	Y	0	31	8
def					key_len	253	4096	0	Y	0	31	8
def					ref	253	1024	0	Y	0	31	8
def					rows	8	10	1	Y	32928	0	63
def					Extra	253	255	0	N	1	31	8
+1 −1
Original line number Diff line number Diff line
@@ -1158,7 +1158,7 @@ def table 253 64 2 Y 0 31 8
def					type	253	10	3	Y	0	31	8
def					possible_keys	253	4096	0	Y	0	31	8
def					key	253	64	0	Y	0	31	8
def					key_len	253	1365	0	Y	0	31	8
def					key_len	253	4096	0	Y	0	31	8
def					ref	253	1024	0	Y	0	31	8
def					rows	8	10	1	Y	32928	0	63
def					Extra	253	255	0	N	1	31	8
+1 −1
Original line number Diff line number Diff line
@@ -1159,7 +1159,7 @@ def table 253 64 2 Y 0 31 8
def					type	253	10	3	Y	0	31	8
def					possible_keys	253	4096	0	Y	0	31	8
def					key	253	64	0	Y	0	31	8
def					key_len	253	1365	0	Y	0	31	8
def					key_len	253	4096	0	Y	0	31	8
def					ref	253	1024	0	Y	0	31	8
def					rows	8	10	1	Y	32928	0	63
def					Extra	253	255	0	N	1	31	8
+2 −2
Original line number Diff line number Diff line
@@ -1201,7 +1201,7 @@ def table 253 64 2 Y 0 31 8
def					type	253	10	3	Y	0	31	8
def					possible_keys	253	4096	0	Y	0	31	8
def					key	253	64	0	Y	0	31	8
def					key_len	253	1365	0	Y	0	31	8
def					key_len	253	4096	0	Y	0	31	8
def					ref	253	1024	0	Y	0	31	8
def					rows	8	10	1	Y	32928	0	63
def					Extra	253	255	0	N	1	31	8
@@ -4223,7 +4223,7 @@ def table 253 64 2 Y 0 31 8
def					type	253	10	3	Y	0	31	8
def					possible_keys	253	4096	0	Y	0	31	8
def					key	253	64	0	Y	0	31	8
def					key_len	253	1365	0	Y	0	31	8
def					key_len	253	4096	0	Y	0	31	8
def					ref	253	1024	0	Y	0	31	8
def					rows	8	10	1	Y	32928	0	63
def					Extra	253	255	0	N	1	31	8
Loading