summaryrefslogtreecommitdiff
path: root/sql/field.cc
diff options
context:
space:
mode:
authorAlexey Kopytov <alexeyk@mysql.com>2008-12-09 13:19:46 +0300
committerAlexey Kopytov <alexeyk@mysql.com>2008-12-09 13:19:46 +0300
commit66fa3c09a3827fcbf8c082de50fe7a606be03f69 (patch)
tree32fcad7ed7f7cee189764df9c58293a9a353273a /sql/field.cc
parentb7139581325fe41ed584dfa653a2a66d211d4d67 (diff)
downloadmariadb-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.cc2
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
{