summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.cc
diff options
context:
space:
mode:
authorhf@deer.(none) <>2004-07-21 21:27:45 +0500
committerhf@deer.(none) <>2004-07-21 21:27:45 +0500
commitcbff743b2dd6894f393db204cbd7e0a96e82f973 (patch)
tree817dd6e68afd3533bb246b6a2da619a5cab24b40 /sql/item_geofunc.cc
parent5bff13bc72903705f2c3a8a42bc30fc283a6e2e1 (diff)
downloadmariadb-git-cbff743b2dd6894f393db204cbd7e0a96e82f973.tar.gz
Final patch for WL#1600(warn if max_allowed_packet used)
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r--sql/item_geofunc.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc
index 00553737a21..9d58cc37c2a 100644
--- a/sql/item_geofunc.cc
+++ b/sql/item_geofunc.cc
@@ -449,7 +449,8 @@ String *Item_func_spatial_collection::val_str(String *str)
{
push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN,
ER_WARN_ALLOWED_PACKET_OVERFLOWED,
- ER(ER_WARN_ALLOWED_PACKET_OVERFLOWED), func_name());
+ ER(ER_WARN_ALLOWED_PACKET_OVERFLOWED),
+ func_name(), current_thd->variables.max_allowed_packet);
goto err;
}