diff options
author | Alexey Kopytov <alexeyk@mysql.com> | 2008-12-09 13:19:46 +0300 |
---|---|---|
committer | Alexey Kopytov <alexeyk@mysql.com> | 2008-12-09 13:19:46 +0300 |
commit | 66fa3c09a3827fcbf8c082de50fe7a606be03f69 (patch) | |
tree | 32fcad7ed7f7cee189764df9c58293a9a353273a /sql/field.cc | |
parent | b7139581325fe41ed584dfa653a2a66d211d4d67 (diff) | |
download | mariadb-git-66fa3c09a3827fcbf8c082de50fe7a606be03f69.tar.gz |
Added a missing bit from the original patch for bug #27483 which was lost when re-applying
the patch manually to another tree.
Diffstat (limited to 'sql/field.cc')
-rw-r--r-- | sql/field.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.cc b/sql/field.cc index 8188b51d4d1..f8ab4b852ec 100644 --- a/sql/field.cc +++ b/sql/field.cc @@ -3473,7 +3473,7 @@ int Field_longlong::store(double nr) error= 1; } else - res=(longlong) (ulonglong) nr; + res=(longlong) double2ulonglong(nr); } else { |