summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.h
Commit message (Collapse)AuthorAgeFilesLines
* WL#5016: Fix header file include guardsMats Kindahl2009-09-231-0/+4
| | | | Adding header include file guards to files that are missing such.
* Fix for Bug#30217: Views: changes in metadata behaviouranozdrin/alik@quad.2008-02-221-2/+7
| | | | | | | | | | | | | | | | | | | 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.
* Merge mysql.com:/home/hf/work/31155/my50-31155holyfoot/hf@hfmain.(none)2007-10-121-4/+3
|\ | | | | | | into mysql.com:/home/hf/work/31155/my51-31155
| * Bug #31155 gis types in union'd select cause crash.holyfoot/hf@mysql.com/hfmain.(none)2007-10-041-4/+3
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge mysql.com:/home/ram/work/b26038/b26038.5.0ramil/ram@ramil.myoffice.izhnet.ru2007-03-051-5/+32
|\ \ | |/ | | | | into mysql.com:/home/ram/work/b26038/b26038.5.1
| * Merge mysql.com:/home/ram/work/b26038/b26038.4.1ramil/ram@mysql.com/ramil.myoffice.izhnet.ru2007-02-281-5/+32
| |\ | | | | | | | | | into mysql.com:/home/ram/work/b26038/b26038.5.0
| | * Fix for bug #26038: X() value of empty NOT NULL POINT is neither NULL nor ↵ramil/ram@mysql.com/ramil.myoffice.izhnet.ru2007-02-211-5/+32
| | | | | | | | | | | | | | | | | | | | | | | | NOT NULL 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.
* | | Merge mysql.com:/home/kent/bk/main/mysql-5.0kent@kent-amd64.(none)2006-12-231-2/+1
|\ \ \ | |/ / | | | | | | into mysql.com:/home/kent/bk/main/mysql-5.1
| * | Many files:kent@mysql.com/kent-amd64.(none)2006-12-231-2/+1
| | | | | | | | | | | | Changed header to GPL version 2 only
* | | Bug#21114 (Foreign key creation fails to table with name format)malff/marcsql@weblab.(none)2006-11-021-2/+2
|/ / | | | | | | | | | | | | 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.
* | bug #14807 (GeomFromText() should return MYSQL_TYPE_GEOMETRY)holyfoot@deer.(none)2006-07-041-0/+5
| | | | | | | | | | we didn't have code creating GEOMETRY-type fields from Items (expression results) So i added this code
* | mergingholyfoot@mysql.com2006-06-261-0/+2
|\ \ | |/
| * bug #10166 (Signed byte values cause data to be padded)holyfoot@deer.(none)2006-06-221-0/+2
| | | | | | | | | | | | | | 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.
* | Merge neptunus.(none):/home/msvensson/mysql/bug10241msvensson@neptunus.(none)2005-05-091-1/+1
|\ \ | |/ | | | | into neptunus.(none):/home/msvensson/mysql/mysql-5.0
| * BUG#10241 cygwin port: invalid pragma interface directivesmsvensson@neptunus.(none)2005-05-041-1/+1
| | | | | | | | - Introduce ifdefs so we can control when to use #pragma interface on cygwin
* | Rename: Item::val -> Item::val_real().konstantin@mysql.com2004-11-111-4/+4
|/
* Additional fix for bug #5136 (Geometry object is corrupted when queried)hf@deer.(none)2004-09-221-30/+32
| | | | CREATE TABLE t1 SELECT POINT(1,2); fixed
* Optimized GIS functionsmonty@mashka.mysql.fi2004-03-041-2/+0
|
* SCRUM:hf@deer.(none)2004-01-151-0/+11
| | | | | WL#1163 (Making spatial code optional) Pack of changes to do in sql/ code.
* fixed printability of gis functionsbell@sanja.is.com.ua2003-11-061-1/+2
| | | | | code covarage for srid, GeomFromText with 2 parameters code covarage foe print() method of gis functions
* fixed printability of Items (all items except subselects)bell@laptop.sanja.is.com.ua2003-10-121-0/+3
| | | | (SCRUM) (WL#1274)
* fixed a crash on COMPRESS() and other zlib-dependent functions when compiled ↵serg@serg.mylan2003-08-211-24/+0
| | | | | | | | w/o zlib moved them all from different places to item_strfunc.{h,cc} checksum table command Com_xxx status variables updated
* Renamed xxx_as_text() and xxx__from_text().ram@mysql.r18.ru2003-06-201-2/+2
|
* Moved spatial functions to the sql/item_geofunc.cc file.ram@mysql.r18.ru2003-05-301-0/+360