1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merging with mysql-5.1-rep+2-delivery1

This commit is contained in:
Mats Kindahl
2010-01-13 13:37:01 +01:00
2 changed files with 32 additions and 14 deletions

View File

@ -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);