diff options
author | hf@deer.(none) <> | 2004-07-21 21:27:45 +0500 |
---|---|---|
committer | hf@deer.(none) <> | 2004-07-21 21:27:45 +0500 |
commit | cbff743b2dd6894f393db204cbd7e0a96e82f973 (patch) | |
tree | 817dd6e68afd3533bb246b6a2da619a5cab24b40 /sql/item_geofunc.cc | |
parent | 5bff13bc72903705f2c3a8a42bc30fc283a6e2e1 (diff) | |
download | mariadb-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.cc | 3 |
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; } |