1. 31 Jan, 2005 8 commits
  2. 30 Jan, 2005 1 commit
    • unknown's avatar
      Bug#7011 · 934fde09
      unknown authored
        Fix replication for multi-update
        new test - rpl_multi_update2
      
      
      sql/mysql_priv.h:
        Bug#7011
          New function mysql_multi_update_lock()
      sql/sql_parse.cc:
        Bug#7011
          New function check_multi_update_lock()
          For multi-update on slave, perform an early open&lock
      sql/sql_update.cc:
        Bug#7011
          Split out multi-update locking into its own function,
            mysql_multi_update_lock()
      934fde09
  3. 29 Jan, 2005 9 commits
  4. 28 Jan, 2005 10 commits
    • unknown's avatar
      ut0ut.c: · 47f15599
      unknown authored
        Use a 32-bit right-shift implementation through a 64-bit integer that should work ok for both gcc and Visual C++; the code depended on defining SIZEOF_LONG, and that is not set when compiling ibbackup
      
      
      innobase/ut/ut0ut.c:
        Use a 32-bit right-shift implementation through a 64-bit integer that should work ok for both gcc and Visual C++; the code depended on defining SIZEOF_LONG, and that is not set when compiling ibbackup
      47f15599
    • unknown's avatar
      os0file.c: · c392de41
      unknown authored
        Fix Windows porting bugs that broke ibbackup: 1) wrong error check in for CreateDirectory(), 2) wrong error check if the file did not exist in DeleteFile(), 3) too strict sharing restrictions in os_file_create_simple(): when ibbackup called that function, it would not allow mysqld to write to the file
      
      
      innobase/os/os0file.c:
        Fix Windows porting bugs that broke ibbackup: 1) wrong error check in for CreateDirectory(), 2) wrong error check if the file did not exist in DeleteFile(), 3) too strict sharing restrictions in os_file_create_simple(): when ibbackup called that function, it would not allow mysqld to write to the file
      c392de41
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-4.1 · 92ae534c
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.1
      
      
      92ae534c
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · 9dc831c9
      unknown authored
      into mysql.com:/home/dlenev/src/mysql-4.1-tzbug
      
      
      9dc831c9
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · bc12f673
      unknown authored
      into mysql.com:/export/space/pekka/ndb/version/my41
      
      
      bc12f673
    • unknown's avatar
      ndb - fix DATE printout · 9b3bfa5f
      unknown authored
      
      ndb/src/ndbapi/NdbRecAttr.cpp:
        fix DATE printout
      9b3bfa5f
    • unknown's avatar
      NdbThread.c: · bd556f0d
      unknown authored
        wrong order in c-file
      
      
      ndb/src/common/portlib/NdbThread.c:
        wrong order in c-file
      bd556f0d
    • 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
      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
  5. 27 Jan, 2005 12 commits
    • 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
      compile-solaris-sparc-purify: · 7e1bc3d3
      unknown authored
        Added preparation of mysql_client_test(_embedded) and mysqltest(_embedded)
        Added --purify, --purecov, --quantify and --cxxfilt <cxxfiltprog> options
      mysql-test-run.sh:
        Report correctly combinations of embedded+ps-protocol etc
        Added initial Purify support
      
      
      mysql-test/mysql-test-run.sh:
        Report correctly combinations of embedded+ps-protocol etc
        Added initial Purify support
      BUILD/compile-solaris-sparc-purify:
        Added preparation of mysql_client_test(_embedded) and mysqltest(_embedded)
        Added --purify, --purecov, --quantify and --cxxfilt <cxxfiltprog> options
      7e1bc3d3
    • 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
      Bug #5185 mysqldump for windows database gets table names with different case · b8cac714
      unknown authored
      Added the get_actual_table_name function that issues a SHOW TABLES LIKE '%s'.  This will get the table 
      name in the proper case.  We use this table name rather than the one given on the command line.  This will
      prevent problems when importing SQL on Linux that was generated on a Windows platform where case can be
      an issue.
      
      mysqldump.c:
        call get_actual_table_name to get the table name in the proper case
      
      
      client/mysqldump.c:
        call get_actual_table_name to get the table name in the proper case
      b8cac714
    • unknown's avatar
      fil0fil.c: · c84ff986
      unknown authored
        We accidentally checked if the DIRECTORY is of type OS_FILE_TYPE_UNKNOWN; our intention was to check if the FILE is that; best to remove the check altogether, as in crash recovery it is safest to try to open also files whose type is unknown
      os0file.c:
        Fix a bug: in Windows, os_file_readdir_next_file() returned OS_FILE_TYPE_UNKNOWN as the type of a regular file; this did not break mysqld, but did break ibbackup on Windows
      
      
      innobase/os/os0file.c:
        Fix a bug: in Windows, os_file_readdir_next_file() returned OS_FILE_TYPE_UNKNOWN as the type of a regular file; this did not break mysqld, but did break ibbackup on Windows
      innobase/fil/fil0fil.c:
        We accidentally checked if the DIRECTORY is of type OS_FILE_TYPE_UNKNOWN; our intention was to check if the FILE is that; best to remove the check altogether, as in crash recovery it is safest to try to open also files whose type is unknown
      c84ff986
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-4.1 · 555c0e8f
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.1
      
      
      sql/mysqld.cc:
        Auto merged
      555c0e8f
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1 · 96528854
      unknown authored
      into mysql.com:/export/space/pekka/ndb/version/my41
      
      
      96528854
    • unknown's avatar
      ndb - make YEAR and TIMESTAMP into ndb types · 1ed40339
      unknown authored
      
      mysql-test/r/ndb_index_ordered.result:
        make YEAR and TIMESTAMP into ndb types
      mysql-test/t/ndb_index_ordered.test:
        make YEAR and TIMESTAMP into ndb types
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/include/ndbapi/NdbDictionary.hpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/include/util/NdbSqlUtil.hpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/src/common/util/NdbSqlUtil.cpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/src/ndbapi/NdbDictionary.cpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/src/ndbapi/NdbRecAttr.cpp:
        make YEAR and TIMESTAMP into ndb types
      ndb/test/include/NdbSchemaOp.hpp:
        make YEAR and TIMESTAMP into ndb types
      sql/ha_ndbcluster.cc:
        make YEAR and TIMESTAMP into ndb types
      1ed40339
    • 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