1. 06 Nov, 2005 5 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · be1ede92
      unknown authored
      into ndbmaster.mysql.com:/home/ndbdev/tomas/mysql-5.1-new
      
      
      sql/handler.h:
        Auto merged
      be1ede92
    • unknown's avatar
      WL #528: Faster free_tmp_table · add4879e
      unknown authored
      add4879e
    • unknown's avatar
      Reapplied portability changes, from changesets by kent, joerg and msvensson · fdce061b
      unknown authored
      
      mysys/base64.c:
        Portability change for SCO/HP, compiler don't like
        doing pointer arithmetic on void* variable
      include/my_bitmap.h:
        "inline" functions (especially in header files) should be declared "static",
        or else we may get "multiply defined" when they are used in several modules.
        (Solaris compiler problem)
      sql/handler.h:
        Compatibility change for AIX compiler
      storage/bdb/Makefile.in:
        Added bdb "sequence" directory to "make dist"
      cmd-line-utils/readline/complete.c:
        Avoid FreeBSD 5.3 problems including <sys/file.h>
      mysql-test/t/disabled.def:
        Disable compress.test for now
      storage/bdb/build_unix/.IGNORE_ME:
        File that is copied to prevent empty directories in source TAR
      fdce061b
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · c9c92c81
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      c9c92c81
    • unknown's avatar
      1. sys_variables[] array is removed. · b642bb1f
      unknown authored
      2. All have_xxx variables are now selectable.
      
      
      sql/set_var.cc:
        1. sys_have_xxx variables added.
        2. Removed sys_var *sys_variables[] array as we don't need it any more.
        3. void set_var_init() changed to use sys_var_xxx chain insted of sys_variables[] array.
      sql/set_var.h:
        1. add_sys_var() method added to the sys_var class. It's called from constructors
        to chain all successor objects. The first one is stored in the 'static sys_var *first'.
        The total number of variables is in the 'static uint sys_vars'. Each sys_var successor object
        has the 'sys_var *next' pointer to the next one in the chain. 
        2. sys_var_have_variable class introduced to make all have_xxx variables selectable.
      sql/sql_lex.cc:
        trg_new_row_fake_var(0, 0) replaced with '(sys_var*) 0x01' as we don't want to have such fake variables in the sys_var_xxx chain.
      sql/sql_lex.h:
        Proper use of the changed trg_new_row_fake_var.
      sql/sql_yacc.yy:
        Proper use of the changed trg_new_row_fake_var.
      b642bb1f
  2. 05 Nov, 2005 9 commits
    • unknown's avatar
      myisammrg.vcproj, myisam.vcproj, innobase.vcproj, heap.vcproj, bdb.vcproj: · 090b0dd0
      unknown authored
        updated include directory after move to storage directory
      mysql.sln:
        updated locations of storage engines
      myisam.vcproj:
        Rename: VC++Files/myisam/myisam.vcproj -> VC++Files/storage/myisam/myisam.vcproj
      heap.vcproj:
        Rename: VC++Files/heap/heap.vcproj -> VC++Files/storage/heap/heap.vcproj
      innobase.vcproj:
        Rename: VC++Files/innobase/innobase.vcproj -> VC++Files/storage/innobase/innobase.vcproj
      myisammrg.vcproj:
        Rename: VC++Files/myisammrg/myisammrg.vcproj -> VC++Files/storage/myisammrg/myisammrg.vcproj
      bdb.vcproj:
        Rename: VC++Files/bdb/bdb.vcproj -> VC++Files/storage/bdb/bdb.vcproj
      
      
      VC++Files/mysql.sln:
        updated locations of storage engines
      VC++Files/storage/bdb/bdb.vcproj:
        updated include directory after move to storage directory
      VC++Files/storage/heap/heap.vcproj:
        updated include directory after move to storage directory
      VC++Files/storage/innobase/innobase.vcproj:
        updated include directory after move to storage directory
      VC++Files/storage/myisam/myisam.vcproj:
        updated include directory after move to storage directory
      VC++Files/storage/myisammrg/myisammrg.vcproj:
        updated include directory after move to storage directory
      090b0dd0
    • unknown's avatar
      Ndb handler cleanup: · 65ab8b01
      unknown authored
        - removed some returns on ndb internal error codes, return ndb cause in warnings
        - moved all errorcode mapping mysqld-ndb to ndberror.c
        - ndb util thread to discover all ndb tables at startup
        - ndb util thread to wait for mysqld startup
      
      65ab8b01
    • unknown's avatar
      ndb - · 2dc00e6a
      unknown authored
          update test result for conflicting error codes
      
      2dc00e6a
    • unknown's avatar
      ndb - fix conflicting error codes · 30cae2cb
      unknown authored
      30cae2cb
    • unknown's avatar
      ndb - test_event · 4feb2d9a
      unknown authored
          Fix problem when creating shadow table
      
      4feb2d9a
    • unknown's avatar
      ndb - bug with index build of unique index with 32 attributes · d9f12b4e
      unknown authored
           since NDB$FRAGMENT is automatically added, there was a over run in the struct
      
      
      storage/ndb/include/kernel/AttributeList.hpp:
        Fix unique index with 32 attributes
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Fix unique index with 32 attributes
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Fix unique index with 32 attributes
      d9f12b4e
    • unknown's avatar
      Fixed results in test result · c2f1c82c
      unknown authored
      c2f1c82c
    • unknown's avatar
      Added inclusion of dlfcn.h from old 5.1 tree · fc1d4efe
      unknown authored
      fc1d4efe
    • unknown's avatar
      Fix of crashed 5.1 tree (wrong merge + wrong pullout patch forced us to create a new 5.1 tree) · 0e5576a5
      unknown authored
      This is a merge of 5.0 -> 5.1 + some code from old 5.1 tree to get all tests to work and keep the .frm format the same as the old 5.1 tree.
      
      
      BitKeeper/etc/ignore:
        added libmysqld/sql_plugin.cc
      include/Makefile.am:
        Added plugin.hd
      include/m_ctype.h:
        Added my_strchr
      include/my_base.h:
        Added HA_USES_PARSER
        Merge with old 5.1 tree
      libmysqld/Makefile.am:
        Added sql_plugin.cc
      mysql-test/r/ndb_gis.result:
        Fixed results after merge
      sql/Makefile.am:
        Addes sql_plugin.h and sql_plugin.cc
      sql/ha_heap.h:
        Indentation fix
      sql/ha_partition.cc:
        Made partition_hton visible outside
        After merge fixes (for call to get_new_handler)
      sql/handler.cc:
        Added partition_hton to handlerton
      sql/handler.h:
        Added partion to handlerton
        Updated mysql_unpack_partion() from old 5.1 tree
      sql/mysql_priv.h:
        Added sql_plugin.h
      sql/records.cc:
        After merge fix
      sql/share/errmsg.txt:
        Added new errors messages from old 5.1 tree
      sql/sql_partition.cc:
        Removed compiler warnings
        Updated mysql_unpack_partition() from latest 5.1 tree
      sql/structs.h:
        Update KEY from latest 5.1 tree (to get table.cc to compile)
      sql/table.cc:
        Merged .frm format from 5.0, new 5.1 and old 5.1 tree
        (We now use same format as the old 5.1 tree)
        Note that this patch includes code for HA_USE_PARSER which is not usable until rest of 5.1 tree is restored
      sql/unireg.cc:
        Merged .frm format from 5.0, new 5.1 and old 5.1 tree
        (We now use same format as the old 5.1 tree)
        Note that this patch includes code for HA_USE_PARSER which is not usable until rest of 5.1 tree is restored
      strings/Makefile.am:
        Added my_strchr.c
      include/plugin.h:
        New BitKeeper file ``include/plugin.h''
      sql/sql_plugin.cc:
        New BitKeeper file ``sql/sql_plugin.cc''
      sql/sql_plugin.h:
        New BitKeeper file ``sql/sql_plugin.h''
      strings/my_strchr.c:
        New BitKeeper file ``strings/my_strchr.c''
      0e5576a5
  3. 04 Nov, 2005 6 commits
    • unknown's avatar
      Merge mysql.com:/home/my/mysql-5.0 · ef4dff3f
      unknown authored
      into  mysql.com:/home/my/mysql-5.1
      
      
      BUILD/FINISH.sh:
        Auto merged
      BitKeeper/deleted/.del-makefilewin.i~5c8479dcb8a455b2:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~13888739357b3025:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~14f24a4a173e2fcd:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~15e9e5c9e8fa870b:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~1c53f31b88dd36e:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~1dbc058d76ebf1db:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~2e0407fe123f8365:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~2fc379bd4065c995:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~389ee2dcf79afb79:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~4d139e182457e553:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~5104767c73775697:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~608ed49dcd88e0f7:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~63acd666293282a:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~6ba64863bce3d0b8:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~72a64128bacce71b:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~78000390c783b1c5:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~7a9d7d5a42bbfaf5:
        Auto merged
      Makefile.am:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~a40ea12eebdd6ef0:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~aeea7c82f21f7cf5:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~b643e38d8da389ac:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~c7b621c745e5de95:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~c8273a47b90f52bb:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~d1a9d1f7d33fcb73:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~d37b6b303348c871:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~d90f35fdc3f2ee5f:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~dc4b8ad5ea53bd:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~dea10ec1c94f7be:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~ef3a208fa0e9b0db:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~f1e3b890aa1c9ea3:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~f4b7b99a887b7de:
        Auto merged
      BitKeeper/deleted/.del-makefilewin~fdda94ad32fa9e34:
        Auto merged
      BitKeeper/deleted/.del-my_cnf~977f69858affc57b:
        Auto merged
      BitKeeper/etc/config:
        Auto merged
      VC++Files/libmysqld/libmysqld.dsp:
        Auto merged
      VC++Files/sql/mysqld.dsp:
        Auto merged
      client/mysqltest.c:
        Auto merged
      include/Makefile.am:
        Auto merged
      include/base64.h:
        Auto merged
      include/my_base.h:
        Auto merged
      include/mysql_com.h:
        Auto merged
      libmysqld/Makefile.am:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/ndb_basic.result:
        Auto merged
      mysql-test/r/ndb_condition_pushdown.result:
        Auto merged
      mysql-test/t/alter_table.test:
        Auto merged
      mysql-test/t/disabled.def:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      mysys/Makefile.am:
        Auto merged
      mysys/base64.c:
        Auto merged
      scripts/make_win_src_distribution.sh:
        Auto merged
      scripts/mysql_create_system_tables.sh:
        Auto merged
      scripts/mysql_fix_privilege_tables.sql:
        Auto merged
      sql/Makefile.am:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_berkeley.h:
        Auto merged
      sql/ha_federated.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/item.cc:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      sql/log.cc:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/opt_range.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Auto merged
      sql/slave.cc:
        Auto merged
      sql/slave.h:
        Auto merged
      sql/sp.cc:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_delete.cc:
        Auto merged
      sql/sql_help.cc:
        Auto merged
      sql/sql_insert.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_load.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/table.h:
        Auto merged
      storage/heap/_check.c:
        Auto merged
      storage/heap/hp_create.c:
        Auto merged
      storage/innobase/include/Makefile.am:
        Auto merged
      storage/innobase/include/rem0rec.h:
        Auto merged
      storage/innobase/include/rem0rec.ic:
        Auto merged
      storage/innobase/row/row0ins.c:
        Auto merged
      storage/innobase/row/row0upd.c:
        Auto merged
      storage/myisam/mi_check.c:
        Auto merged
      storage/myisam/mi_delete.c:
        Auto merged
      storage/myisam/mi_rkey.c:
        Auto merged
      storage/myisam/mi_rnext_same.c:
        Auto merged
      storage/myisam/mi_search.c:
        Auto merged
      storage/myisam/mi_write.c:
        Auto merged
      storage/myisam/myisamchk.c:
        Auto merged
      storage/myisam/myisamdef.h:
        Auto merged
      storage/myisam/sort.c:
        Auto merged
      storage/myisammrg/myrg_queue.c:
        Auto merged
      storage/ndb/config/type_util.mk.am:
        Auto merged
      storage/ndb/include/kernel/signaldata/DumpStateOrd.hpp:
        Auto merged
      storage/ndb/include/mgmapi/mgmapi_config_parameters.h:
        Auto merged
      storage/ndb/include/mgmapi/ndbd_exit_codes.h:
        Auto merged
      storage/ndb/include/transporter/TransporterCallback.hpp:
        Auto merged
      storage/ndb/src/common/mgmcommon/IPCConfig.cpp:
        Auto merged
      storage/ndb/src/common/transporter/SHM_Transporter.cpp:
        Auto merged
      storage/ndb/src/common/transporter/SHM_Transporter.hpp:
        Auto merged
      storage/ndb/src/common/transporter/SHM_Transporter.unix.cpp:
        Auto merged
      storage/ndb/src/common/transporter/SHM_Transporter.win32.cpp:
        Auto merged
      storage/ndb/src/common/transporter/Transporter.hpp:
        Auto merged
      storage/ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      storage/ndb/src/common/util/Makefile.am:
        Auto merged
      storage/ndb/src/common/util/Parser.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      storage/ndb/src/kernel/error/ndbd_exit_codes.c:
        Auto merged
      storage/ndb/src/kernel/vm/FastScheduler.cpp:
        Auto merged
      storage/ndb/src/kernel/vm/TransporterCallback.cpp:
        Auto merged
      storage/ndb/src/kernel/vm/VMSignal.hpp:
        Auto merged
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      storage/ndb/src/mgmsrv/MgmtSrvr.hpp:
        Auto merged
      storage/ndb/src/mgmsrv/Services.cpp:
        Auto merged
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testBackup.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testOperations.cpp:
        Auto merged
      storage/ndb/test/src/HugoCalculator.cpp:
        Auto merged
      storage/ndb/tools/ndb_condig.cpp:
        Auto merged
      strings/ctype-big5.c:
        Auto merged
      strings/ctype-ucs2.c:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      BUILD/SETUP.sh:
        manual merge
      configure.in:
        manual merge
      mysql-test/r/alter_table.result:
        manual merge
      sql/handler.cc:
        manual merge
      sql/mysql_priv.h:
        manual merge
      sql/records.cc:
        manual merge
      sql/share/errmsg.txt:
        manual merge
      sql/sql_table.cc:
        manual merge
        Fix labels
      sql/sql_update.cc:
        manual merge
      sql/table.cc:
        manual merge
      sql/unireg.cc:
        manual merge
      storage/ndb/config/type_ndbapi.mk.am:
        manual merge
      ef4dff3f
    • unknown's avatar
      Reorder struct elements to be more optimal for 64 bit computers · 74f97cd9
      unknown authored
      (Main reason for reordering was to get rid of compiler warnings for order of element initialization)
      
      
      sql/log.cc:
        Remove compiler warning
      sql/sql_class.h:
        Reorder MYSQL_LOG struct elements to be more optimal for 64 bit computers
        (Main reason for reordering was to get rid of compiler warnings for order of element initialization)
      74f97cd9
    • unknown's avatar
      Merge monty@192.168.0.9:/my/mysql-5.0 · 2b32b621
      unknown authored
      into  mysql.com:/my/mysql-5.0
      
      2b32b621
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 379eac57
      unknown authored
      into  mysql.com:/home/my/mysql-5.0
      
      
      sql/mysqld.cc:
        Auto merged
      379eac57
    • unknown's avatar
      DROP created procedures · beea9734
      unknown authored
      (Caused sp-security to fail)
      
      beea9734
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-9815 · 99e347c4
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      99e347c4
  4. 03 Nov, 2005 20 commits