1. 28 Feb, 2006 17 commits
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 79298b3e
      unknown authored
      into lmy004.:/work/mysql-5.1-bug16537
      
      
      79298b3e
    • unknown's avatar
      fix for bug#16537 · b934539d
      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
      b934539d
    • unknown's avatar
      Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 7f7c6246
      unknown authored
      into  mysql.com:/usr/home/bar/mysql-5.1-new.16313
      
      
      7f7c6246
    • unknown's avatar
      Bug #17499 Alter table of ndb partitioned tables causes mysqld to core · 50ce511b
      unknown authored
      - moved used_partitions initialization
      
      
      50ce511b
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · b203771e
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      
      b203771e
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 447c6aa3
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      
      447c6aa3
    • unknown's avatar
      Windows compile fixes. · 208e6c5f
      unknown authored
      
      VC++Files/sql/mysqld.vcproj:
        Add missing source file.
      208e6c5f
    • unknown's avatar
      Windows compile fixes. · 37062786
      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.
      37062786
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 029f16a1
      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
      029f16a1
    • unknown's avatar
      Bug #17701, ALTER TABLE t1 ADD PARTITION for PARTITION BY LIST hangs test · 46fc7653
      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
      46fc7653
    • unknown's avatar
      Bug#16385, Partitions: crash when updating a range partitioned NDB table · 5f06d173
      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
      5f06d173
    • unknown's avatar
      Bug #17763 mysqld cores with list partitioning if update to missing partition · ad5eb8d1
      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
      ad5eb8d1
    • unknown's avatar
      manual merge · f6f52921
      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
      f6f52921
    • unknown's avatar
      fix for bug#16537 (Events: mysql.event.starts is null) · 317c6851
      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
      317c6851
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 00de3c04
      unknown authored
      into mysql.com:C:/cygwin/home/mysqldev/my/mysql-5.1-new
      
      
      00de3c04
    • unknown's avatar
      Bug#16313 XML: extractvalue() ignores '!' in names · 828de833
      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.
      828de833
    • unknown's avatar
      Fixed crashes in embedded-server tests · de7ac129
      unknown authored
      
      sql/sql_class.cc:
        fixed code caused superfluous protocol->remove_last_row() call
      de7ac129
  2. 27 Feb, 2006 19 commits
  3. 26 Feb, 2006 4 commits