1. 09 Aug, 2012 1 commit
  2. 08 Aug, 2012 2 commits
  3. 06 Aug, 2012 1 commit
    • Michael Widenius's avatar
      Fixed compiler warnings · 60cc80f7
      Michael Widenius authored
      sql/log.h:
        Fixed compiler warnings reported for gcc 2.7.1
      storage/xtradb/handler/ha_innodb.cc:
        Remove not used variables
      60cc80f7
  4. 01 Aug, 2012 1 commit
  5. 02 Aug, 2012 3 commits
  6. 01 Aug, 2012 1 commit
    • Elena Stepanova's avatar
      MDEV-369 (Mismatches in MySQL engines test suite) · 327e4c93
      Elena Stepanova authored
      Following reasons caused mismatches:
        - different handling of invalid values;
        - different CAST results with fractional seconds;
        - microseconds support in MariaDB;
        - different algorithm of comparing temporal values;
        - differences in error and warning texts and codes;
        - different approach to truncating datetime values to time;
        - additional collations;
        - different record order for queries without ORDER BY;
        - MySQL bug#66034.
      More details in MDEV-369 comments.
      327e4c93
  7. 31 Jul, 2012 5 commits
    • Sergei Golubchik's avatar
      MDEV-336 oqgraph 5.5 crashes in buildbot · 95840def
      Sergei Golubchik authored
      make CMakeLists.txt to detect if the installed boost can be compiled with the
      installed compile and specified set of compiler options.
      
      Background: even sufficiently new Boost cannot be compiled with the sufficiently old gcc
      in the presence of -fno-rtti
      95840def
    • Sergei Golubchik's avatar
      MDEV-419 ensure that all HAVE_XXX constants can be set by cmake · 4b91879f
      Sergei Golubchik authored
      add missing checks to configure.cmake
      remove dead code and unused HAVE_xxx constants from the sources
      4b91879f
    • Sergei Golubchik's avatar
      MDEV-375 Server crashes in THD::print_aborted_warning with log_warnings > 3 · 4151d16e
      Sergei Golubchik authored
      Don't use ER(xxx) in THD::close_connection(), when current_thd is already reset to NULL.
      Prefer ER_THD() or ER_DEFAULT() instead.
      4151d16e
    • Alexey Botchkov's avatar
      MDEV-340 Save replication comments for DROP TABLE. · 9f7412e6
      Alexey Botchkov authored
            mysql_rm_table_no_locks() function was modified.
            When we construct log record for the DROP TABLE, now we
            look if there's a comment before the first table name and
            add it to the record if so.
        
      per-file comments:
        sql/sql_table.cc
        MDEV-340 Save replication comments for DROP TABLE.
              comment_length() function implemented to find comments in the query,
              call it in mysql_rm_table_no_locks() and use the result to form log record.
        mysql-test/suite/binlog/r/binlog_drop_if_exists.result
        MDEV-340 Save replication comments for DROP TABLE.
              test result updated.
        mysql-test/suite/binlog/t/binlog_drop_if_exists.test
        MDEV-340 Save replication comments for DROP TABLE.
              test case added.
      9f7412e6
    • Sergei Golubchik's avatar
      MDEV-418 Feedback plugin statisics problem · 5da4f1e8
      Sergei Golubchik authored
      Add the check for sys/utsname.h to configure.cmake
      5da4f1e8
  8. 30 Jul, 2012 2 commits
    • Vladislav Vaintroub's avatar
      MDEV-417 - fix typo that prevented use of atomic instructions on Windows · af14c4e3
      Vladislav Vaintroub authored
      use correct macro for Microsoft compiler. It is _MSC_VER , not _MSV_VER
      af14c4e3
    • Elena Stepanova's avatar
      MDEV-369 (Mismatches in MySQL engines test suite) · 244acf7a
      Elena Stepanova authored
      Following reasons caused mismatches:
        - different handling of invalid values;
        - different CAST results with fractional seconds;
        - microseconds support in MariaDB;
        - different algorithm of comparing temporal values;
        - differences in error and warning texts and codes;
        - different approach to truncating datetime values to time;
        - additional collations;
        - different record order for queries without ORDER BY;
        - MySQL bug#66034.
      More details in MDEV-369 comments.
      244acf7a
  9. 26 Jul, 2012 1 commit
  10. 25 Jul, 2012 1 commit
  11. 24 Jul, 2012 1 commit
  12. 23 Jul, 2012 1 commit
  13. 19 Jul, 2012 2 commits
  14. 18 Jul, 2012 3 commits
    • Sergey Petrunya's avatar
      Merge 5.3->5.5 · 69b0280f
      Sergey Petrunya authored
      69b0280f
    • Sergey Petrunya's avatar
      Merge bug#1007622 from 5.3 to 5.5 · 5d8b8a8a
      Sergey Petrunya authored
      5d8b8a8a
    • Sergey Petrunya's avatar
      MDEV-398: Sergv related to spacial queries · 78b83425
      Sergey Petrunya authored
      - index_merge/intersection is unable to work on GIS indexes, because:
        1. index scans have no Rowid-Ordered-Retrieval property
        2. When one does an index-only read over a GIS index, they do not 
           get the index tuple, because index only contains bounding box of the geometry.
           This is why key_copy() call crashed.
      This patch fixes #1, which makes the problem go away. Theoretically, it would 
      be nice to check #2, too, but SE API semantics is not sufficiently precise to do it.
      78b83425
  15. 16 Jul, 2012 4 commits
  16. 13 Jul, 2012 1 commit
    • unknown's avatar
      fixed MySQL bug#53775: · 7cf41df2
      unknown authored
      Now partition engine adds underlying tables to the QC and ask underlying tables engine permittion to cache the query and return result of the query.
      
      Incorrect QC cleanup in case of table registration failure fixe.
      
      Unified interface for myisammrg & partitioned engnes for QC.
      7cf41df2
  17. 12 Jul, 2012 1 commit
  18. 11 Jul, 2012 6 commits
    • Sergei Golubchik's avatar
      lp:1023404 problems with savepoints and tokudb with 5.5 · 301df31b
      Sergei Golubchik authored
      fix incorrect merge
      301df31b
    • Bjorn Munch's avatar
      Empty version change upmerge · b68fb7e6
      Bjorn Munch authored
      b68fb7e6
    • unknown's avatar
      Raise version number after cloning 5.1.65 · a6f60fbe
      unknown authored
      a6f60fbe
    • unknown's avatar
      No commit message · 8408a8ea
      unknown authored
      No commit message
      8408a8ea
    • unknown's avatar
      No commit message · 8c21815d
      unknown authored
      No commit message
      8c21815d
    • Chaithra Gopalareddy's avatar
      Bug #13444084:PRIMARY KEY OR UNIQUE KEY >453 BYTES FAILS FOR · 17ec10b1
      Chaithra Gopalareddy authored
                    COUNT DISTINCT GROUP BY
      
      PROBLEM:
      To calculate the final result of the count(distinct(select 1))
      we call 'end_send' function instead of 'end_send_group'.
      'end_send' cannot be called if we have aggregate functions
      that need to be evaluated.
      
      ANALYSIS:
      While evaluating for a possible loose_index_scan option for
      the query, the variable 'is_agg_distinct' is set to 'false'
      as the item in the distinct clause is not a field. But, we
      choose loose_index_scan by not taking this into 
      consideration.
      So, while setting the final 'select_function' to evaluate
      the result, 'precomputed_group_by' is set to TRUE as in
      this case loose_index_scan is chosen and we do not have
      agg_distinct in the query (which is clearly wrong as we
      have one).
      As a result, 'end_send' function is chosen as the final
      select_function instead of 'end_send_group'. The difference
      between the two being, 'end_send_group' evaluates the
      aggregates while 'end_send' does not. Hence the wrong result.
      
      FIX:
      The variable 'is_agg_distinct' always represents if 
      'loose_idnex_scan' can be chosen for aggregate_distinct 
      functions present in the select.
      So, we check for this variable to continue with 
      loose_index_scan option.
      
      
      sql/opt_range.cc:
        Do not continue if is_agg_distinct is not set in case
        of agg_distinct functions.
      17ec10b1
  19. 10 Jul, 2012 3 commits
    • Rohit Kalhans's avatar
      bug#11759333: · e39e6968
      Rohit Kalhans authored
      follow-up patch for the failure on pb2 windows build
      e39e6968
    • Mayank Prasad's avatar
      Bug#13889741: HANDLE_FATAL_SIGNAL IN _DB_ENTER_ |HANDLE_FATAL_SIGNAL IN STRNLEN · 5e40689a
      Mayank Prasad authored
      Follow up patch to resolve pb2 failure on windows platform
      5e40689a
    • Jon Olav Hauglid's avatar
      Bug#12623923 Server can crash after failure to create · 51b59214
      Jon Olav Hauglid authored
                   primary key with innodb tables
      
      The bug was triggered if a single ALTER TABLE statement both
      added and dropped indexes and ALTER TABLE failed during drop
      (e.g. because the index was needed in a foreign key constraint).
      In such cases, the server index information would get out of
      sync with InnoDB - the added index would be present inside
      InnoDB, but not in the server. This could then lead to InnoDB
      error messages and/or server crashes.
      
      The root cause is that new indexes are added before old indexes
      are dropped. This means that if ALTER TABLE fails while dropping
      indexes, index changes will be reverted in the server but not
      inside InnoDB.
      
      This patch fixes the problem by dropping any added indexes
      if drop fails (for ALTER TABLE statements that both adds
      and drops indexes). 
      
      However, this won't work if we added a primary key as this
      key might not be possible to drop inside InnoDB. Therefore,
      we resort to the copy algorithm if a primary key is added
      by an ALTER TABLE statement that also drops an index.
      
      In 5.6 this bug is more properly fixed by the handler interface
      changes done in the scope of WL#5534 "Online ALTER".
      51b59214