1. 22 Mar, 2006 6 commits
  2. 21 Mar, 2006 15 commits
    • unknown's avatar
      Post-merge fixes after merging mysql-5.0 with mysql-5.1-new · d839adc5
      unknown authored
      
      mysql-test/extra/binlog_tests/ctype_cp932_binlog.test:
        Moving statement-based replication test away from common file.
      mysql-test/r/ctype_cp932_binlog_stm.result:
        Result change
      mysql-test/t/ctype_cp932_binlog_stm.test:
        Moving statement-based replication test away from common file.
      d839adc5
    • unknown's avatar
      fixed merge problem (bk commit - 5.1 tree (anozdrin:1.2163) · 6b8755de
      unknown authored
          (approved by kostja)
      
      
      libmysql/libmysql.c:
        fixed merge problem (bk commit - 5.1 tree (anozdrin:1.2163) 
        (approved by kostja)
      6b8755de
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.0 · 8f8dee0f
      unknown authored
      into  mysql.com:/home/bk/b18293-mysql-5.1-new
      
      
      sql/item.cc:
        Auto merged
      mysql-test/extra/binlog_tests/ctype_cp932_binlog.test:
        Auto merged
      sql/log_event.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/sp_head.cc:
        Auto merged
      mysql-test/r/binlog_stm_ctype_ucs.result:
        Merge with mysql-5.0
      8f8dee0f
    • unknown's avatar
      Made rpl_flushlog_loop use wait_slave_status instead of sleep. · e34b24eb
      unknown authored
      This to save 5 seconds of test time.
      More test to follow. :-)
      
      
      mysql-test/r/rpl_flushlog_loop.result:
        Updated result file
      mysql-test/t/rpl_flushlog_loop.test:
        Make test use wait_slave_status instead of sleep
      e34b24eb
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 9408dcae
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      9408dcae
    • unknown's avatar
      Bug #18395 dual mysqld's with binlog do not sync drop table binlog event correctly · c781bf6f
      unknown authored
      - in ndb_binlog_thread_handle_schema_event make sure to postpone "slock achnowledgement" until event has been put into the binlog
      
      + some cleanup, Cluster_replication_schem -> Cluster_schema, indentation
      
      c781bf6f
    • unknown's avatar
      Merge mysql.com:/home/bkroot/mysql-5.0 · e9f6e988
      unknown authored
      into  mysql.com:/home/bk/b18293-mysql-5.0
      
      e9f6e988
    • unknown's avatar
      BUG#18293 (Values in stored procedures written to binlog unescaped): · 36d34667
      unknown authored
      Generating character set-independent quoting of strings for the
      binary log when executing statements from inside stored procedure.
      
      
      mysql-test/r/ctype_cp932_binlog.result:
        Result change
      mysql-test/t/ctype_cp932_binlog.test:
        Adding check that string literals are written correctly for multi-byte
        character sets.
      sql/item.cc:
        Cutting out character set-independent string escaping code and putting it
        in a separate function.
      sql/log_event.cc:
        Adding characters set-independent code to separate function.
      sql/mysql_priv.h:
        Adding new function.
      sql/sp_head.cc:
        Escaping string value representing a string item.
      36d34667
    • unknown's avatar
      5.0 -> 5.1 merge · a0826252
      unknown authored
      
      configure.in:
        Auto merged
      mysql-test/lib/mtr_timer.pl:
        Auto merged
      mysql-test/r/information_schema.result:
        Auto merged
      mysql-test/r/information_schema_db.result:
        Auto merged
      mysql-test/r/query_cache_notembedded.result:
        Auto merged
      mysql-test/t/information_schema.test:
        Auto merged
      mysql-test/t/query_cache_notembedded.test:
        Auto merged
      scripts/make_binary_distribution.sh:
        Auto merged
      sql/sql_acl.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      storage/ndb/src/kernel/blocks/backup/Backup.cpp:
        Auto merged
      sql/ha_innodb.cc:
        manual merge
      sql/sql_insert.cc:
        manual merge
      a0826252
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 573ee9ca
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      573ee9ca
    • unknown's avatar
      disabled undeterministic test · 555fc75a
      unknown authored
      555fc75a
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new · d6a8425f
      unknown authored
      into  c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug17754
      
      d6a8425f
    • unknown's avatar
      Manual merge · ceb2992e
      unknown authored
      ceb2992e
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 8b7dd961
      unknown authored
      into  c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug17754
      
      
      mysql-test/r/partition.result:
        Auto merged
      mysql-test/t/partition.test:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_partition.cc:
        manual merge
      8b7dd961
    • unknown's avatar
      BUG#17754 · df56316a
      unknown authored
      Fixed result files
      
      
      mysql-test/r/ndb_partition_key.result:
        Fixed result files
      mysql-test/r/partition.result:
        Fixed result files
      df56316a
  3. 20 Mar, 2006 16 commits
    • unknown's avatar
      Fix compilation failure when compiling without partitioning, introduced · efdc60a7
      unknown authored
      by previous push.
      
      efdc60a7
    • unknown's avatar
      Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-5.1-new · fd13bf86
      unknown authored
      into  c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug17754
      
      
      mysql-test/r/partition.result:
        Auto merged
      mysql-test/t/partition.test:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/r/ndb_partition_key.result:
        manual merge
      mysql-test/t/ndb_partition_key.test:
        manual merge
      fd13bf86
    • unknown's avatar
      BUG#17754 · 653468b7
      unknown authored
      Added new syntax ALTER TABLE t1 REMOVE PARTITIONING,
      changed semantics of ALTER TABLE t1 ENGINE=X; to not remove partitioning
      Fix a number of mix engine bugs in partitioning
      
      
      mysql-test/r/ndb_partition_key.result:
        Added a number of new test cases
      mysql-test/r/partition.result:
        Added a number of new test cases
      mysql-test/t/ndb_partition_key.test:
        Added a number of new test cases
      mysql-test/t/partition.test:
        Added a number of new test cases
      sql/lex.h:
        REMOVE and PARTITIONING added as keywords in parser
      sql/sql_lex.h:
        Added flag to alter_info flag
      sql/sql_partition.cc:
        Fixes for the new syntax, changes of the current semantics of the syntax.
        Fixes for errors in handling mixes of table handlers in partitioning syntax
        for ALTER TABLE
      sql/sql_table.cc:
        Bug fix
      sql/sql_yacc.yy:
        New syntax for REMOVE PARTITIONING
      653468b7
    • unknown's avatar
      merging · 931b03e4
      unknown authored
      931b03e4
    • unknown's avatar
      merging · 61e319b6
      unknown authored
      
      sql/sql_partition.cc:
        Auto merged
      61e319b6
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 993bffd7
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
      
      993bffd7
    • unknown's avatar
      ndb: added debug printout · de63fc45
      unknown authored
      de63fc45
    • unknown's avatar
      Fix for bug#15336 Partitions: crash if create table as select · 08c7e8e6
      unknown authored
        added HA_EXTRA_WRITE_CACHE case to ha_partition::extra()
      
      
      mysql-test/r/partition.result:
        Fix for bug#15336 Partitions: crash if create table as select
          test case
      mysql-test/t/partition.test:
        Fix for bug#15336 Partitions: crash if create table as select
          test case
      08c7e8e6
    • unknown's avatar
      Code #ifdef-ed · 9a721415
      unknown authored
      
      sql/sql_class.h:
        line #ifdef-ed
      9a721415
    • unknown's avatar
      Bug#14367 Partitions: crash if utf8 column · 206e9e53
      unknown authored
        use part_info->item_free_list instead of thd->free_list during partition function parsing
      
      
      mysql-test/r/partition.result:
        Bug#14367 Partitions: crash if utf8 column
          test case
      mysql-test/t/partition.test:
        Bug#14367 Partitions: crash if utf8 column
          test case
      sql/item.cc:
        Bug#14367 Partitions: crash if utf8 column
          create copy of string in current mem_root to avoid memory leak
      206e9e53
    • unknown's avatar
      bug #17290 (sp with delete, create and rollback causes MySQLD core) · 049d2b3d
      unknown authored
      additional fixes
      
      
      mysql-test/r/partition.result:
        result fixed
      mysql-test/t/partition.test:
        testcase
      sql/sql_parse.cc:
        part_info cloning moved here
      sql/sql_partition.cc:
        fixes
      sql/sql_table.cc:
        part_info cloning removed
      049d2b3d
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.1-new · eabaa3d6
      unknown authored
      into mysql.com:/home/hf/work/mysql-5.1.clean
      
      eabaa3d6
    • unknown's avatar
      Bug #18172 XML: Extractvalue() accepts mallformed · 84204730
      unknown authored
        XPath without a XPath syntax error
      item_xmlfunc.cc:
        Error message didn't happen because after
        a failing attempt to parse RelativeLocationPath,
        my_xpath_parse_AbsoluteLocationPath() returned success.
        Changeing logic a bit:
        - Try to parse EOF first, return success if true.
        - Then try to parse RelativeLocationPath(), return success if true.
        - Otherwise return failure.
      xml.result:
        Adding test case.
        Also, this change made it possible to generate 
        an error message earlier in the case of another
        bad XPATH syntax.
      xml.test:
        Adding test case.
      
      
      sql/item_xmlfunc.cc:
        Bug #18172 XML: Extractvalue() accepts mallformed XPath without a XPath syntax error
        Error message didn't happen because after
        a failing attempt to parse RelativeLocationPath(),
        my_xpath_parse_AbsoluteLocationPath() returned with 1.
        Changeing logic a bit: check for EOF first.
        Then try to parse RelativeLocationPath().
        If the latter fails, return failure.
      mysql-test/t/xml.test:
        Adding test case.
      mysql-test/r/xml.result:
        Adding test case.
        Also, this change makes error message
        to be generated earlier in the case of another
        bad XPATH syntax.
      84204730
    • unknown's avatar
      Fix for bug#18224 VIEW on information_schema crashes the server · e10ec04a
      unknown authored
        additional check for subselect
      
      
      mysql-test/r/information_schema.result:
        Fix for bug#18224 VIEW on information_schema crashes the server
          test case
      mysql-test/t/information_schema.test:
        Fix for bug#18224 VIEW on information_schema crashes the server
          test case
      e10ec04a
    • unknown's avatar
      Fix for bug #18113 "SELECT * FROM information_schema.xxx crashes server" · 2f0459df
      unknown authored
      Crash happened when one selected data from one of INFORMATION_SCHEMA
      tables and in order to build its contents server had to open view which
      used stored function and table or view on which one had not global or
      database-level privileges (e.g. had only table-level or had no
      privileges at all).
      
      The crash was caused by usage of check_grant() function, which assumes
      that either number of tables to be inspected by it is limited explicitly
      or table list used and thd->lex->query_tables_own_last value correspond
      to each other (the latter should be either 0 or point to next_global
      member of one of elements of this table list), in conditions when
      above assumptions were not true. This fix just explicitly limits
      number of tables to be inspected. Other negative effects which are
      caused by the fact that thd->lex->query_tables_own_last might not
      be set properly during processing of I_S tables are less disastrous
      and will be reported and fixed separetely.
      
      
      
      mysql-test/r/information_schema_db.result:
        Fix for bug #18113 "SELECT * FROM information_schema.xxx crashes server"
          test case
      mysql-test/t/information_schema_db.test:
        Fix for bug #18113 "SELECT * FROM information_schema.xxx crashes server"
          test case
      sql/sql_acl.cc:
          added note
      2f0459df
    • unknown's avatar
      Fix HPUX compilation. · 35e0de41
      unknown authored
      
      sql/ha_ndbcluster.h:
        Fix HPUX compilation (copy-paste error I think).
      35e0de41
  4. 18 Mar, 2006 3 commits