diff options
author | unknown <mkindahl@dl145h.mysql.com> | 2008-01-30 17:35:25 +0100 |
---|---|---|
committer | unknown <mkindahl@dl145h.mysql.com> | 2008-01-30 17:35:25 +0100 |
commit | b0283afb9c19033047d304eb0d31b29b971bf971 (patch) | |
tree | 8fedae29df1588df08d6417feb4f0008a0e171f1 /sql/rpl_utility.cc | |
parent | 101c30ccc48d38c3ea98ebd89a350120a45aa591 (diff) | |
download | mariadb-git-b0283afb9c19033047d304eb0d31b29b971bf971.tar.gz |
Fixing return value.
sql/item_cmpfunc.cc:
Minor fix to return correct value in case of error.
sql/rpl_utility.cc:
Minor fix to return correct value in case of error.
Diffstat (limited to 'sql/rpl_utility.cc')
-rw-r--r-- | sql/rpl_utility.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_utility.cc b/sql/rpl_utility.cc index b548550ef54..4f4083d9b8f 100644 --- a/sql/rpl_utility.cc +++ b/sql/rpl_utility.cc @@ -164,7 +164,7 @@ uint32 table_def::calc_field_size(uint col, uchar *master_data) const break; } default: - length= ~(uint32) -1; + length= ~(uint32) 0; } return length; } |