• unknown's avatar
    This ChangeSet adds RTREE support into myisam library. · 5dac635c
    unknown authored
    RTREEs will be used for GIS extension in MySQL
    
    
    myisam/.cvsignore:
      Added sp_test and rt_test
    myisam/Makefile.am:
      Added RTREE files
    myisam/mi_create.c:
      Added RTREE/SPATIAL initialization
    myisam/mi_delete.c:
      Switched to use virual function, instead of mi_ck_delete() direct call
    myisam/mi_key.c:
      Added sp_make_key() call in the case of SPATIAL index type
    myisam/mi_open.c:
      Added some new initialization actions which depend on key_alg being used: RTREE or BTREE
    myisam/mi_range.c:
      Rtree estimation
    myisam/mi_rkey.c:
      rtree
    myisam/mi_rnext.c:
      rtree
    myisam/mi_rnext_same.c:
      rtree
    myisam/mi_static.c:
      New search flags for bounding rectungles
    myisam/mi_test1.c:
      one now should always specify key_alg during keyinfo initializing: BTREE or RTREE
    myisam/mi_test2.c:
      Added key_alg initializing
    myisam/mi_test3.c:
      Added key_alg initialization
    myisam/mi_update.c:
      Switched to virtual functions, instead of mi_ck_delete/mi_ck_write direct call
    myisam/mi_write.c:
      Virtual function instead of mi_ck_write() direct call
    myisam/myisamdef.h:
      Rtree additions
    5dac635c
sp_defs.h 1.34 KB