1. 28 Jan, 2005 8 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 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
      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 14 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
      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
      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
    • 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
      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
      Merge mysql.com:/home/mydev/mysql-4.1 · fcb2f0cc
      unknown authored
      into mysql.com:/home/mydev/mysql-4.1-4100
      
      
      fcb2f0cc
  3. 26 Jan, 2005 16 commits
  4. 25 Jan, 2005 2 commits
    • unknown's avatar
      buf0rea.c: · 7a220bec
      unknown authored
        Add more diagnostics about why page reads in recovery may hang: print the number of pending pread calls
      
      
      innobase/buf/buf0rea.c:
        Add more diagnostics about why page reads in recovery may hang: print the number of pending pread calls
      7a220bec
    • unknown's avatar
      Merge heikki@bk-internal.mysql.com:/home/bk/mysql-4.1 · d61e212f
      unknown authored
      into hundin.mysql.fi:/home/heikki/mysql-4.1
      
      
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      d61e212f