1. 24 Aug, 2005 5 commits
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · 6f24ba5f
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      
      6f24ba5f
    • unknown's avatar
      Merge hundin.mysql.fi:/home/heikki/mysql-4.0 · 891740bf
      unknown authored
      into  hundin.mysql.fi:/home/heikki/mysql-4.1
      
      
      sql/ha_innodb.cc:
        Auto merged
      891740bf
    • unknown's avatar
      ha_innodb.cc: · 4c76d94f
      unknown authored
        Fix bug #12779 : never give a row count estimate of 0 to the MySQL query optimizer, as then left join optimizer may beleive it KNOWS that the table is empty; note that this fix may change query optimization of many other queries where one table is empty; note that the proper fix would be to make the query optimizer to know that the row count estimates it receives really are just estimates, it cannot assume they are certain
      
      
      sql/ha_innodb.cc:
        Fix bug #12779 : never give a row count estimate of 0 to the MySQL query optimizer, as then left join optimizer may beleive it KNOWS that the table is empty; note that this fix may change query optimization of many other queries where one table is empty; note that the proper fix would be to make the query optimizer to know that the row count estimates it receives really are just estimates, it cannot assume they are certain
      4c76d94f
    • unknown's avatar
      Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1 · ab5cc196
      unknown authored
      into mysql.com:/M41/mysql-4.1
      
      
      mysys/charset.c:
        Auto merged
      ab5cc196
    • unknown's avatar
      Merge · 91498790
      unknown authored
      
      mysys/charset.c:
        SCCS merged
      91498790
  2. 23 Aug, 2005 3 commits
    • unknown's avatar
      Merge · d93563f2
      unknown authored
      d93563f2
    • unknown's avatar
      removed ndb grep from configure .in · a797112c
      unknown authored
      
      BitKeeper/deleted/.del-Makefile~e0b7d67078f0fae0:
        Delete: ndb/src/kernel/blocks/dblqh/redoLogReader/Makefile
      BitKeeper/deleted/.del-Grep.cpp~ad798e9ae519d667:
        Delete: ndb/src/kernel/blocks/grep/Grep.cpp
      BitKeeper/deleted/.del-Makefile.am~f73be89578d3b6cc:
        Delete: ndb/src/kernel/blocks/grep/Makefile.am
      BitKeeper/deleted/.del-Grep.hpp~b05e3af6cfabe387:
        Delete: ndb/src/kernel/blocks/grep/Grep.hpp
      BitKeeper/deleted/.del-GrepInit.cpp~df28ab3a892455fd:
        Delete: ndb/src/kernel/blocks/grep/GrepInit.cpp
      BitKeeper/deleted/.del-Makefile~b293ae88e4394490:
        Delete: ndb/src/kernel/blocks/grep/systab_test/Makefile
      BitKeeper/deleted/.del-grep_systab_test.cpp~c7305578bec8cb62:
        Delete: ndb/src/kernel/blocks/grep/systab_test/grep_systab_test.cpp
      BitKeeper/deleted/.del-testGrep.cpp~2106eb0a6bf2a1b5:
        Delete: ndb/test/ndbapi/testGrep.cpp
      a797112c
    • unknown's avatar
      enabled make of ndb_redo_log_reader · 8803c688
      unknown authored
      8803c688
  3. 22 Aug, 2005 3 commits
  4. 21 Aug, 2005 2 commits
  5. 20 Aug, 2005 2 commits
  6. 19 Aug, 2005 14 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · a8031724
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      a8031724
    • unknown's avatar
      Fix ctype_cp932 test to be deterministic on different machines. · ab39c1ba
      unknown authored
      
      mysql-test/r/ctype_cp932.result:
        Update results to make them deterministic
      mysql-test/t/ctype_cp932.test:
        Updated test to be deterministic on all machines
      ab39c1ba
    • unknown's avatar
      Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-4.1 · 30e9a3ec
      unknown authored
      into  radha.local:/Users/patg/mysql-build/mysql-4.1.clean
      
      
      sql/mysqld.cc:
        Auto merged
      30e9a3ec
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · 5ff24316
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      
      5ff24316
    • unknown's avatar
      Bug#11338 Fixes from review (identical functionality). · 1b970e94
      unknown authored
      
      include/my_sys.h:
        Fixes from review (use version in log_event.cc instead)
      mysql-test/r/ctype_cp932.result:
        Updated test for bug#11338 (logging of prepared statement w/ blob type)
      mysql-test/t/ctype_cp932.test:
        udpated test for bug#11338 (logging of prepared statement w/ blob type)
      mysys/charset.c:
        Fixes from review (use version in log_event.cc instead)
      sql/item.cc:
        Fixes from review (store character_set_client differently so that
        fix can be merged forward to 5.0)
      sql/item.h:
        Fixes from review
      sql/log_event.cc:
        Fixes from review, str_to_hex is now used by item.cc
      sql/log_event.h:
        Added prototype for str_to_hex (now used by item.cc)
      sql/sql_prepare.cc:
        Fixes from review, store character_set_client differently so that 
        Item_param::query_val_str can use it.
      1b970e94
    • unknown's avatar
      distinct.test, distinct.result: · 01f4258a
      unknown authored
        Added test cases for bug #12625.
      sql_select.cc:
        Fixed bug #12625.
        Fixed invalid removal of constant items from the DISTINCT
        list in the function create_distinct_group.
      
      
      sql/sql_select.cc:
        Fixed bug #12625.
      mysql-test/r/distinct.result:
        Added test cases for bug #12625.
      mysql-test/t/distinct.test:
        Added test cases for bug #12625.
      01f4258a
    • unknown's avatar
      Merge eel.(none):/home/jonas/src/mysql-4.1 · 91b19214
      unknown authored
      into  eel.(none):/home/jonas/src/mysql-4.1-push
      
      
      91b19214
    • unknown's avatar
      ndb - · 9c668f7f
      unknown authored
      remove grep from Makefile
      
      
      ndb/src/kernel/Makefile.am:
        remove grep from Makefile
      9c668f7f
    • unknown's avatar
      jonas - · 83fbcef1
      unknown authored
      Fix checkout properties
      
      
      BitKeeper/etc/config:
        Fix checkout properties
      83fbcef1
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8ff3f16d
      unknown authored
      into  eel.(none):/home/jonas/src/mysql-4.1-push
      
      
      8ff3f16d
    • unknown's avatar
      Merge eel.(none):/home/jonas/src/mysql-4.1-push · 678d97ee
      unknown authored
      into  eel.(none):/home/jonas/src/mysql-4.1
      
      
      mysql-test/t/ndb_config.test:
        Auto merged
      ndb/tools/Makefile.am:
        Auto merged
      ndb/tools/ndb_config.cpp:
        Auto merged
      678d97ee
    • unknown's avatar
      BUG #12498 Fixed mispelling · cf312a78
      unknown authored
      
      sql/mysqld.cc:
        BUG #12498 Fixed Mispelled 'type'
      cf312a78
    • unknown's avatar
      ndb · af1652d5
      unknown authored
      rename config.cpp -> ndb_config.cpp for case insesitive filesystems
      why wasn't this done in 4.1 directly
      
      
      ndb/tools/ndb_config.cpp:
        Rename: ndb/tools/config.cpp -> ndb/tools/ndb_config.cpp
      mysql-test/t/ndb_config.test:
        remove include only present in 5.0
      ndb/tools/Makefile.am:
        rename config.cpp -> ndb_config.cpp for case insesitive filesystems
        why wasn't this done in 4.1 directly
      af1652d5
    • unknown's avatar
      updated patch for BUG#4680 (incomplete DROP DATABASE breaking replication). · 4652c6b0
      unknown authored
      We binlog the DROP TABLE for each table that was actually dropped. Per Sergei's 
      suggestion a fixed buffer for the DROP TABLE query is pre-allocated from THD pool, and 
      logging now is done in batches - new batch is started if the buffer becomes full.
      Reduced memory usage by reusing the table list instead of accumulating a list of 
      dropped table names. Also fixed the problem if the table was not actually dropped, eg
      due to permissions. Extended the test case to make sure batched query 
      logging does work.  
      
      
      mysql-test/r/rpl_drop_db.result:
        test for query buffer overrun
      mysql-test/t/rpl_drop_db.test:
        test for query buffer overrun
      sql/mysql_priv.h:
        updated patch for BUG#4680 (incomplete DROP DATABASE breaking replication)
      BitKeeper/etc/ignore:
        Added support-files/MacOSX/postflight support-files/MacOSX/preflight to the ignore list
      sql/sql_db.cc:
        updated patch for BUG#4680 (incomplete DROP DATABASE breaking replication)
      sql/sql_table.cc:
        updated patch for BUG#4680 (incomplete DROP DATABASE breaking replication)
      sql/table.h:
        updated patch for BUG#4680 (incomplete DROP DATABASE breaking replication)
      4652c6b0
  7. 18 Aug, 2005 8 commits
    • unknown's avatar
      ps_conv.inc: · 13c347e7
      unknown authored
        Adjustment of float results for Windows
      mysql-test-run.pl:
        Added --port to make MYSQL_DUMP and MYSQL_SHOW work on windows
      have_lowercase0.inc:
        new file
      
      
      mysql-test/mysql-test-run.pl:
        Added --port to make MYSQL_DUMP and MYSQL_SHOW work on windows
      mysql-test/include/ps_conv.inc:
        Adjustment of float results for Windows
      13c347e7
    • unknown's avatar
      Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0 · 496e86da
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
      
      
      netware/BUILD/nwbootstrap:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      include/config-netware.h:
        Manual merge from 4.0 to 4.1.
      496e86da
    • unknown's avatar
      Some minor fixes for Netware. These were required after we started building · 9b76bca8
      unknown authored
      against a later version of libc.
      
      
      include/config-netware.h:
        Changes for Netware. Needed to build against newer libc.
      netware/BUILD/nwbootstrap:
        Fix to build script.
      sql/mysqld.cc:
        Added an include.
      9b76bca8
    • unknown's avatar
      Changes for Netware. This is needed when building against newer Libc · cd737f81
      unknown authored
      than we've used before.
      
      
      cd737f81
    • unknown's avatar
      mysqld.dsp: · 4536a103
      unknown authored
        Added archive and example storage engine to Windows build
      ha_example.cc, ha_archive.cc:
        Windows fix, use relative include path to "mysql_priv.h"
      ha_archive.h:
        Windows VC6 compile needed (char*) cast of byte var
      mysqltest.dsp, mysql_test_run_new.dsp:
        Added /FD flag, to avoid include file warnings
      
      
      VC++Files/mysql-test/mysql_test_run_new.dsp:
        Added /FD flag, to avoid include file warnings
      VC++Files/client/mysqltest.dsp:
        Added /FD flag, to avoid include file warnings
      sql/examples/ha_archive.h:
        Windows VC6 compile needed (char*) cast of byte var
      sql/examples/ha_archive.cc:
        Windows fix, use relative include path to "mysql_priv.h"
      sql/examples/ha_example.cc:
        Windows fix, use relative include path to "mysql_priv.h"
      VC++Files/sql/mysqld.dsp:
        Added archive and example storage engine to Windows build
      4536a103
    • unknown's avatar
      Merge ssmith@bk-internal.mysql.com:/home/bk/mysql-4.1 · 288c2637
      unknown authored
      into  mysql.com:/home/stewart/Documents/MySQL/4.1/main
      
      
      288c2637
    • unknown's avatar
      Merge eel.(none):/home/jonas/src/mysql-4.1 · bdbe25de
      unknown authored
      into  eel.(none):/home/jonas/src/mysql-4.1-push
      
      
      mysql-test/t/ndb_config.test:
        Auto merged
      ndb/src/common/util/version.c:
        Auto merged
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Auto merged
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      mysql-test/t/ndb_alter_table.test:
        merge
      bdbe25de
    • unknown's avatar
      bug#12118 - ndb alter table data loss · c7744c6d
      unknown authored
        Split table version into 2 (major, minor)
        Impl. signaling to API when table has been altered
        Allow running transactions to use any minor number for transactions
      
      
      mysql-test/r/ndb_alter_table.result:
        Allow running transactions to use old table definition when possible.
      mysql-test/t/ndb_alter_table.test:
        Allow running transactions to use old table definition when possible.
      ndb/include/kernel/BlockNumbers.h:
        remove GREP
      ndb/include/kernel/GlobalSignalNumbers.h:
        Add ALTER_TABL_REP and API_BROADCAST_REP
      ndb/include/kernel/kernel_types.h:
        table_version_major
      ndb/include/kernel/signaldata/AlterTable.hpp:
        New error code for alter table during rolling upgrade
      ndb/include/ndbapi/NdbDictionary.hpp:
        Add state on table object to represent an altered but still valid table object
      ndb/src/common/debugger/BlockNames.cpp:
        remove GREP
      ndb/src/common/util/version.c:
        Fix upgrades
      ndb/src/kernel/SimBlockList.cpp:
        remove GREP
      ndb/src/kernel/blocks/Makefile.am:
        remove GREP
      ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp:
        remove GREP
      ndb/src/kernel/blocks/dbdict/Dbdict.cpp:
        Split tableSchemaVersion into 2 part
        24 bit real version
         8 bit for online alter table where old table definition is still usable
      ndb/src/kernel/blocks/dbdict/Dbdict.hpp:
        Check for same ndb versions
      ndb/src/kernel/blocks/dbdict/printSchemaFile.cpp:
        Update schema printer
      ndb/src/kernel/blocks/dbdih/DbdihMain.cpp:
        remove grep
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/dbtc/Dbtc.hpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/dbtc/DbtcMain.cpp:
        1) Use table_ version_major when checking table version
        2) Dummy fix for BUG that tableSchemaVersion is only 16 bit in LQHKEYREQ
      ndb/src/kernel/blocks/ndbcntr/NdbcntrMain.cpp:
        remove GREP
      ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/qmgr/QmgrInit.cpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Add support for sending REP to ALL api nodes
      ndb/src/kernel/blocks/suma/Suma.cpp:
        remove GREP
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        remove GREP
      ndb/src/ndbapi/DictCache.cpp:
        Add support for alter_table_rep
          by setting status to Altered
        
        NOTE special handling of tables in state RETREIVING
      ndb/src/ndbapi/DictCache.hpp:
        Add support for alter_table_rep
          by setting status to Altered
        
        NOTE special handling of tables in state RETREIVING
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Change alter table so that remove from global cache is used wo/ retreiving it from there first
          as ALTER_TABLE_REP might already have changed the table object...
      ndb/src/ndbapi/TransporterFacade.cpp:
        Add support for ALTER_TABLE_REP
      sql/ha_ndbcluster.cc:
        Allow running transactions to use tables in state ALTERED...but new transactions may not...
      ndb/include/kernel/signaldata/ApiBroadcast.hpp:
        New BitKeeper file ``ndb/include/kernel/signaldata/ApiBroadcast.hpp''
      c7744c6d
  8. 17 Aug, 2005 3 commits
    • unknown's avatar
      mtr_timer.pl, mysql-test-run.pl, mtr_report.pl, mtr_process.pl: · d1bdd18e
      unknown authored
        Added suite and test case timeout
      mtr_timer.pl:
        new file
      
      
      mysql-test/lib/mtr_process.pl:
        Added suite and test case timeout
      mysql-test/lib/mtr_report.pl:
        Added suite and test case timeout
      mysql-test/mysql-test-run.pl:
        Added suite and test case timeout
      mysql-test/lib/mtr_timer.pl:
        Added suite and test case timeout
      d1bdd18e
    • unknown's avatar
      mtr_process.pl: · 085c8d30
      unknown authored
        Bug#11792: Create a shell like 'mysqltest' exit status
      
      
      mysql-test/lib/mtr_process.pl:
        Bug#11792: Create a shell like 'mysqltest' exit status
      085c8d30
    • unknown's avatar
      mtr_process.pl: · 31f0997b
      unknown authored
        Longer shutdown timeout, slave may be in reconnect
        HUP seem to disturb exit(), added sleep to make sure
        output is flushed
      
      
      mysql-test/lib/mtr_process.pl:
        Longer shutdown timeout, slave may be in reconnect
        HUP seem to disturb exit(), added sleep to make sure
        output is flushed
      31f0997b