summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-01-10 13:54:04 +0100
committerSergei Golubchik <sergii@pisem.net>2013-01-10 13:54:04 +0100
commitbd87fed1dc0caa0720e5a60f0fca1b714c58ac75 (patch)
tree78117460df06878cb987630a95e6304b587a7f39 /sql/item_func.h
parent3c987667d903826e8643f7835f102272ce98987e (diff)
parent2e11ca36f28133c18b72351d176ee2fd7fcbc465 (diff)
downloadmariadb-git-bd87fed1dc0caa0720e5a60f0fca1b714c58ac75.tar.gz
5.1 merge
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 4a31eb2da4e..5d0569f56b2 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -1,5 +1,5 @@
/* Copyright (c) 2000, 2010, Oracle and/or its affiliates.
- Copyright (c) 2009-2011 Monty Program Ab
+ Copyright (c) 2009, 2013, Monty Program Ab.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1073,6 +1073,7 @@ public:
const char *func_name() const { return "last_insert_id"; }
void fix_length_and_dec()
{
+ unsigned_flag= TRUE;
if (arg_count)
max_length= args[0]->max_length;
}