1. 28 Jan, 2005 5 commits
    • unknown's avatar
      Manual merge of fixes for bugs #7899 "CREATE TABLE .. SELECT .. and · 8cac2c05
      unknown authored
      CONVERT_TZ() function does not work well together" and bug #7705 
      "CONVERT_TZ() crashes with subquery/WHERE on index column" in 5.0
      tree.
      
      
      mysql-test/r/timezone2.result:
        Auto merged
      mysql-test/t/timezone2.test:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/item_timefunc.h:
        Auto merged
      sql/set_var.h:
        Auto merged
      sql/set_var.cc:
        Manual merge.
      sql/sql_lex.cc:
        Ignoring changes in st_lex::unlink_first_table()/link_first_table_back()
        made in 4.1 since they are not applicable to 5.0.
      sql/tztime.cc:
        Manual merge.
      8cac2c05
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · bf89dc06
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-tzbug
      
      
      sql/item_timefunc.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_lex.cc:
        Auto merged
      sql/tztime.cc:
        Auto merged
      bf89dc06
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · a6bfe13c
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      Build-tools/Do-compile:
        Auto merged
      configure.in:
        Auto merged
      a6bfe13c
    • unknown's avatar
      Do-compile: · 418a0630
      unknown authored
        ndbcluster requires more ports, this is the reason why builds will not start on multiple builds
      
      
      Build-tools/Do-compile:
        ndbcluster requires more ports, this is the reason why builds will not start on multiple builds
      418a0630
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · c5922fcc
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      c5922fcc
  2. 27 Jan, 2005 21 commits
    • unknown's avatar
      Merge · cca25e4d
      unknown authored
      
      ndb/include/Makefile.am:
        Auto merged
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        Auto merged
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        Auto merged
      ndb/src/common/transporter/TransporterRegistry.cpp:
        Auto merged
      ndb/src/kernel/vm/Configuration.cpp:
        Auto merged
      ndb/src/mgmsrv/ConfigInfo.cpp:
        Auto merged
      ndb/tools/delete_all.cpp:
        Auto merged
      ndb/tools/desc.cpp:
        Auto merged
      ndb/tools/drop_index.cpp:
        Auto merged
      ndb/tools/drop_tab.cpp:
        Auto merged
      ndb/tools/listTables.cpp:
        Auto merged
      ndb/tools/restore/restore_main.cpp:
        Auto merged
      ndb/tools/select_all.cpp:
        Auto merged
      ndb/tools/select_count.cpp:
        Auto merged
      ndb/tools/waiter.cpp:
        Auto merged
      ndb/include/util/ndb_opts.h:
        SCCS merged
      ndb/src/mgmsrv/main.cpp:
        resolved merge conflict
      cca25e4d
    • unknown's avatar
      Bug#8167 signal usage clash between mysql server and ndb shared memory · df7bb879
      unknown authored
          added shared memory config parameter, signum for use in signalling
          added global variable for holdign signum to be used for shared memory connection
          only fiddle with signals if it is set
          simplified common ndb client option handling
      
      
      ndb/include/Makefile.am:
        added common defaults file
      ndb/include/mgmapi/mgmapi_config_parameters.h:
        added shared memory config parameter, signum for use in signalling
      ndb/include/transporter/TransporterDefinitions.hpp:
        added shared memory config parameter, signum for use in signalling
      ndb/include/util/ndb_opts.h:
        simplified common ndb client option handling
      ndb/src/common/mgmcommon/IPCConfig.cpp:
        added shared memory config parameter, signum for use in signalling
      ndb/src/common/portlib/NdbThread.c:
        added global variable for holdign signum to be used for shared memory connection
        only block signals if shared memory is used
      ndb/src/common/transporter/SHM_Transporter.cpp:
        use signum in new global variable for shared memory signalling
      ndb/src/common/transporter/TransporterRegistry.cpp:
        use signum in new global variable for shared memory signalling
        only fiddle with signals if it is set
      ndb/src/cw/cpcd/main.cpp:
        ndb_opts not really used
      ndb/src/kernel/vm/Configuration.cpp:
        simplified common ndb client option handling
      ndb/src/mgmclient/main.cpp:
        simplified common ndb client option handling
      ndb/src/mgmsrv/ConfigInfo.cpp:
        added shared memory config parameter, signum for use in signalling
      ndb/src/mgmsrv/main.cpp:
        simplified common ndb client option handling
      ndb/tools/delete_all.cpp:
        simplified common ndb client option handling
      ndb/tools/desc.cpp:
        simplified common ndb client option handling
      ndb/tools/drop_index.cpp:
        simplified common ndb client option handling
      ndb/tools/drop_tab.cpp:
        simplified common ndb client option handling
      ndb/tools/listTables.cpp:
        simplified common ndb client option handling
      ndb/tools/restore/restore_main.cpp:
        simplified common ndb client option handling
      ndb/tools/select_all.cpp:
        simplified common ndb client option handling
      ndb/tools/select_count.cpp:
        simplified common ndb client option handling
      ndb/tools/waiter.cpp:
        simplified common ndb client option handling
      df7bb879
    • unknown's avatar
      Remove unused configure.in name TOOLS_LIBS. · b485ed7b
      unknown authored
      
      configure.in:
        Remove unused TOOLS_LIBS: LIBS and CLIENT_LIBS should
        be enough for the global configure.in
      b485ed7b
    • unknown's avatar
      os0file.c: · 1c49d548
      unknown authored
        Add includes for the _stat() call to compile on Windows in Hot Backup build
      
      
      innobase/os/os0file.c:
        Add includes for the _stat() call to compile on Windows in Hot Backup build
      1c49d548
    • unknown's avatar
      ut0mem.c: · 563ebb43
      unknown authored
        Add a note to the error message that is printed when memory allocation fails: 32-bit computers usually have at most 2 GB or 4 GB process memory space
      
      
      innobase/ut/ut0mem.c:
        Add a note to the error message that is printed when memory allocation fails: 32-bit computers usually have at most 2 GB or 4 GB process memory space
      563ebb43
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9c02a351
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0.last
      
      
      9c02a351
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 3f0cb69a
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL/mysql-5.0.last
      
      
      3f0cb69a
    • unknown's avatar
      Merge lgrimmer@bk-internal.mysql.com:/home/bk/mysql-5.0 · 295db433
      unknown authored
      into mysql.com:/space/my/mysql-5.0
      
      
      295db433
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1-4100 · 87fba518
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-5000
      
      
      BUILD/SETUP.sh:
        Auto merged
      include/my_global.h:
        Auto merged
      mysql-test/r/lowercase_table2.result:
        Auto merged
      mysql-test/r/order_by.result:
        Auto merged
      mysql-test/t/order_by.test:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      87fba518
    • unknown's avatar
      Re-enabled the use of --prefix. · a271a6c8
      unknown authored
      Adjusted the "Usage:" string.
      Ordered the option recognition in reverse order from "Usage:".
      
      
      a271a6c8
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · 99fdc5ef
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      
      99fdc5ef
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 4e5a513c
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b7261
      
      
      4e5a513c
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · f6297a90
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      
      f6297a90
    • unknown's avatar
      item_timefunc.cc: · 199a139d
      unknown authored
        CAST now always return a well-formed character string.
      
      
      sql/item_timefunc.cc:
        CAST now always return a well-formed character string.
      199a139d
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 9a9b3f28
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b7261
      
      
      9a9b3f28
    • unknown's avatar
      A fix: information_schema test fails on Mac OSX · 79414bb3
      unknown authored
      79414bb3
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 513a70a3
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1
      
      
      513a70a3
    • unknown's avatar
      - added "../extra" to the include path of mysqltest.dsp (Windows compile · d22c0005
      unknown authored
        failed to find the newly introduced extra/mysqld_ername.h header file)
      
      
      VC++Files/client/mysqltest.dsp:
        - added "../extra" to the include path (Windows compile failed to find the
          newly introduced extra/mysqld_ername.h header file)
      d22c0005
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 1ea2bc38
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-5000
      
      
      sql/set_var.cc:
        Auto merged
      1ea2bc38
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-4.1 · fcb2f0cc
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      
      fcb2f0cc
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 70e47994
      unknown authored
      into patrick-galbraiths-computer.local:/Users/patg/mysql-5.0
      
      
      70e47994
  3. 26 Jan, 2005 14 commits
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · 2362d921
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-5000
      
      
      BUILD/SETUP.sh:
        Auto merged
      configure.in:
        Auto merged
      innobase/fil/fil0fil.c:
        Auto merged
      innobase/include/univ.i:
        Auto merged
      2362d921
    • unknown's avatar
      Test bug: Memory leak in archive handler. · f50a65b0
      unknown authored
      Added a call to close the meta file after a repair.
      
      
      f50a65b0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · e130b451
      unknown authored
      into mysql.com:/my/mysql-5.0
      
      
      e130b451
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · bf6b46bb
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-5000
      
      
      sql/set_var.cc:
        Auto merged
      bf6b46bb
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-5.0 · 6154d76c
      unknown authored
      into patrick-galbraiths-computer.local:/Users/patg/mysql-5.0
      
      
      sql/field.h:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/set_var.cc:
        Auto merged
      6154d76c
    • unknown's avatar
      changes to get rid of compile warnings in both ha_federated.cc and ha_federated.h · 13ec3ef6
      unknown authored
      
      sql/ha_federated.cc:
        changes to get rid of compile warnings
      sql/ha_federated.h:
        changes to get rid of compile warnings
      13ec3ef6
    • unknown's avatar
      Fix for bug #7899 "CREATE TABLE .. SELECT .. and CONVERT_TZ() function · 20bd0bd6
      unknown authored
      does not work well together". Now using simplier and more correct
      implementation of st_lex::unlink_first_table()/link_first_table_back() 
      (It also nicely handles case when global table list is created because
      of implictly used time zone tables). (2nd attempt)
      
      Fix for bug #7705 "CONVERT_TZ() crashes with subquery/WHERE on index
      column". Implemented new approach for caching objects for constant
      time zone arguments. Now instead of determining whenever these arguments
      are constants and performing time zone lookup at fix_fields() stage, we
      do it on first get_date() invocation.
      
      Cleanup of global @@time_zone variable handling.
      
      
      mysql-test/r/timezone2.result:
        Added test for bugs #7705 "CONVERT_TZ() crashes with subquery/WHERE on
        index column" and #7899 "CREATE TABLE .. SELECT .. and CONVERT_TZ()
        function does not work well together".
      mysql-test/t/timezone2.test:
        Added test for bugs #7705 "CONVERT_TZ() crashes with subquery/WHERE on
        index column" and #7899 "CREATE TABLE .. SELECT .. and CONVERT_TZ()
        function does not work well together".
      sql/item_timefunc.cc:
        Item_func_convert_tz():
          New approach for caching objects for constant time zone arguments.
          Now instead of determining whenever these arguments are constants
          and performing time zone lookup at fix_fields() stage, we do it
          on first get_date() invocation. This works better in cases when 
          const_item() for these arguments returns true only on get_date()
          stage but not on fix_fields() stage (e.g. this happens in quries
          with joins or derived tables).
      sql/item_timefunc.h:
        Item_func_convert_tz():
          Added from_tz_cached/to_tz_cached members indicating whenever we
          already have Time_zone object representing one of constant time zone
          arguments.
      sql/set_var.cc:
        Cleaned up global @@time_zone variable handling. Now we use proper
        locking when we are setting or reading its value.
      sql/set_var.h:
        Removed declaration of sys_var_thd_time_zone::get_tz_ptr() method, which
        no longer used.
      sql/sql_lex.cc:
        st_lex::unlink_first_table(), st_lex::link_first_table_back():
         Simplify implementation according to Monty's suggestion.
         Instead doing something special if global and local table lists
         are the same, we simply save/restore pointers to first elements
         of both global and local lists (which works even when this lists
         are the same!). This handles nicely the case when we have separate
         global table list becuase time zone tables are implicitly used.
      sql/tztime.cc:
        Backport of Monty's fixes from 5.0, which give us nicer error messages
        if we haven't found time zone with such name or its description.
      20bd0bd6
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · d2e2de1b
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      d2e2de1b
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 147640b8
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-5.0-bg7637
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      147640b8
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9b14dc88
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/5.0
      
      
      9b14dc88
    • unknown's avatar
      Merge from 4.1 · 01e84598
      unknown authored
      Archive fix by Ingo.
      Innodb compile fix by Monty.
      
      
      configure.in:
        Auto merged
      innobase/include/univ.i:
        Auto merged
      BUILD/SETUP.sh:
        Auto merged
      mysql-test/t/archive.test:
        Auto merged
      sql/examples/ha_archive.cc:
        Auto merged
      sql/examples/ha_archive.h:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      innobase/fil/fil0fil.c:
        Merged Montys fix.
      01e84598
    • unknown's avatar
      timed_mutexes moved to include/my_sys.h and mysys/my_static.c · 193650b8
      unknown authored
      to avoid linking problems referring to the variable from .c programs.
      
      
      193650b8
    • unknown's avatar
      Merge mleich@bk-internal.mysql.com:/home/bk/mysql-5.0 · bef575d1
      unknown authored
      into mysql.com:/home/matthias/Arbeit/mysql-5.0/src
      
      
      bef575d1
    • unknown's avatar
      Merge mysql.com:/home/mydev/mysql-5.0 · a496ad3f
      unknown authored
      into mysql.com:/home/mydev/mysql-5.0-5000
      
      
      sql/sql_insert.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      a496ad3f