1. 21 Jul, 2005 7 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · cf4e25bc
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      cf4e25bc
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 60427b7e
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      60427b7e
    • unknown's avatar
      merge · 2ca791ae
      unknown authored
      2ca791ae
    • unknown's avatar
      Fix merge mistake · 8017fc6a
      unknown authored
      8017fc6a
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 · 03d00d6f
      unknown authored
      into  c-450ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-5.0
      
      
      include/my_sys.h:
        Auto merged
      include/thr_lock.h:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql-common/client.c:
        Auto merged
      client/mysqldump.c:
        Manual merge
      include/mysql.h:
        Manual merge
      libmysql/libmysql.c:
        Manual merge
      myisam/rt_split.c:
        Manual merge
      mysys/thr_lock.c:
        Manual merge
      sql/lock.cc:
        Manual merge
      sql/mysql_priv.h:
        Manual merge
      sql/sql_base.cc:
        Manual merge
      sql/sql_table.cc:
        Manual merge
      tests/mysql_client_test.c:
        Manual merge
      03d00d6f
    • unknown's avatar
      Fix merge · 88a9b4b2
      unknown authored
      88a9b4b2
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.0 · 1fc9c511
      unknown authored
      into  c-450ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/mysql-4.1
      
      
      include/thr_lock.h:
        Auto merged
      mysys/thr_lock.c:
        Auto merged
      sql/lock.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_table.cc:
        Manual merge after 4.0 fix
      1fc9c511
  2. 20 Jul, 2005 30 commits
    • unknown's avatar
      Bug #10600 After review fixes · 1b6ac530
      unknown authored
      
      sql/lock.cc:
        Used flags immediately in call
      sql/mysql_priv.h:
        Added RTFC (short for remove_table_from_cache)
        for constants and used hex syntax to clarify it is bits
        in the flags
      sql/sql_base.cc:
        Use flags parameter immediately and use flags immediately in call
        Change to other variant of eternal loop variant
      sql/sql_table.cc:
        Use flags immediately in call
      1b6ac530
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · d82f6148
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      d82f6148
    • unknown's avatar
      Fix date conversion on 32-bit machines. · 2de1318c
      unknown authored
      
      sql/field.cc:
        Fix type of temporary variables for handling result of
        number_to_datetime().
      2de1318c
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 68e296e9
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      68e296e9
    • unknown's avatar
      Bug #12055 NDB temp tables created by ALTER TABLE are usable · 6dc61868
      unknown authored
      - do not discover temporary files and make them visible
      
      6dc61868
    • unknown's avatar
      Upgraded the version number, as 5.0.10 is cloned off. · 790f530e
      unknown authored
      This push includes the clone tag.
      
      
      configure.in:
        Upgraded the version number, as 5.0.10 is cloned off.
      790f530e
    • unknown's avatar
      Implement MySQL framework to support consistent read views in · c4ff5981
      unknown authored
      cursors. This should fix Bug#11813 when InnoDB part is in 
      (tested with a draft patch).
      The idea of the patch is that if a storage engine supports
      consistent read views, we open one when open a cursor,
      set is as the active view when fetch from the cursor, and close
      together with cursor close.
      
      
      sql/examples/ha_archive.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/examples/ha_example.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/examples/ha_tina.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_berkeley.cc:
        - extend handlerton with cursors methods
      sql/ha_blackhole.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_federated.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_heap.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_innodb.cc:
        - extend handlerton with cursors methods
      sql/ha_myisam.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_myisammrg.cc:
        - extend handlerton with cursors methods; fix coding style
      sql/ha_ndbcluster.cc:
        - extend handlerton with cursors methods
      sql/handler.h:
        - extend handlerton with cursors methods
      sql/sql_select.cc:
        - create a consistent read view when we open a cursor,
          set it for a fetch, and free when we closing the cursor.
      sql/sql_select.h:
        - add Cursor::ht_info to remember read views used in a cursor.
      tests/mysql_client_test.c:
        Disable an assert that will be no longer valid when consistent
        read views in InnoDB are used.
      c4ff5981
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · 72ec1af5
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      72ec1af5
    • unknown's avatar
      merge · cd47305d
      unknown authored
      cd47305d
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 7c4886fd
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      7c4886fd
    • unknown's avatar
      Merge grichter@bk-internal.mysql.com:/home/bk/mysql-4.1 · ca5c3f9b
      unknown authored
      into lmy002.wdf.sap.corp:/home/georg/work/mysql/prod/mysql-4.1
      
      
      tests/mysql_client_test.c:
        Auto merged
      ca5c3f9b
    • unknown's avatar
      cs fixes from last commit · 1462e0bc
      unknown authored
      1462e0bc
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-5.0 · f516ebf9
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0-push
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      f516ebf9
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1 · 37b7e4c6
      unknown authored
      into  mysql.com:/home/jonas/src/mysql-5.0
      
      
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Auto merged
      ndb/include/ndbapi/NdbDictionary.hpp:
        Auto merged
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbacc/DbaccMain.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Auto merged
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/MemoryChannel.hpp:
        Auto merged
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Auto merged
      ndb/test/ndbapi/testBackup.cpp:
        Auto merged
      ndb/test/ndbapi/testNdbApi.cpp:
        Auto merged
      ndb/test/run-test/daily-basic-tests.txt:
        Auto merged
      ndb/tools/drop_index.cpp:
        Auto merged
      ndb/tools/listTables.cpp:
        Auto merged
      ndb/src/kernel/blocks/ndbfs/AsyncFile.cpp:
        merge
      ndb/src/ndbapi/ndberror.c:
        merge
      ndb/test/include/HugoOperations.hpp:
        merge
      ndb/test/src/HugoOperations.cpp:
        merge
      37b7e4c6
    • unknown's avatar
      bug#11942 - ndb backup · 76538629
      unknown authored
        fix error code to avoid clash with 5.0/5.1
      
      
      ndb/include/kernel/signaldata/AlterTable.hpp:
        Change error codes to remove clash from 5.0
      ndb/include/kernel/signaldata/DropTable.hpp:
        Change error codes to remove clash from 5.0
      ndb/src/ndbapi/ndberror.c:
        Change error codes to remove clash from 5.0
      76538629
    • unknown's avatar
      bug#11942 - ndb backup with parallell DDL · 60b06c95
      unknown authored
        add testcase to autotest
      
      
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        remove ;
      ndb/test/run-test/daily-basic-tests.txt:
        add test case
      60b06c95
    • unknown's avatar
      Added some missing casts and changed a define for alloca(). · bb0d815f
      unknown authored
      
      client/mysqldump.c:
        Added casts.
      include/my_sys.h:
        Define for alloca() changed for Metrowerks compiler.
      myisam/rt_split.c:
        Added cast.
      bb0d815f
    • unknown's avatar
      Fix warnings/compilation failures reported by Jan Lindstrom · 7389e540
      unknown authored
      
      sql/field.cc:
        Fix warnings/compilation failures.
      7389e540
    • unknown's avatar
      bug#11942 · fd15dd64
      unknown authored
      
      ndb/include/kernel/signaldata/AlterTable.hpp:
        Add error code for backup in progress
      ndb/include/kernel/signaldata/DictTabInfo.hpp:
        Add backup state
      ndb/include/kernel/signaldata/DropTable.hpp:
        Add error code for backup in progress
      ndb/include/ndbapi/NdbDictionary.hpp:
        Add backup state
      ndb/src/kernel/blocks/backup/Backup.cpp:
        1) remove invalid require (util_sequence_ref) crash
        2) Don't backup objects dropping/creating
        3) set correct error code on backup fragment ref (crash)
        4) save TrigAttrInfo header when getting log full (crash)
        5) lock/unlock tables during backup
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        1) add mutex lock/unlock as part of drop/alter table
        2) add lock/unlock for backup
        3) remove TC from backup trigger loop
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Add BACKUP_ONGOING state
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Add backup state
      ndb/src/ndbapi/ndberror.c:
        Add error code for backup in progress
      ndb/test/ndbapi/testBackup.cpp:
        Add testcase for testBackup -n BackupDDL
      ndb/tools/drop_index.cpp:
        Fix ndb_drop_index
      ndb/tools/listTables.cpp:
        Print of backup state
      fd15dd64
    • unknown's avatar
      Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-5.0 · 661b248e
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my50
      
      661b248e
    • unknown's avatar
      Merge mysql.com:/usr/home/bar/mysql-4.1 · 827a3ece
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.0
      
      
      BitKeeper/deleted/.del-ctype-cp932.c:
        Auto merged
      BitKeeper/deleted/.del-ctype_cp932.result:
        Auto merged
      BitKeeper/deleted/.del-ctype_cp932.test:
        Auto merged
      mysql-test/r/ctype_ujis.result:
        Auto merged
      strings/ctype-big5.c:
        Auto merged
      strings/ctype-gbk.c:
        Auto merged
      strings/ctype-simple.c:
        Auto merged
      strings/ctype-sjis.c:
        Auto merged
      827a3ece
    • unknown's avatar
      Merge mysql.com:/space/pekka/ndb/version/my50 · fb0d3cf2
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my50-ndb
      
      fb0d3cf2
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1 · be242394
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-4.1.innolike
      
      be242394
    • unknown's avatar
      Clean up after merge of bug fixes · 11937ed6
      unknown authored
      
      mysql-test/r/strict.result:
        Fix results file
      11937ed6
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-11954 · 8424b07c
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      8424b07c
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-5906 · 1880e766
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      libmysql/libmysql.c:
        Auto merged
      mysql-test/r/ps_2myisam.result:
        Auto merged
      mysql-test/r/ps_3innodb.result:
        Auto merged
      mysql-test/r/ps_4heap.result:
        Auto merged
      mysql-test/r/ps_5merge.result:
        Auto merged
      mysql-test/r/ps_6bdb.result:
        Auto merged
      mysql-test/r/ps_7ndb.result:
        Auto merged
      sql/field.cc:
        Auto merged
      mysql-test/r/strict.result:
        Resolve conflict
      mysql-test/t/strict.test:
        Resolve conflict
      1880e766
    • unknown's avatar
      Merge mysql.com:/home/jimw/my/mysql-5.0-11822 · a509c23a
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      sql/sql_parse.cc:
        Auto merged
      a509c23a
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 5c72d37e
      unknown authored
      into  mysql.com:/home/jimw/my/mysql-5.0-clean
      
      
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/sql_prepare.cc:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      tests/mysql_client_test.c:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      5c72d37e
    • unknown's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0 · 28785b97
      unknown authored
      into moonbone.local:/work/mysql-5.0-bug-11760
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      28785b97
    • unknown's avatar
      Fix bug #11760 Typo in Item_func_add_time::print() results in NULLs returned · 3727b848
      unknown authored
      by subtime() in view
      
      Item_func_add_time::print() were printing arg[0] instead of arg[1] which
      results in wrongly created view. Functions addtime() and subtime were
      affected by this bug.
      
      
      sql/item_timefunc.cc:
        Fix bug #11760 Typo in Item_func_add_time::print() results in wrongly created view
      mysql-test/t/view.test:
        Test case for bug #11760  Typo in Item_func_add_time::print() results in wrongly created view
      mysql-test/r/view.result:
        Test case for bug #11760  Typo in Item_func_add_time::print() results in wrongly created view
      mysql-test/r/date_formats.result:
        Fixed wrong test result. Affected by bug#11760
      3727b848
  3. 19 Jul, 2005 3 commits
    • unknown's avatar
      Cleanups after merge from 4.1. · 086f7ac2
      unknown authored
      
      mysql-test/r/ps_1general.result:
        Update results
      mysql-test/r/ps_2myisam.result:
        Update results
      mysql-test/r/ps_3innodb.result:
        Update results
      mysql-test/r/ps_4heap.result:
        Update results
      mysql-test/r/ps_5merge.result:
        Update results
      mysql-test/r/ps_6bdb.result:
        Update results
      mysql-test/r/ps_7ndb.result:
        Update results
      mysql-test/r/select.result:
        Update results
      mysql-test/t/disabled.def:
        Disable ndb_condition_pushdown test
      mysql-test/t/select.test:
        Fix bad merge
      sql/field_conv.cc:
        Update name of warning message
      sql/mysqld.cc:
        Set proper thd->killed
      tests/mysql_client_test.c:
        Update test cases, change verify_prepared_field() help function
        so it is passed the filename and line from where it is called
        and includes that in the error message.
      086f7ac2
    • unknown's avatar
      Fix a compilation failure. · 8ff2174a
      unknown authored
      8ff2174a
    • unknown's avatar
      Merge mysql.com:/space/pekka/ndb/version/my50 · bb103325
      unknown authored
      into  mysql.com:/space/pekka/ndb/version/my50-ndb
      
      bb103325