| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
sql/spatial.cc:
just float8get doesn't work well with the local variables -
they can be of processor-specific floating type - not the
standard decimal (by hf)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I learned that one shouldn't use String::set in val_str() methods...
mysql-test/r/gis.result:
Test result for #6117
mysql-test/t/gis.test:
Test case #6117
sql/item_geofunc.cc:
String::set doesn't work here
sql/spatial.cc:
Error message isn't needed here
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
myisam/rt_index.c:
Auto merged
myisam/rt_index.h:
Auto merged
myisam/rt_mbr.c:
Auto merged
myisam/rt_mbr.h:
Auto merged
myisam/rt_split.c:
Auto merged
myisam/rt_test.c:
Auto merged
sql/spatial.cc:
Auto merged
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A set of changes improving our RTree indexes and fixed few bugs
found during the tests
myisam/rt_index.c:
Algorythm for picking the branch to insert was fixed.
pick_by_perimeter version of the algorythm added (mostly for testing
purposes)
myisam/rt_index.h:
minimal size of the page set to 1/3
It noticeable increases searching performance
myisam/rt_key.c:
counting of the size of the filled part of the page fixed
rtree_choose_key moved to rt_index.c
myisam/rt_key.h:
no need to make rtree_choose_key global
myisam/rt_mbr.c:
operations for counting the perimeter of MBR added
myisam/rt_mbr.h:
interface for rtree_perimeter_increase
myisam/rt_split.c:
my_multi_malloc changed with my_alloca
sql/spatial.cc:
LINESTRING object can consist of single point
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
myisam/mi_create.c:
Auto merged
myisam/mi_open.c:
Auto merged
myisam/rt_test.c:
Auto merged
myisam/sp_test.c:
Auto merged
sql/spatial.cc:
Auto merged
sql/spatial.h:
Auto merged
sql/sql_yacc.yy:
Auto merged
myisam/mi_range.c:
merging
myisam/mi_rnext.c:
merging
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
myisam spatial code isolated
myisam/mi_create.c:
spatial code ifdef-ed
myisam/mi_key.c:
spatial code ifdef-ed
myisam/mi_open.c:
spatial code ifdef-ed
myisam/mi_range.c:
spatial code ifdef-ed
myisam/mi_rkey.c:
spatial code ifdef-ed
myisam/mi_rnext.c:
spatial code ifdef-ed
myisam/mi_rnext_same.c:
spatial code ifdef-ed
myisam/rt_index.c:
spatial code ifdef-ed
myisam/rt_index.h:
spatial code ifdef-ed
myisam/rt_key.c:
spatial code ifdef-ed
myisam/rt_key.h:
spatial code ifdef-ed
myisam/rt_mbr.c:
spatial code ifdef-ed
myisam/rt_mbr.h:
spatial code ifdef-ed
myisam/rt_split.c:
spatial code ifdef-ed
myisam/rt_test.c:
spatial code ifdef-ed
myisam/sp_defs.h:
spatial code ifdef-ed
myisam/sp_key.c:
spatial code ifdef-ed
myisam/sp_test.c:
spatial code ifdef-ed
sql/spatial.cc:
spatial code ifdef-ed
sql/spatial.h:
spatial code ifdef-ed
sql/sql_yacc.yy:
wrong error messages fixed
|
| |
| |
| |
| |
| |
| |
| | |
sql/spatial.cc:
Fixed memory overrun
sql/spatial.h:
Fixed memory overrun
|
|/
|
|
|
| |
sql/spatial.cc:
should be one step further
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now we use virtual calls instead and redirect VMT pointer of the
geometry object with 'new' operation
sql/field.cc:
Usage of the Geometry class changed
sql/item_geofunc.cc:
Usage of the Geometry class changed
sql/spatial.cc:
Now we rewrite the real VMT of the object with new operation
sql/spatial.h:
No need for the VMT-like structure and pointers to it
sql/sql_yacc.yy:
enum items was renamed accordingly to coding standards
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
heap/hp_delete.c:
Added comments
mysql-test/r/gis.result:
Updated results after name changes (all results line are unchanged)
mysql-test/r/show_check.result:
Update test results after fix in hp_delete.cc
mysql-test/t/gis.test:
Changed table names to longer, hopefully non conflicting ones.
Added missing drop table
mysys/hash.c:
Inendation cleanup
mysys/tree.c:
Updated comments
Decrease tree->allocated on delete (for status)
sql/field.cc:
Added safety checking for GIS objects
sql/gstream.cc:
Added copyright message
Made a lot of speed/space optimizations
Changed class names to be MySQL compliant
sql/gstream.h:
Made a lot of speed/space optimizations
Changed class names to be MySQL compliant
sql/item_create.cc:
Indentation fixup
sql/item_geofunc.cc:
Use new gis interface functions and new gis class names.
Simple optimizations
Indentation fixups
Fixed a lot of unlikely but possible errors.
sql/item_geofunc.h:
Moved SRID_SIZE to spatial.h
sql/spatial.cc:
Added copyright message
Made a lot of speed/space optimizations
Changed class names to be MySQL compliant
sql/spatial.h:
Made a lot of speed/space optimizations
Changed class names to be MySQL compliant
Indentation fixes
Use bool instead of int as result type for functions that only return 0 or 1
sql/sql_string.cc:
Simple optimizations
sql/sql_string.h:
Simple cleanups
sql/structs.h:
Added LEX_STRING_WITH_INIT (needed by spatial.cc)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After merge fixes.
Now code compiles, but there is still some valgrind warnings that needs to be fixed
myisam/mi_rnext_same.c:
handle case where rtree_find_next() returns an error
(assume this means that there was no more keys)
myisam/rt_index.c:
Code cleanup
mysql-test/r/func_crypt.result:
Update results
mysql-test/r/func_group.result:
Update results
mysql-test/r/null_key.result:
Update results
mysql-test/r/order_by.result:
Update results
mysql-test/r/query_cache.result:
Update results
mysql-test/r/range.result:
Update results
mysql-test/r/rpl_trunc_binlog.result:
Update results
mysql-test/t/fulltext.test:
Fix error numbers
mysql-test/t/func_crypt.test:
Fixed test for 4.1
mysql-test/t/range.test:
Moved tests to be in sync with 4.0
mysys/test_charset.c:
Removed acccess to non existing functions
sql-common/client.c:
Merge fix
sql/item_strfunc.cc:
Simple code cleanup
Don't call ->c_ptr() when you don't need a 0 terminated string
(Causes warnings from valgrind)
sql/log_event.cc:
After merge fixes
sql/protocol.cc:
Change default catalog name to 'def'
sql/spatial.cc:
Code cleanup
sql/sql_class.cc:
After merge fixes
sql/time.cc:
Ensure that time object is cleared on error
sql/unireg.cc:
Removed warning reported by valgrind
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GeomertyFromWKB() function.
SRID() function.
::store() methods for Field_geom.
Code cleanup.
myisam/sp_key.c:
SRID support.
mysql-test/r/gis.result:
We should use GeometryFromWKB().
mysql-test/t/gis.test:
We should use GeometryFromWKB().
sql/field.cc:
SRID support.
::store() methods for Field_geom.
Code cleanup.
sql/field.h:
SRID support.
::store() methods for Field_geom.
Code cleanup.
sql/item_cmpfunc.cc:
SRID support.
Code cleanup.
sql/item_create.cc:
Code cleanup.
sql/item_create.h:
Code cleanup.
sql/item_func.cc:
SRID support.
Code cleanup.
sql/item_func.h:
SRID support.
sql/item_strfunc.cc:
SRID support.
GeometryFromWKB() function.
Code cleanup.
sql/item_strfunc.h:
SRID support.
GeometryFromWKB() function.
Code cleanup.
sql/lex.h:
GeometryFromWKB() function.
SRID() function.
sql/spatial.cc:
Code cleanup.
sql/spatial.h:
Code cleanup.
sql/sql_yacc.yy:
Fix for xxxFromText() functions.
GeometryFromWKB() function.
|
|
|
|
|
|
|
| |
Code clean-up according 'Coding Standards and Styles'
|
|\
| |
| |
| |
| |
| |
| |
| | |
into mysql.r18.ru:/usr/home/ram/work/mysql-4.1
sql/spatial.cc:
Auto merged
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some default_charset_info were removed
sql_select.cc:
Some default_charset_info were removed.
sql/spatial.cc:
Some default_charset_info were removed
sql/sql_select.cc:
Some default_charset_info were removed.
sql/sql_analyse.cc:
Some default_charset_info were removed
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some changes to the prepared statement protocol to make it easier to use and faster.
Makefile.am:
Fix to make dist to work with cmd-line-utils
client/mysql.cc:
Portability fixes
client/mysqlbinlog.cc:
Portabiliy fixes and remove usafe of FILE
configure.in:
Fix to make dist to work with cmd-line-utils
heap/_check.c:
Portability fixes
include/config-win.h:
Portability fixes
include/m_ctype.h:
Indentation cleanup
include/my_list.h:
Portability fixes
include/mysql.h:
Cleanup of BIND structure
include/violite.h:
Portability fixes
innobase/dict/dict0dict.c:
Portability fixes
innobase/dict/dict0load.c:
Portability fixes
innobase/include/os0proc.h:
Portability fixes (Heikki, please check)
innobase/os/os0proc.c:
Portability fixes (Heikki, please check)
innobase/ut/ut0ut.c:
Portability fixes
isam/pack_isam.c:
Portability fixes
libmysql/libmysql.c:
Portability fixes
Remove obscure usage of the length parameter for prepared statements.
libmysql/libmysql.def:
Remove not existing functions
libmysqld/lib_sql.cc:
Remove compiler warning
mysql-test/r/explain.result:
Fix after merge
mysql-test/r/join.result:
Fix after merge
mysys/my_once.c:
Portability fix
mysys/tree.c:
Portability fixes
sql/field.cc:
Portability fixes
sql/filesort.cc:
move assert.h to mysql_priv.h
sql/ha_berkeley.cc:
move assert.h to mysql_priv.h
sql/ha_innodb.cc:
move assert.h to mysql_priv.h
sql/item.cc:
move assert.h to mysql_priv.h
Fixed syntax error
sql/item_cmpfunc.cc:
move assert.h to mysql_priv.h
sql/item_func.cc:
move assert.h to mysql_priv.h
sql/item_row.cc:
move assert.h to mysql_priv.h
sql/item_strfunc.cc:
Portability fix
sql/item_subselect.cc:
Portability fix
sql/item_sum.cc:
move assert.h to mysql_priv.h
sql/lex.h:
Portability fix
sql/lock.cc:
move assert.h to mysql_priv.h
sql/log.cc:
move assert.h to mysql_priv.h
sql/log_event.cc:
Portability fix
sql/mf_iocache.cc:
move assert.h to mysql_priv.h
sql/mysql_priv.h:
move assert.h to mysql_priv.h
sql/mysqld.cc:
move assert.h to mysql_priv.h
sql/opt_range.cc:
move assert.h to mysql_priv.h
sql/password.c:
Portability fix
sql/protocol.cc:
move assert.h to mysql_priv.h
sql/set_var.cc:
Portability fix
sql/slave.cc:
move assert.h to mysql_priv.h
sql/spatial.cc:
Portability fix
sql/sql_acl.cc:
move assert.h to mysql_priv.h
sql/sql_base.cc:
move assert.h to mysql_priv.h
sql/sql_cache.cc:
move assert.h to mysql_priv.h
sql/sql_class.cc:
move assert.h to mysql_priv.h
sql/sql_handler.cc:
move assert.h to mysql_priv.h
sql/sql_help.cc:
Removed compiler warning
sql/sql_lex.cc:
Portability fix
sql/sql_lex.h:
Portability fix
sql/sql_parse.cc:
move assert.h to mysql_priv.h
sql/sql_prepare.cc:
move assert.h to mysql_priv.h
sql/sql_repl.cc:
move assert.h to mysql_priv.h
sql/sql_select.cc:
move assert.h to mysql_priv.h
sql/sql_string.cc:
Portability fix
sql/sql_string.h:
Portability fix
sql/sql_table.cc:
move assert.h to mysql_priv.h
sql/sql_yacc.yy:
Portability fix
Remove not accessed code
strings/ctype-bin.c:
Portability fix
strings/ctype-mb.c:
Portability fix
strings/ctype.c:
Portability fix
tests/client_test.c:
A
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fixed layout
sql/filesort.cc:
fixed layout
sql/gstream.cc:
fixed layout
sql/item.cc:
postreview fix
sql/item.h:
postreview fix
sql/item_cmpfunc.cc:
postreview fix
sql/item_cmpfunc.h:
fixed layout
sql/item_func.h:
fixed layout
sql/item_row.h:
fixed layout
sql/item_strfunc.cc:
fixed layout
sql/item_subselect.cc:
postreview fix
sql/item_subselect.h:
postreview fix
sql/nt_servc.cc:
fixed layout
sql/opt_range.cc:
fixed layout
sql/password.c:
fixed layout
sql/spatial.cc:
fixed layout
sql/sql_help.cc:
fixed layout
sql/sql_lex.cc:
fixed layout
sql/sql_olap.cc:
fixed layout
sql/sql_select.cc:
fixed layout
sql/sql_show.cc:
fixed layout
sql/sql_string.cc:
fixed layout
sql/sql_table.cc:
fixed layout
sql/stacktrace.c:
fixed layout
|
|
|
|
|
|
|
|
|
|
|
| |
sql/item_strfunc.cc:
spatial function's fixes
sql/spatial.cc:
spatial type comperations are case-independent now
sql/sql_string.h:
this is a bit safer
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
include/my_base.h:
Fix to ensure that old tables works in 4.1
myisam/mi_open.c:
cleanup
mysys/my_handler.c:
Fixed problem in fulltest testcase
sql/spatial.cc:
cleanup
sql/sql_table.cc:
cleanup
|
|
BitKeeper/etc/ignore:
Added myisam/rt_test myisam/sp_test to the ignore list
|