- 09 Feb, 2011 1 commit
-
-
MySQL Build Team authored
> ------------------------------------------------------------ > revno: 3545 > revision-id: holyfoot@mysql.com-20110112130241-50lwmhq562otxw31 > parent: dmitry.lenev@oracle.com-20110112130830-csanweanbny2ua3n > committer: Alexey Botchkov <holyfoot@mysql.com> > branch nick: 51mrg > timestamp: Wed 2011-01-12 17:02:41 +0400 > message: > Bug #57321 crashes and valgrind errors from spatial types > Item_func_spatial_collection::fix_length_and_dec didn't call parent's method, so > the maybe_null was set to '0' after it. But in this case the result was > just NULL, that caused wrong behaviour. > > per-file comments: > mysql-test/r/gis.result > Bug #57321 crashes and valgrind errors from spatial types > test result updated. > > mysql-test/t/gis.test > Bug #57321 crashes and valgrind errors from spatial types > test case added. > sql/item_geofunc.h > Bug #57321 crashes and valgrind errors from spatial types > Item_func_geometry::fix_length_and_dec() called in > Item_func_spatial_collection::fix_length_and_dec().
-
- 25 Jan, 2011 1 commit
-
-
Karen Langford authored
-
- 12 Jan, 2011 1 commit
-
-
Alexey Botchkov authored
Item_func_spatial_collection::fix_length_and_dec didn't call parent's method, so the maybe_null was set to '0' after it. But in this case the result was just NULL, that caused wrong behaviour. per-file comments: mysql-test/r/gis.result Bug #57321 crashes and valgrind errors from spatial types test result updated. mysql-test/t/gis.test Bug #57321 crashes and valgrind errors from spatial types test case added. sql/item_geofunc.h Bug #57321 crashes and valgrind errors from spatial types Item_func_geometry::fix_length_and_dec() called in Item_func_spatial_collection::fix_length_and_dec().
-
- 09 Sep, 2010 1 commit
-
-
Ramil Kalimullin authored
Item_func_spatial_collection::fix_length_and_dec() changed to use argument's print() method to print the ER_ILLEGAL_VALUE_FOR_TYPE error.
-
- 07 Sep, 2010 1 commit
-
-
Kristofer Pettersson authored
Convertion from a floating point number to a string caused a crash. During rare circumstances a String object could crash when it was requested to allocate new memory. A crash could occcur in Field_double::val_str() because of a pointer referencing memory inside a String object which was of unknown size. And finally, the geometric collection should not accept arguments which are non geometric.
-
- 22 Feb, 2008 1 commit
-
-
anozdrin/alik@quad. authored
between 5.0 and 5.1. The problem was that in the patch for Bug#11986 it was decided to store original query in UTF8 encoding for the INFORMATION_SCHEMA. This approach however turned out to be quite difficult to implement properly. The main problem is to preserve the same IS-output after dump/restore. So, the fix is to rollback to the previous functionality, but also to fix it to support multi-character-set-queries properly. The idea is to generate INFORMATION_SCHEMA-query from the item-tree after parsing view declaration. The IS-query should: - be completely in UTF8; - not contain character set introducers. For more information, see WL4052.
-
- 04 Oct, 2007 1 commit
-
-
holyfoot/hf@mysql.com/hfmain.(none) authored
We use get_geometry_type() call to decide the exact type of a geometry field to be created (POINT, POLYGON etc) Though this function was only implemented for few items. In the bug's case we need to call this function for the Item_sum instance, where it was not implemented, what is the reason of the crash. Fixed by implementing virtual Item::get_geometry_type(), so it can be called for any Item.
-
- 21 Feb, 2007 1 commit
-
-
Having maybe_null flag unset for geometry/spatial functions leads to wrong Item_func_isnull::val_int()'s results. Fix: set maybe_null flag and add is_null() methods.
-
- 23 Dec, 2006 1 commit
-
-
kent@mysql.com/kent-amd64.(none) authored
Changed header to GPL version 2 only
-
- 02 Nov, 2006 1 commit
-
-
malff/marcsql@weblab.(none) authored
Due to the complexity of this change, everything is documented in WL#3565 This patch is the third iteration, it takes into account the comments received to date.
-
- 04 Jul, 2006 1 commit
-
-
holyfoot@deer.(none) authored
we didn't have code creating GEOMETRY-type fields from Items (expression results) So i added this code
-
- 22 Jun, 2006 1 commit
-
-
holyfoot@deer.(none) authored
The AsBinary function returns VARCHAR data type with binary collation. It can cause problem for clients that treat that kind of data as different from BLOB type. So now AsBinary returns BLOB.
-
- 04 May, 2005 1 commit
-
-
msvensson@neptunus.(none) authored
- Introduce ifdefs so we can control when to use #pragma interface on cygwin
-
- 11 Nov, 2004 1 commit
-
-
konstantin@mysql.com authored
-
- 22 Sep, 2004 1 commit
-
-
hf@deer.(none) authored
CREATE TABLE t1 SELECT POINT(1,2); fixed
-
- 04 Mar, 2004 1 commit
-
-
monty@mashka.mysql.fi authored
-
- 15 Jan, 2004 1 commit
-
-
hf@deer.(none) authored
WL#1163 (Making spatial code optional) Pack of changes to do in sql/ code.
-
- 06 Nov, 2003 1 commit
-
-
bell@sanja.is.com.ua authored
code covarage for srid, GeomFromText with 2 parameters code covarage foe print() method of gis functions
-
- 12 Oct, 2003 1 commit
-
-
bell@laptop.sanja.is.com.ua authored
(SCRUM) (WL#1274)
-
- 21 Aug, 2003 1 commit
-
-
serg@serg.mylan authored
moved them all from different places to item_strfunc.{h,cc} checksum table command Com_xxx status variables updated
-
- 20 Jun, 2003 1 commit
-
-
ram@mysql.r18.ru authored
-
- 30 May, 2003 1 commit
-
-
ram@mysql.r18.ru authored
-