1. 28 Feb, 2006 23 commits
    • unknown's avatar
      Bug #17499 continued · c1e18c16
      unknown authored
      - moved initialization of used_partitions
      - more tests
      
      + removed reference to fixed bugs
      
      
      mysql-test/r/ndb_partition_range.result:
        Bug #17499 continued
        - more testing
      mysql-test/t/disabled.def:
        removed reference to fixed bugs
      mysql-test/t/ndb_partition_range.test:
        Bug #17499 continued
        - more testing
      sql/ha_ndbcluster.cc:
        Bug #17499 continued
        - moved initialization of used_partitions
      sql/sql_partition.cc:
        Bug #17499 continued
        - moved initialization of used_partitions
      c1e18c16
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 08132511
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      08132511
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · f4751c4a
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      f4751c4a
    • unknown's avatar
      Bug#17499, complementing patch · 30ec85d9
      unknown authored
      30ec85d9
    • unknown's avatar
      Updated new tests from Lars review · 514cfd42
      unknown authored
      
      mysql-test/extra/rpl_tests/rpl_ndb_2multi_eng.test:
        Updated from review comments
      mysql-test/include/rpl_multi_engine3.inc:
        Updated from review comments
      514cfd42
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · ee7bf38a
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      ee7bf38a
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 487664eb
      unknown authored
      into lmy004.:/work/mysql-5.1-bug16537
      
      487664eb
    • unknown's avatar
      fix for bug#16537 · 995a56ef
      unknown authored
      (post-review pre-push changes)
      coding style (mostly trailing spaces removed)
      
      
      mysql-test/r/events.result:
        fix result file
      sql/event.cc:
        - remove trailing spaces
        - add a missing initializer (gcc warning)
        - C++ to C comments
      sql/event_executor.cc:
        - fix coding style (C++ to C comments, remove trailing spaces)
        - fix wrong indexing buggie not found till now (queue indexing is 0 based,
          not 1 based)
      sql/event_timed.cc:
        - fix coding style
      995a56ef
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 04bdb1b3
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new.16313
      
      04bdb1b3
    • unknown's avatar
      Bug #17499 Alter table of ndb partitioned tables causes mysqld to core · 5733d916
      unknown authored
      - moved used_partitions initialization
      
      5733d916
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 1bdbd7f5
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      1bdbd7f5
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · f0c1702b
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      f0c1702b
    • unknown's avatar
      Windows compile fixes. · ce406dee
      unknown authored
      
      VC++Files/sql/mysqld.vcproj:
        Add missing source file.
      ce406dee
    • unknown's avatar
      Windows compile fixes. · 4068c3c6
      unknown authored
      
      win/cmakefiles/mysys:
        Remove no longer existing source file from list.
      sql/log_event.cc:
        Fix byte * <-> char * Windows build problem.
      VC++Files/mysys/mysys.vcproj:
        Remove no longer existing source file from list.
      4068c3c6
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 040d2566
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      
      sql/ha_ndbcluster_binlog.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      040d2566
    • unknown's avatar
      Bug #17701, ALTER TABLE t1 ADD PARTITION for PARTITION BY LIST hangs test · f16211c1
      unknown authored
      - code wrongly tries to do a "fast alter partition", although not supported
      
      
      sql/handler.h:
        moved defines
      sql/sql_partition.h:
        moved defines
      f16211c1
    • unknown's avatar
      Bug#16385, Partitions: crash when updating a range partitioned NDB table · e7e8e574
      unknown authored
      - too little space was allocated for receiving events, partition uses extra column in table
      
      
      mysql-test/r/ndb_partition_range.result:
        Bug#16385, Partitions: crash when updating a range partitioned NDB table
      mysql-test/t/ndb_partition_range.test:
        Bug#16385, Partitions: crash when updating a range partitioned NDB table
      e7e8e574
    • unknown's avatar
      Bug #17763 mysqld cores with list partitioning if update to missing partition · d6e2cc1a
      unknown authored
      - error string wrongly formatted
      
      
      mysql-test/r/ndb_partition_error.result:
        Bug #17763 mysqld cores with list partitioning if update to missing partition
      mysql-test/t/ndb_partition_error.test:
        Bug #17763 mysqld cores with list partitioning if update to missing partition
      d6e2cc1a
    • unknown's avatar
      manual merge · 29c1d31c
      unknown authored
      
      mysql-test/r/events.result:
        Auto merged
      mysql-test/t/events.test:
        Auto merged
      sql/event.cc:
        Auto merged
      sql/event.h:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      29c1d31c
    • unknown's avatar
      fix for bug#16537 (Events: mysql.event.starts is null) · c70ad8d8
      unknown authored
      - now when the event is created and STARTS is omitted then STARTS is implicitly
        CURRENT_TIMESTAMP
      - This CS also fixed incorrect presentation of STARTS/ENDS in I_S.EVENTS
      (incorporated review changes)
      
      
      mysql-test/r/events.result:
        results of new test cases
      mysql-test/t/events.test:
        new test cases for bug #16537 (Events: mysql.event.starts is null)
      sql/event.cc:
        - check whether event_timed::starts_null only in case
          event_timed::expression is set, so for recurring events only
        - disable binlogging of CREATE EVENT statement. It should not be
          replicated but the result of the execution. Still the replication is
          untouched topic.
      sql/event.h:
        - add flags whether starts, ends and execute_at are null or not
      sql/event_executor.cc:
        - check whether xxx_null instead of !xxxx.year
      sql/event_timed.cc:
        - introduce xxx_null and change the usage of xxx.year to !xxx_null
      sql/sql_show.cc:
        - don't show 0000-00-00 in I_S.EVENTS when the value is NULL
      sql/sql_yacc.yy:
        - if STARTS is omitted default to current_timestamp
      c70ad8d8
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 8ff5ed9b
      unknown authored
      into mysql.com:C:/cygwin/home/mysqldev/my/mysql-5.1-new
      
      8ff5ed9b
    • unknown's avatar
      Bug#16313 XML: extractvalue() ignores '!' in names · 1cb4810a
      unknown authored
      xml.result, xml.test:
        Adding test case.
      item_xmlfunc.cc:
        Fixed that the "!" character written at the end was ignored.
      
        Now if we try to scan "!=", and if "!" is not
        followed by "=", we rollback lex scanner back 
        to "!" token, so the parser will start to check
        the next rule from the "!" character again.
      
        Previously parser started from the next character,
        which was EOF in the example in xml.test,
        which led to query being successfully parsed,
        instead of producing a syntax error.
      
      
      sql/item_xmlfunc.cc:
        Bug#16313 XML: extractvalue() ignores '!' in names
        '!' at the end was ignored.
        Now if we try to scan "!=", and if "!" is not
        followed by "=", we rollback lex scanner back 
        to "!" token, so the parser will start to check
        the next rule from the "!" character again.
        Previously it started from the next character,
        which was EOF in the example in xml.test, and
        which led to query being successfully parsed,
        instead of producing a syntax error.
      mysql-test/t/xml.test:
        Adding test case.
      mysql-test/r/xml.result:
        Adding test case.
      1cb4810a
    • unknown's avatar
      Fixed crashes in embedded-server tests · 5d05a82d
      unknown authored
      
      sql/sql_class.cc:
        fixed code caused superfluous protocol->remove_last_row() call
      5d05a82d
  2. 27 Feb, 2006 17 commits
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 4e8c4810
      unknown authored
      into  zim.(none):/home/brian/mysql/dep-5.1
      
      4e8c4810
    • unknown's avatar
      another cleanup patch for removing tables before tests start. · eadd809b
      unknown authored
      
      mysql-test/extra/binlog_tests/insert_select-binlog.test:
        Fixing isssues with preexisting tables
      mysql-test/r/binlog_stm_insert_select.result:
        new results
      eadd809b
    • unknown's avatar
      Merge mysql.com:/home/dlenev/src/mysql-5.0-bg13525 · 63a62716
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.1-merges2
      
      
      mysql-test/t/trigger.test:
        Auto merged
      63a62716
    • unknown's avatar
      Fix for trigger.test failures on pushbuild hosts introduced by fix for · fbd54ec2
      unknown authored
      bug #13525 "Rename table does not keep info of triggers".
      
      Now we use MYSQLTEST_VARDIR in order to be able to run this test in different
      vardir. Also improved cleanup after the test.
      
      
      mysql-test/t/trigger.test:
        Now we use MYSQLTEST_VARDIR in order to be able to run this test in different
        vardir. Also improved cleanup after the test.
      fbd54ec2
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new · 18f7b040
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.1-merges2
      
      
      sql/sql_base.cc:
        Auto merged
      18f7b040
    • unknown's avatar
      Merge mysql.com:/home/dlenev/src/mysql-5.0-bg13525 · ffdc1ddb
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.1-merges2
      
      
      client/mysqltest.c:
        Auto merged
      include/my_global.h:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      mysql-test/mysql-test-run.sh:
        Auto merged
      mysql-test/r/heap.result:
        Auto merged
      mysql-test/r/merge.result:
        Auto merged
      mysql-test/r/ps.result:
        Auto merged
      mysql-test/r/trigger.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/ps.test:
        Auto merged
      mysql-test/t/trigger.test:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      sql/ha_myisammrg.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_select.h:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      storage/myisammrg/myrg_queue.c:
        Auto merged
      sql/sql_rename.cc:
        Manual merge.
      sql/sql_trigger.cc:
        Manual merge.
      sql/sql_yacc.yy:
        Manual merge.
      ffdc1ddb
    • unknown's avatar
      Fixed test results after bad auto-merge. · aaa4efa0
      unknown authored
      aaa4efa0
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 5ef8c83a
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-bg13525
      
      5ef8c83a
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 32b177d3
      unknown authored
      into  mysql.com:/home/dlenev/src/mysql-5.0-bg13525
      
      
      sql/field.cc:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_select.h:
        Manual merge.
      32b177d3
    • unknown's avatar
      Merge svlasenko@bk-internal.mysql.com:/home/bk/mysql-5.0 · 1fa840e7
      unknown authored
      into  selena.:H:/MYSQL/src/#15943-mysql-5.0
      
      
      mysql-test/r/view.result:
        Auto merged
      mysql-test/t/view.test:
        Auto merged
      1fa840e7
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 29ac89da
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.0-bug17314-push
      
      29ac89da
    • unknown's avatar
      BUG#17499, forgot to commit result file · 5726f1c7
      unknown authored
      5726f1c7
    • unknown's avatar
      Post-merge fixes. · c0ad96b8
      unknown authored
      
      sql/ha_ndbcluster_binlog.cc:
        Correcting use of bad variable in merge.
      sql/sql_base.cc:
        Removing assertion check for mutex in table share.
      c0ad96b8
    • unknown's avatar
      Bug #17499 Alter table of ndb partitioned tables causes mysqld to core · bc84f68c
      unknown authored
      
      sql/sql_table.cc:
        Bug #17499  	Alter table of ndb partitioned tables causes mysqld to core
        - used_partitions not set during copy of data
      bc84f68c
    • unknown's avatar
      New test case fro replication between ndb and other storage engines. · 3db9ceb1
      unknown authored
      
      mysql-test/t/rpl_ndb_2innodb.test:
        New rpl ndb test case for replicating to other storage engines
      mysql-test/t/rpl_ndb_2myisam.test:
        New rpl ndb test case for replicating to other storage engines
      mysql-test/t/rpl_ndb_2innodb-slave.opt:
        New rpl ndb test supporting option files
      mysql-test/t/rpl_ndb_2innodb-master.opt:
        New rpl ndb test supporting option files
      mysql-test/t/rpl_ndb_2myisam-master.opt:
        New rpl ndb test supporting option files
      mysql-test/t/rpl_ndb_2myisam-slave.opt:
        New rpl ndb test supporting option files
      mysql-test/t/rpl_ndb_innodb2ndb.test:
        New rpl ndb test case for replicating from other storage engines to ndb
      mysql-test/t/rpl_ndb_myisam2ndb.test:
        New rpl ndb test case for replicating from other storage engines to ndb
      mysql-test/t/rpl_ndb_innodb2ndb-master.opt:
        New rpl ndb test supporting option files
      mysql-test/t/rpl_ndb_innodb2ndb-slave.opt:
        New rpl ndb test supporting option files
      mysql-test/t/rpl_ndb_myisam2ndb-master.opt:
        New rpl ndb test supporting option files
      mysql-test/t/rpl_ndb_myisam2ndb-slave.opt:
        New rpl ndb test supporting option files
      mysql-test/extra/rpl_tests/rpl_ndb_2multi_eng.test:
        New test code that drives the rpl of ndb -> innodb/myisam or innodb/myisam -> ndb
      mysql-test/include/rpl_multi_engine3.inc:
        New include that cover repeating code of the rpl of ndb -> innodb/myisam or innodb/myisam -> ndb
      mysql-test/t/disabled.def:
        Updated to include new test cases that have outstanding bug reports.
      3db9ceb1
    • unknown's avatar
    • unknown's avatar
      Bug#17716 Slave crash in net_clear on qnx · 6a4540a8
      unknown authored
       - Set FD_SETSIZE before including "sys/select.h"
      
      
      include/my_global.h:
        Define FD_SETSIZE on QNX before including "sys/select.h" or "sys/time.h". This defines number of bits in fd_set type used for 'select'
      6a4540a8