diff options
author | hf@deer.(none) <> | 2004-07-21 19:10:37 +0500 |
---|---|---|
committer | hf@deer.(none) <> | 2004-07-21 19:10:37 +0500 |
commit | 5bff13bc72903705f2c3a8a42bc30fc283a6e2e1 (patch) | |
tree | e760e781ebd9feba1f0e8c01f34971bd6e703d70 /sql/item_geofunc.cc | |
parent | 84d9b862f6619c74de00349e9398f11ec6409d10 (diff) | |
parent | eb67909bf4a280c14267940d27172f7671aa2716 (diff) | |
download | mariadb-git-5bff13bc72903705f2c3a8a42bc30fc283a6e2e1.tar.gz |
Merging
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r-- | sql/item_geofunc.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc index 66a223f0ebf..00553737a21 100644 --- a/sql/item_geofunc.cc +++ b/sql/item_geofunc.cc @@ -446,7 +446,12 @@ String *Item_func_spatial_collection::val_str(String *str) } } if (str->length() > current_thd->variables.max_allowed_packet) + { + push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN, + ER_WARN_ALLOWED_PACKET_OVERFLOWED, + ER(ER_WARN_ALLOWED_PACKET_OVERFLOWED), func_name()); goto err; + } null_value = 0; return str; |