diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-04-12 09:58:09 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-04-12 21:20:02 +0200 |
commit | 1f6bd88c24e7e167920a73eba847419708deb7ae (patch) | |
tree | 4141f22fc6f085958f4bccf4ab7c87d9bf13b146 /sql/item_func.h | |
parent | 41983fd3b1e9f24a3a4524af4aecbf8ca69e5c87 (diff) | |
download | mariadb-git-1f6bd88c24e7e167920a73eba847419708deb7ae.tar.gz |
MDEV-15728 main.thread_id_overflow fails in ps-protocol
mark CONNECTION_ID() as returning *unsigned* number
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 74e469ea9f3..4b4f94df329 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -849,7 +849,7 @@ class Item_func_connection_id :public Item_long_func longlong value; public: - Item_func_connection_id(THD *thd): Item_long_func(thd) {} + Item_func_connection_id(THD *thd): Item_long_func(thd) { unsigned_flag=1; } const char *func_name() const { return "connection_id"; } void fix_length_and_dec(); bool fix_fields(THD *thd, Item **ref); |