diff options
author | Mats Kindahl <mats@sun.com> | 2010-01-13 13:37:01 +0100 |
---|---|---|
committer | Mats Kindahl <mats@sun.com> | 2010-01-13 13:37:01 +0100 |
commit | 4abdd9f14aabfc75647d0328a5c9bf3660820499 (patch) | |
tree | 657c72427527360b7e2def2ddb874e9b47403540 /sql/rpl_utility.cc | |
parent | a533cec71b5d0df0656fe00de107bc1472835500 (diff) | |
parent | a561e539434ec9b92f39b248329b1c5ac9d5ce94 (diff) | |
download | mariadb-git-4abdd9f14aabfc75647d0328a5c9bf3660820499.tar.gz |
Merging with mysql-5.1-rep+2-delivery1
Diffstat (limited to 'sql/rpl_utility.cc')
-rw-r--r-- | sql/rpl_utility.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/rpl_utility.cc b/sql/rpl_utility.cc index 16eaae9b91d..feb35527b62 100644 --- a/sql/rpl_utility.cc +++ b/sql/rpl_utility.cc @@ -592,6 +592,12 @@ can_convert_field_to(Field *field, { if (metadata == 0) // Metadata can only be zero if no metadata was provided { + /* + If there is no metadata, we either have an old event where no + metadata were supplied, or a type that does not require any + metadata. In either case, conversion can be done but no + conversion table is necessary. + */ DBUG_PRINT("debug", ("Base types are identical, but there is no metadata")); *order_var= 0; DBUG_RETURN(true); |