1. 12 Aug, 2013 5 commits
  2. 08 Aug, 2013 3 commits
  3. 07 Aug, 2013 6 commits
  4. 06 Aug, 2013 1 commit
    • Sergey Vojtovich's avatar
      MDEV-4801 - Server crashes in my_strdup on setting · 9dad7263
      Sergey Vojtovich authored
                  innodb_ft_user_stopword_table to DEFAULT
      
      Setting plugin string variable with PLUGIN_VAR_MEMALLOC flag
      to NULL causes server crash.
      
      mysql-test/suite/sys_vars/r/innodb_ft_user_stopword_table_basic.result:
        Reset innodb_ft_user_stopword_table. Also tests MDEV-4801.
      mysql-test/suite/sys_vars/t/innodb_ft_user_stopword_table_basic.test:
        Reset innodb_ft_user_stopword_table. Also tests MDEV-4801.
      sql/sql_plugin.cc:
        When we got NULL value, do not strdup(NULL).
      9dad7263
  5. 05 Aug, 2013 2 commits
  6. 04 Aug, 2013 1 commit
  7. 02 Aug, 2013 4 commits
    • Sergey Petrunya's avatar
      Automatic merge · 2576c9d8
      Sergey Petrunya authored
      2576c9d8
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · 44b26fb5
      Sergey Vojtovich authored
      Fixed perfschema.relaylog failure.
      
      mysql-test/suite/perfschema/r/relaylog.result:
        Failed file opens are not shown in P_S. Relevant revision:
        marc.alff@oracle.com-20120807154151-cwuazxu341rvrnmg
      44b26fb5
    • Sergey Petrunya's avatar
      MDEV-4816: rpl.rpl_trunc_temp fails in 10.0-serg · f7ea7d72
      Sergey Petrunya authored
      Temorary fix for a number of replication tests (rpl.rpl_temp_table_mix_row 
      rpl.rpl_trunc_temp rpl.rpl_current_user rpl.rpl_gtid_master_promote):
      
      - THD::decide_logging_format() should not assume that mysql.gtid_slave_pos is 
        a non-replicated table. This used to cause unintended behavior for COMMIT 
        statement: replication would switch to row-based, etc.
      
      The question of what should be done when a user issues a statement that
      explicitly modifies mysql.gtid_slave_pos table remains open.
      f7ea7d72
    • Alexander Barkov's avatar
      MDEV-4786 merge 10.0-monty > 10.0 · c9895ece
      Alexander Barkov authored
      Workaround for a possible GCC bug happening in my_fill_ucs2:
      http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58039
      
      Commenting out the optimized loop.
      Using the original MySQL version.
      
      modified:
        strings/ctype-ucs2.c
      c9895ece
  8. 01 Aug, 2013 6 commits
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · 38c61d04
      Sergey Vojtovich authored
      Fixed parts.partition_mgm_lc2_innodb, parts.partition_mgm_lc2_archive,
      parts.partition_mgm_lc2_memory, parts.partition_mgm_lc2_myisam failures.
      
      Applied lost changes from revision
      mattias.jonsson@oracle.com-20101214151357-cn1eeicah9q2oz1t
      
      mysql-test/suite/parts/r/partition_mgm_lc2_archive.result:
        Applied lost changes from revision
        mattias.jonsson@oracle.com-20101214151357-cn1eeicah9q2oz1t
      mysql-test/suite/parts/r/partition_mgm_lc2_innodb.result:
        Applied lost changes from revision
        mattias.jonsson@oracle.com-20101214151357-cn1eeicah9q2oz1t
      mysql-test/suite/parts/r/partition_mgm_lc2_memory.result:
        Applied lost changes from revision
        mattias.jonsson@oracle.com-20101214151357-cn1eeicah9q2oz1t
      mysql-test/suite/parts/r/partition_mgm_lc2_myisam.result:
        Applied lost changes from revision
        mattias.jonsson@oracle.com-20101214151357-cn1eeicah9q2oz1t
      38c61d04
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · 77d2cb50
      Sergey Vojtovich authored
      Fixed main.plugin, main-test_sql_discovery.plugin failures.
      
      storage/example/ha_example.cc:
        Issue a warning independently of DBUG status (needed for testing).
      77d2cb50
    • Alexander Barkov's avatar
      Merging my_convert() from 10.0-serg · 1b13a15b
      Alexander Barkov authored
      modified:
        include/m_ctype.h
        mysys/ma_dyncol.c
        mysys/string.c
        sql/sql_string.cc
        sql/sql_string.h
        strings/ctype.c
      1b13a15b
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · e5352505
      Sergey Vojtovich authored
      Fixed main.partition_open_files_limit, innodb.innodb_bug12400341 failures.
      
      These testcases use --max-connections=N command line option, which
      was declared PARSE_EARLY during the merge. Embedded didn't handle
      early options and failed to start due to unknown command line
      option.
      
      libmysqld/lib_sql.cc:
        Let embedded handle early options.
      sql/mysqld.cc:
        Moved handling of early options to a separate function.
      sql/mysqld.h:
        Moved handling of early options to a separate function.
      e5352505
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · d25f4eb8
      Sergey Vojtovich authored
      Fixed funcs_1.is_statistics_mysql_embedded, funcs_1.is_columns_mysql_embedded,
      funcs_1.is_table_constraints_mysql_embedded, funcs_1.is_tables_mysql_embedded
      failures.
      
      mysql-test/suite/funcs_1/r/is_columns_mysql_embedded.result:
        Applied same changes as to non-embedded counterpart.
      mysql-test/suite/funcs_1/r/is_statistics_mysql_embedded.result:
        Applied same changes as to non-embedded counterpart.
      mysql-test/suite/funcs_1/r/is_table_constraints_mysql_embedded.result:
        Applied same changes as to non-embedded counterpart.
      mysql-test/suite/funcs_1/r/is_tables_mysql_embedded.result:
        Applied same changes as to non-embedded counterpart.
      d25f4eb8
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · ed6de16d
      Sergey Vojtovich authored
      Fixed main.partition_cache, main.partition_cache_innodb,
      main.partition_cache_myisam, main.query_cache failures.
      
      libmysqld/emb_qcache.cc:
        Restore proper method to retrieve warnings number.
      ed6de16d
  9. 31 Jul, 2013 6 commits
    • Igor Babaev's avatar
      Fixed a wrong merge in prune_partitions() · b1bf2a25
      Igor Babaev authored
      Added forgotten partition_explicit_prune from mysql-5.6.
      
      Backported the fix for
      Bug#13559657: PARTITION SELECTION DOES NOT WORK WITH VIEWS
      from mysql-5.6
      b1bf2a25
    • unknown's avatar
      Virtual column support for new innodb. · a3e75be0
      unknown authored
      a3e75be0
    • Vladislav Vaintroub's avatar
      MDEV-4712 : Fix "shutdown" test. · 2da7c3e8
      Vladislav Vaintroub authored
      There is a race condition during shutdown, that happens when "show status" runs during shutdown. 
      Functions show_slave_running(), show_slave_received_heartbeats(), show_heartbeat_period() would dereference NULL pointer master_info_index, after this variable is  set to NULL in slave_end() during shutdown.
      Fix introduces check for master_info_index == NULL in the affected functions.
      2da7c3e8
    • Sergey Vojtovich's avatar
      Merged fix for uninitialized variables. · 87ac4e51
      Sergey Vojtovich authored
      87ac4e51
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · 8a53253f
      Sergey Vojtovich authored
      Fixed "check of testcases" failure.
      
      Value of INFORMATION_SCHEMA.PLUGINS.PLUGIN_TYPE_VERSION was
      pointing to incorrect address and could change after server
      restart.
      
      storage/innobase/handler/i_s.cc:
        Use proper plugin info pointer (struct st_mysql_information_schema
        instead of ST_FIELD_INFO[]).
      8a53253f
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · 95bdd5e6
      Sergey Vojtovich authored
      Fixed archive.archive non-debug failure.
      
      Applied revision:
      sergey.vojtovich@oracle.com-20111008171828-vje5pumzvl04rdbb
      
      Archive didn't read blobs from original table while
      performing REPAIR TABLE with non-debug builds.
      
      storage/archive/ha_archive.cc:
        Mark all columns for read independently of DBUG state.
        It instructs ::get_row_version2() to read all blobs.
      95bdd5e6
  10. 30 Jul, 2013 5 commits
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · 47b42fb5
      Sergey Vojtovich authored
      Fixed sys_vars.log_error_func, sys_vars.log_error_func2,
      maria.small_blocksize, sys_vars.autocommit_func3, sys_vars.autocommit_func2,
      sys_vars.autocommit_func4, sys_vars.autocommit_func5,
      sys_vars.tx_isolation_func, main.pool_of_threads, innodb.innodb,
      archive.archive-big, parts.part_supported_sql_func_innodb,
      parts.partition_decimal_myisam, parts.partition_decimal_innodb,
      main.sum_distinct-big, percona.innodb_sys_index,
      percona.percona_flush_contiguous_neighbors failures.
      
      libmysqld/lib_sql.cc:
        Restore proper method to retrieve warnings number.
      47b42fb5
    • Kentoku SHIBA's avatar
      fix for MDEV-4797 · 1da3a45e
      Kentoku SHIBA authored
      1da3a45e
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · 568790dc
      Sergey Vojtovich authored
      Fixed parts.partition_alter1_1_2_innodb, parts.partition_alter1_2_innodb,
      parts.partition_alter2_1_1_innodb, parts.partition_alter2_1_2_innodb,
      parts.partition_alter2_2_1_innodb, parts.partition_alter2_2_2_innodb,
      parts.partition_alter4_innodb failures.
      
      mysql-test/suite/parts/r/partition_alter1_1_2_innodb.result:
        Reverted some changes to test case as InnoDB doesn't support
        REPAIR TABLE and we didn't merge the following revision, which
        implements REPAIR TABLE for partitioning:
        mattias.jonsson@oracle.com-20130130165152-o4tivhs5ty6n6nqa
      mysql-test/suite/parts/r/partition_alter1_2_innodb.result:
        Reverted some changes to test case as InnoDB doesn't support
        REPAIR TABLE and we didn't merge the following revision, which
        implements REPAIR TABLE for partitioning:
        mattias.jonsson@oracle.com-20130130165152-o4tivhs5ty6n6nqa
      mysql-test/suite/parts/r/partition_alter2_1_1_innodb.result:
        Reverted some changes to test case as InnoDB doesn't support
        REPAIR TABLE and we didn't merge the following revision, which
        implements REPAIR TABLE for partitioning:
        mattias.jonsson@oracle.com-20130130165152-o4tivhs5ty6n6nqa
      mysql-test/suite/parts/r/partition_alter2_1_2_innodb.result:
        Reverted some changes to test case as InnoDB doesn't support
        REPAIR TABLE and we didn't merge the following revision, which
        implements REPAIR TABLE for partitioning:
        mattias.jonsson@oracle.com-20130130165152-o4tivhs5ty6n6nqa
      mysql-test/suite/parts/r/partition_alter2_2_1_innodb.result:
        Reverted some changes to test case as InnoDB doesn't support
        REPAIR TABLE and we didn't merge the following revision, which
        implements REPAIR TABLE for partitioning:
        mattias.jonsson@oracle.com-20130130165152-o4tivhs5ty6n6nqa
      mysql-test/suite/parts/r/partition_alter2_2_2_innodb.result:
        Reverted some changes to test case as InnoDB doesn't support
        REPAIR TABLE and we didn't merge the following revision, which
        implements REPAIR TABLE for partitioning:
        mattias.jonsson@oracle.com-20130130165152-o4tivhs5ty6n6nqa
      mysql-test/suite/parts/r/partition_alter4_innodb.result:
        Reverted some changes to test case as InnoDB doesn't support
        REPAIR TABLE and we didn't merge the following revision, which
        implements REPAIR TABLE for partitioning:
        mattias.jonsson@oracle.com-20130130165152-o4tivhs5ty6n6nqa
      568790dc
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · 46e3a6a7
      Sergey Vojtovich authored
      Fixed parts.partition_alter1_1_innodb failure.
      
      mysql-test/suite/parts/t/partition_alter1_1_innodb.test:
        Applied hunk from 5.6 test: test takes long time, so only run it with
        the --big-test mtr-flag.
      46e3a6a7
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · 52b3e41a
      Sergey Vojtovich authored
      Fixed innodb.innodb_mysql failure.
      
      mysql-test/include/mix1.inc:
        Applied hunk from 5.6 test: error text has changed during merge.
      52b3e41a
  11. 29 Jul, 2013 1 commit
    • Sergey Vojtovich's avatar
      MDEV-4786 - merge 10.0-monty - 10.0 · 655050e7
      Sergey Vojtovich authored
      Fixed archive.archive failure.
      
      Applied remnants of two revisions, which were partially merged.
      
      Rev. 3225.1.1 (5.0 compatibility):
      
        BUG#11756687 - 48633: ARCHIVE TABLES ARE NOT UPGRADEABLE
      
        Archive table created by 5.0 were not accessible.
      
        This patch adds various fixes so that 5.0 archive tables
        are readable and writable. Though it is strongly recommended
        to avoid binary upgrade of archive tables whenever it is
        possible.
      
      Rev. 3710 (due to valgrind warnings):
      
        Bug#13907676: HA_ARCHIVE::INFO
        In WL#4305 the refactoring of the archive writer,
        it could flush the writer when it was not yet open.
      
        This was due to if bulk insert was used but no
        rows was actually inserted (write_row was never called),
        the writer was marked dirty even if it was not open.
      
        Fix was to only mark it as dirty if it was opened.
      
      mysql-test/std_data/bug48633.ARM:
        A test case for BUG#11756687: archive table created by 5.0.95.
      mysql-test/std_data/bug48633.ARZ:
        A test case for BUG#11756687: archive table created by 5.0.95.
      mysql-test/std_data/bug48633.frm:
        A test case for BUG#11756687: archive table created by 5.0.95.
      mysql-test/suite/archive/archive.result:
        Modified a test case for BUG#47012 according to fix for
        BUG#11756687.
        Added a test case for BUG#11756687.
      mysql-test/suite/archive/archive.test:
        Modified a test case for BUG#47012 according to fix for
        BUG#11756687.
        Added a test case for BUG#11756687.
        
        No need to remove .ARM files anymore: DROP TABLE will take
        care of them.
      storage/archive/azio.c:
        Do not write AZIO (v.3) header to GZIO file (v.1).
        
        Added initialization of various azio_stream members
        to read_header() so it can proceed with v.1 format.
        
        Update data start position only when reading first
        GZIO header. That is only on azopen(), but never on
        azread().
      storage/archive/ha_archive.cc:
        Removed guardians that were rejecting to open v.1 archive
        tables.
        
        Reload .frm when repairing v.1 tables - they didn't have
        storage for .frm.
        
        Do not flush write stream when it is not open.
        
        Let DROP TABLE remove 5.0 .ARM files.
      655050e7