1. 04 Oct, 2005 9 commits
    • unknown's avatar
      Changed __USE_XOPEN to _XOPEN_SOURCE and got rid of · 463d86a9
      unknown authored
      some extra code.
      
      
      463d86a9
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0 · ec4e385c
      unknown authored
      into  ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
      
      
      sql/log.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      ec4e385c
    • unknown's avatar
      Fixed several boolean type options used in my_long_options[]. · b2fa7d16
      unknown authored
      Some options were declared as 'bool', but since those are being
      handled in my_getopt.c, bool can be machine dependent. To make
      sure it works in all circumstances, the type should be my_bool
      for C (not C++) programs.
      
      
      sql/mysql_priv.h:
        Fixed some bools to my_bools.
      sql/mysqld.cc:
        Changed several bools to my_bools.
      sql/slave.cc:
        Changed bool to my_bool.
      sql/slave.h:
        Changed bool to my_bool.
      b2fa7d16
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7ba7eff0
      unknown authored
      into  zim.(none):/home/brian/mysql/fix-5.0
      
      
      7ba7eff0
    • unknown's avatar
      Some fixes including implicit declaration of a function, · dee0ea4b
      unknown authored
      using wrong type in assignment etc.
      
      
      cmd-line-utils/readline/complete.c:
        Fixed problem with implicitely defining wcwidth() in case when
        compiling with icc.
      cmd-line-utils/readline/display.c:
        Fixed problem with implicitely defining wcwidth() in case when
        compiling with icc.
      cmd-line-utils/readline/mbutil.c:
        Fixed problem with implicitely defining wcwidth() in case when
        compiling with icc.
      server-tools/instance-manager/protocol.cc:
        Fixed some types from int to char. Made ERROR_PACKET_CODE
        static global variable in this file.
      sql/log.cc:
        Removed warning of unused goto when not in debug mode.
      dee0ea4b
    • unknown's avatar
      Move -ansi from global_warnings to cxx_warnings · ee6e983c
      unknown authored
      ee6e983c
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · 5362ca27
      unknown authored
      into  zim.(none):/home/brian/mysql/fix-5.0
      
      
      sql/ha_berkeley.cc:
        Auto merged
      sql/ha_berkeley.h:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_innodb.h:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      5362ca27
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · a454c695
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      sql/sql_base.cc:
        Auto merged
      a454c695
    • unknown's avatar
      Final patch for 5.0 for simplifying storage engine code. We now have just one... · ed35cecd
      unknown authored
      Final patch for 5.0 for simplifying storage engine code. We now have just one set of ifdefs. I may also remove the code for creating new handlers.
      May changes were to simplify storage engine setup and support for legacy call to show storage engines.
      
      
      mysql-test/r/ps_1general.result:
        Fixed test results for new listing order
      sql/examples/ha_tina.cc:
        Removed dead code
      sql/examples/ha_tina.h:
        Removed dead code
      sql/ha_archive.cc:
        Capitalized sotrage engine name and moved disabled code.
      sql/ha_berkeley.cc:
        Moved deisabled code
      sql/ha_federated.cc:
        Removed disabled code
      sql/ha_innodb.cc:
        Removed disabled message
      sql/ha_ndbcluster.cc:
        Removed disabled message
      sql/handler.cc:
        Added in legacy support for sotrage engine listing (ala Serg's request). Removed handlertons variables and we now have simplified ha_init code.
      sql/handler.h:
        No longer need handlertons array.
      ed35cecd
  2. 03 Oct, 2005 11 commits
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/5.0-virgin · 443b1686
      unknown authored
      into  mysql.com:/home/timka/mysql/src/5.0-bug-13410
      
      
      sql/item.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/table.cc:
        Auto merged
      443b1686
    • unknown's avatar
      Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-5.0 · d8972f1e
      unknown authored
      into  selena.:H:/MYSQL/src/tmp-mysql-5.0
      
      
      d8972f1e
    • unknown's avatar
      Unset EOLN_NATIVE flag for proper tests execution under win32. · a40601b1
      unknown authored
      
      mysql-test/include/check_var_limit.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/include/have_big5.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/include/have_compress.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/include/have_crypt.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/include/have_outfile.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/include/have_query_cache.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/include/have_tis620.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/include/have_ucs2.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/include/have_ujis.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/include/not_embedded.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/include/system_db_struct.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/include/test_outfile.inc:
        Turn off EOLN_NATIVE flag
      mysql-test/r/greedy_optimizer.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/index_merge.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/index_merge_bdb.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/index_merge_innodb.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/index_merge_innodb2.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/index_merge_ror.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/index_merge_ror_cpk.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/join_nested.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rowid_order_bdb.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rowid_order_innodb.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_session_var.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/sp-error.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/sp-security.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/sp.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/sum_distinct.result:
        Turn off EOLN_NATIVE flag
      mysql-test/std_data/des_key_file:
        Turn off EOLN_NATIVE flag
      mysql-test/std_data/init_file.dat:
        Turn off EOLN_NATIVE flag
      mysql-test/std_data/loaddata1.dat:
        Turn off EOLN_NATIVE flag
      mysql-test/std_data/loaddata2.dat:
        Turn off EOLN_NATIVE flag
      mysql-test/std_data/loaddata3.dat:
        Turn off EOLN_NATIVE flag
      mysql-test/std_data/loaddata4.dat:
        Turn off EOLN_NATIVE flag
      mysql-test/std_data/rpl_loaddata.dat:
        Turn off EOLN_NATIVE flag
      mysql-test/std_data/rpl_loaddata2.dat:
        Turn off EOLN_NATIVE flag
      mysql-test/std_data/warnings_loaddata.dat:
        Turn off EOLN_NATIVE flag
      mysql-test/t/greedy_optimizer.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/index_merge.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/index_merge_bdb.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/index_merge_innodb.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/index_merge_innodb2.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/index_merge_ror.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/index_merge_ror_cpk.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/join_nested.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rowid_order_bdb.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rowid_order_innodb.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_session_var.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/sp-error.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/sp-security.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/sp.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/sum_distinct.test:
        Turn off EOLN_NATIVE flag
      a40601b1
    • unknown's avatar
      Fix -ansi -pedantic compilation failure. · 257eddcb
      unknown authored
      257eddcb
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · f2b9c3e0
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      f2b9c3e0
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · b2ee385f
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug13231/my50-bug13231
      
      
      b2ee385f
    • unknown's avatar
      ndb - mysql-test-run ndb_config · eaeb04a7
      unknown authored
        Fix 32/64 bit insecure code 
      
      
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        Fix 32/64 bit insecure/useless code
      eaeb04a7
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · 47e822ec
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      sql/handler.h:
        Auto merged
      47e822ec
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · b912aff8
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug13231/my50-bug13231
      
      
      b912aff8
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · cdb57192
      unknown authored
      into  zim.(none):/home/brian/mysql/fix-5.0
      
      
      sql/ha_blackhole.cc:
        Auto merged
      sql/ha_heap.cc:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/examples/ha_example.cc:
        Auto merged
      sql/examples/ha_tina.cc:
        Auto merged
      sql/ha_archive.cc:
        Auto merged
      sql/ha_archive.h:
        Auto merged
      sql/ha_myisam.cc:
        Auto merged
      sql/ha_myisammrg.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/handler.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/ha_federated.cc:
        Merge fix.
      cdb57192
    • unknown's avatar
      Next big patch for loadable storage engines! · 5655d31d
      unknown authored
      Handlerton array is now created instead of using sys_table_types_st. All storage engines can now have inits and giant ifdef's are now gone for startup. No compeltely clean yet, handlertons will next be merged with sys_table_types. Federated and archive now have real cleanup if their inits fail. 
      
      
      sql/examples/ha_archive.cc:
        Modifications for new ha_init code. The init method now checks for errors and will not start up if the errors occur.
      sql/examples/ha_archive.h:
        Change for new init method.
      sql/examples/ha_example.cc:
        New handlerton pieces.
      sql/examples/ha_tina.cc:
        New handlerton pieces.
      sql/ha_berkeley.cc:
        New handlerton pieces, plus changes for ha_init changes. I'm not happy with our current "skip" setup.
      sql/ha_berkeley.h:
        Change in init return.
      sql/ha_blackhole.cc:
        Changes for new handlerton pieces.
      sql/ha_federated.cc:
        Changes for new handlerton and true cleanup code.
      sql/ha_heap.cc:
        Changes for new handlerton returns.
      sql/ha_innodb.cc:
        Changes for handlerton code.
      sql/ha_innodb.h:
        Change in init.
      sql/ha_myisam.cc:
        Changes for additional handlerton bits.
      sql/ha_myisammrg.cc:
        Changes for  new handlerton bits.
      sql/ha_ndbcluster.cc:
        Changes for new handlerton bits.
      sql/ha_ndbcluster.h:
        Changes for handlerton bits.
      sql/handler.cc:
        Changes for ditching show_table_type_st types, and collapsing it into a handlerton array. The ha_init now just loops through all handlers to init (much cleaner...). handlertons and sys_table_types should be merged next.
      sql/handler.h:
        Additions for sys_table_types
      sql/log.cc:
        Clean up of binlog for changes in handlerton
      sql/mysql_priv.h:
        Removed unneeded define for binlog_init
      sql/sql_show.cc:
        Changes for change in handlerton to sys_table_types
      5655d31d
  3. 01 Oct, 2005 6 commits
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · 0c5470aa
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      0c5470aa
    • unknown's avatar
      mysqld.vcproj: · 7e0e3cb7
      unknown authored
        Removed "examples/" from path to "ha_archive.cc"
      
      
      VC++Files/sql/mysqld.vcproj:
        Removed "examples/" from path to "ha_archive.cc"
      7e0e3cb7
    • unknown's avatar
      Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0 · f0d20c9f
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      f0d20c9f
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · d4a91744
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      d4a91744
    • unknown's avatar
      init_db.sql: · c96cf154
      unknown authored
        mysql.user.password doesn't need utf8
      
      
      mysql-test/lib/init_db.sql:
        mysql.user.password doesn't need utf8
      c96cf154
    • unknown's avatar
      Fix for BUG#13410 - qualified reference to a view column in the HAVING clause cannot be resolved. · 58263844
      unknown authored
      The problem was then when a column reference was resolved to a view column, the new Item
      created for this column contained the name of the view, and not the view alias.
      
      
      mysql-test/r/view.result:
        Additional test for BUG#13410.
      mysql-test/t/view.test:
        Additional test for BUG#13410.
      sql/item.cc:
        Correctly cast 'cur_field' to Item_ident because if the original item is
        an Item_field, the cur_field is either an Item_field or an Item_ref.
        Thus we have to cast cur_field to a common super-class of both.
      sql/item.h:
        - real_item() may be called before Item_ref::ref is set
          (i.e. the Item_ref object was resolved).
        - To avoid a crash and to return some meaningful value
          in such cases we return 'this'.
      sql/sql_base.cc:
        - 'item' may be an Item_ref, so we test for the type of the actual
          referenced item.
        - Correctly cast 'cur_field' to Item_ident because if the original
          item is an Item_field, the cur_field is either an Item_field or an
          Item_ref. Thus we have to cast cur_field to a common super-class
          of both.
      sql/table.cc:
        - When creating a new Item for a reference to a view column, use the view alias,
          and not the real view name.
        - Removed old code
      58263844
  4. 30 Sep, 2005 14 commits
    • unknown's avatar
      Merge eherman@bk-internal.mysql.com:/home/bk/mysql-5.0 · 05df35e3
      unknown authored
      into mysql.com:/Users/eric/dev/hton-mysql-5.0
      
      
      05df35e3
    • unknown's avatar
      Move handler specific options into handlerton flag check · d553b667
      unknown authored
      BUG#13108
      
      
      mysql-test/r/federated.result:
        added test results for federated alter table
      mysql-test/t/federated.test:
        added test for federated alter table
      sql/examples/ha_example.cc:
        supports table re-creation
      sql/examples/ha_tina.cc:
        supports table re-creation
      sql/ha_blackhole.cc:
        supports table re-creation
      sql/ha_federated.cc:
        added flag for not supporting alter
      sql/ha_heap.cc:
        supports table recreation
      sql/ha_myisam.cc:
        supports table recreation
      sql/ha_myisammrg.cc:
        supports table re-creation
      sql/handler.cc:
        implemented flag check function
      sql/handler.h:
        added additional handlerton flags
        created a function to test flags
        replace ha_supports_generate macro with call to flag check
      sql/sql_delete.cc:
        replaced ha_supports_generate with handlerton flag check
      sql/sql_table.cc:
        added check for handlerton check for alter support
      d553b667
    • unknown's avatar
      WL#2789 "Instance Manager: test using mysql-test-run testing framework" · 43c8f453
      unknown authored
      Add Instance Manager tests.
      
      
      mysql-test/include/im_check_os.inc:
        Currently Instance Manager tests are known to work only on UNIX platform.
        This header file is included in each IM-test in order to skip the test
        on Windows.
      mysql-test/r/im_daemon_life_cycle.result:
        Results file for Instance Manager daemon test.
      mysql-test/r/im_life_cycle.result:
        Results file for Instance Manager life cycle test.
      mysql-test/r/im_options_set.result:
        Results file for Instance Manager SET statement test.
      mysql-test/r/im_options_unset.result:
        Results file for Instance Manager UNSET statement test.
      mysql-test/r/im_utils.result:
        Results file for Instance Manager utils test.
      mysql-test/t/im_daemon_life_cycle-im.opt:
        Options file for Instance Manager daemon test.
      mysql-test/t/im_daemon_life_cycle.imtest:
        Instance Manager daemon test (mysqltestrun-part).
      mysql-test/t/im_life_cycle.imtest:
        Instance Manager life cycle test.
      mysql-test/t/im_options_set.imtest:
        Instance Manager SET statement test.
      mysql-test/t/im_options_unset.imtest:
        Instance Manager UNSET statement test.
      mysql-test/t/im_utils.imtest:
        Instance Manager utils test.
      mysql-test/t/kill_n_check.sh:
        The helper script. Its main idea is to kill some process and
        check that the process will (or will not) be restarted.
      43c8f453
    • unknown's avatar
      WL#2789 "Instance Manager: test using mysql-test-run testing framework" · 46d8163b
      unknown authored
      1) Add support to testing Instance Manager in daemon mode;
      2) Don't run Instance Manager tests when running with --ps-protocol option;
      
      
      mysql-test/lib/mtr_cases.pl:
        WL#2789 "Instance Manager: test using mysql-test-run testing framework"
        Skip/disable Instance Manager tests in the following cases:
          - we are testing embedded server;
          - we are running with --ps-protocol;
          - Instance Manager executable does not exist;
        Report about the reason in the standard way.
      mysql-test/lib/mtr_process.pl:
        WL#2789 "Instance Manager: test using mysql-test-run testing framework"
        Make several attempts (i.e. send several signals to process) while trying to kill it.
      mysql-test/mysql-test-run.pl:
        WL#2789 "Instance Manager: test using mysql-test-run testing framework"
        Add support for testing Instance Manager in daemon mode.
      46d8163b
    • unknown's avatar
      Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release · 1d349770
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0
      
      
      mysql-test/lib/mtr_report.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      1d349770
    • unknown's avatar
      Merge mysqldev@production.mysql.com:my/mysql-5.0-release · 93875e07
      unknown authored
      into mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
      
      
      93875e07
    • unknown's avatar
      Merge · f69c1867
      unknown authored
      
      sql/ha_ndbcluster.cc:
        SCCS merged
      sql/handler.h:
        SCCS merged
      f69c1867
    • unknown's avatar
      Bug#11238 · 8f842e8f
      unknown authored
      "SELECT ... FOR UPDATE executed as consistent read inside LOCK TABLES"
      Do not discard lock_type information as handler::start_stmt() may require knowledge.
      (fixed by Antony)
      
      
      8f842e8f
    • unknown's avatar
      Merge mysql.com:/home/dlenev/src/mysql-5.0-bg13629 · eeae3fc3
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-merges
      
      
      eeae3fc3
    • unknown's avatar
      Merge mysqldev@production.mysql.com:/data0/mysqldev/my/mysql-5.0-release · 246bd8ca
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-bg13629
      
      
      246bd8ca
    • unknown's avatar
      Merge hholzgraefe@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7d3c939e
      unknown authored
      into  mysql.com:/home/hartmut/projects/mysql/dev/5.0
      
      
      ndb/tools/ndb_config.cpp:
        Auto merged
      7d3c939e
    • unknown's avatar
      CygWin build fix (Bug #13640) · 0585fcbe
      unknown authored
      0585fcbe
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · c3d473ab
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/bug13231/my50-bug13231
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/r/mysqltest.result:
        Auto merged
      mysql-test/t/query_cache.test:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_cache.cc:
        Auto merged
      sql/sql_db.cc:
        Auto merged
      c3d473ab
    • unknown's avatar
      Many files: · 8e7fe376
      unknown authored
        Revert back 5.0 changes to Visual Studio .Net project files
      
      
      VC++Files/client/mysqlclient.vcproj:
        Revert back 5.0 changes to Visual Studio .Net project files
      VC++Files/libmysql/libmysql.vcproj:
        Revert back 5.0 changes to Visual Studio .Net project files
      VC++Files/libmysqld/libmysqld.vcproj:
        Revert back 5.0 changes to Visual Studio .Net project files
      VC++Files/mysql.sln:
        Revert back 5.0 changes to Visual Studio .Net project files
      VC++Files/mysys/mysys.vcproj:
        Revert back 5.0 changes to Visual Studio .Net project files
      VC++Files/sql/mysqld.vcproj:
        Revert back 5.0 changes to Visual Studio .Net project files
      VC++Files/strings/strings.vcproj:
        Revert back 5.0 changes to Visual Studio .Net project files
      8e7fe376