Below is the list of changes that have just been committed into a local
4.1 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2140 05/03/24 11:36:54 msvensson@neptunus.(none) +1 -0
BUG#9303 blob field with specified length < 256 does not create tinyblob
sql/sql_parse.cc
1.429 05/03/24 11:36:51 msvensson@neptunus.(none) +1 -1
Added missing else so that FIELD_TINY_BLOB can be selected
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: msvensson
# Host: neptunus.(none)
# Root: /home/msvensson/mysql/bug9303
--- 1.428/sql/sql_parse.cc 2005-03-14 15:58:22 +01:00
+++ 1.429/sql/sql_parse.cc 2005-03-24 11:36:51 +01:00
@@ -4404,7 +4404,7 @@
/* The user has given a length to the blob column */
if (new_field->length < 256)
type= FIELD_TYPE_TINY_BLOB;
- if (new_field->length < 65536)
+ else if (new_field->length < 65536)
type= FIELD_TYPE_BLOB;
else if (new_field->length < 256L*256L*256L)
type= FIELD_TYPE_MEDIUM_BLOB;
| Thread |
|---|
| • bk commit into 4.1 tree (msvensson:1.2140) BUG#9303 | msvensson | 24 Mar |