1. 26 Apr, 2012 1 commit
  2. 12 Apr, 2012 1 commit
  3. 17 Mar, 2012 2 commits
  4. 16 Mar, 2012 2 commits
    • Vladislav Vaintroub's avatar
      Reduce size of windows MSI by approx. 50% · 49d6568a
      Vladislav Vaintroub authored
      - Mark test components, plugins etc with COMPONENT Test, to get them excluded from the MSI
      - Only include debug symbols for client and embedded libs and also
        mysqld.exe and server plugins (so we can still can get a callstack in case of crash)
      
      The rest (all *.pdbs, test components, MTR) can be obtained from the big ZIP distribution, if required.
      49d6568a
    • Vladislav Vaintroub's avatar
      Fix several buildot errors on Windows · c5e1fb67
      Vladislav Vaintroub authored
      - do not attempt loading federatedx dynamically - does not work on Windows embedded
      - race condition in rpl_start_stop_slave
      - fix exclusion rule to catch warning in partition test
      c5e1fb67
  5. 14 Mar, 2012 6 commits
  6. 13 Mar, 2012 10 commits
    • Alexey Botchkov's avatar
      MDEV-15 Log all SQL errors. · 07a82c58
      Alexey Botchkov authored
                    Added the logger service that provides us with the rotating logs.
                    The plugin SQL_ERROR_LOG added. It logs the errors using the 'logger service'
                            for the rotating log files.
                    the example record from the log:
                      2012-03-09 15:07:29 root[root] @ localhost [] ERROR 1146: Table 'test.xyz' doesn't exist : select * from test.xyz
      07a82c58
    • Igor Babaev's avatar
      Merge. · 0f3b8ef2
      Igor Babaev authored
      0f3b8ef2
    • Igor Babaev's avatar
      Fixed LP bug #953649. · c1f5e25c
      Igor Babaev authored
      Do not call, directly or indirectly, SQL_SELECT::test_quick_select()
      for derived materialized tables / views when optimizing joins referring
      to these tables / views to get cost estimates of materialization.
      The current code does not create B-tree indexes for materialized 
      derived tables / views. So now it's not possible to get any estimates
      for ranges conditions over the results of the materialization.
      
      The function mysql_derived_create() must take into account the fact
      that array of the KEY structures specifying the keys over a derived
      table / view may be moved after the optimization phase if the
      derived table / view  is materialized.
      
      c1f5e25c
    • Michael Widenius's avatar
      Fixed bug lp:917689 "Archive table corruption crashing MariaDB signal 11" · 6f06cef0
      Michael Widenius authored
      Added 'from_end' as extra parameter to Field::unpack() to detect wrong from data.
      Change ha_archive::unpack_row() to detect wrong field lengths.
      Replication code changed to detect wrong field information in events.
      
      
      mysql-test/r/archive.result:
        dded test case for lp:917689
      sql/field.cc:
        Added 'from_end' as extra parameter to Field::unpack() to detect wrong from data.
        Removed not used 'unpack_key' functions.
      sql/field.h:
        Added 'from_end' as extra parameter to Field::unpack() to detect wrong from data.
        Removed not used 'unpack_key' functions.
        Removed some not needed unpack() functions.
      sql/filesort.cc:
        Added buffer end parameter to unpack_addon_fields()
      sql/log_event.h:
        Added end of buffer argument to unpack_row()
      sql/log_event_old.cc:
        Added end of buffer argument to unpack_row()
      sql/log_event_old.h:
        Added end of buffer argument to unpack_row()
      sql/records.cc:
        Added buffer end parameter to unpack_addon_fields()
      sql/rpl_record.cc:
        Added end of buffer argument to unpack_row()
        Added detection of wrong field information in events
      sql/rpl_record.h:
        Added end of buffer argument to unpack_row()
      sql/rpl_record_old.cc:
        Added end of buffer argument to unpack_row()
        Added detection of wrong field information in events
      sql/rpl_record_old.h:
        Added end of buffer argument to unpack_row()
      sql/table.h:
        Added buffer end parameter to unpack()
      storage/archive/ha_archive.cc:
        Change ha_archive::unpack_row() to detect wrong field lengths.
        This fixes lp:917689
      6f06cef0
    • Sergei Golubchik's avatar
    • Sergei Golubchik's avatar
      alternative method of resolving addresses for safemalloc and crash handler. · 00f2e313
      Sergei Golubchik authored
      don't link with libbfd, exec addr2line, if it's available at run time
      00f2e313
    • Sergei Golubchik's avatar
      1cbc3790
    • Sergei Golubchik's avatar
      monty's cleanup of my_thr_init.c · 262a2ab5
      Sergei Golubchik authored
      and collateral changes
      262a2ab5
    • Sergei Golubchik's avatar
    • Sergei Golubchik's avatar
      disable EXTRA_DEBUG in non-dbug builds · 3f178908
      Sergei Golubchik authored
      3f178908
  7. 12 Mar, 2012 7 commits
  8. 11 Mar, 2012 2 commits
  9. 09 Mar, 2012 6 commits
    • Igor Babaev's avatar
      Fixed LP bug #930814. · 8c083498
      Igor Babaev authored
      This bug was introduced into mariadb 5.2 in the December 2010 with
      the patch that added a new engine property: the ability to support
      virtual columns.    
      As a result of this bug the information from frm files for tables 
      that contained virtual columns did not appear in the information schema
      tables.
      8c083498
    • Michael Widenius's avatar
      Added test case for lp:905782 "Assertion `pageno < ((1ULL) << 40)' failed at... · 028523e9
      Michael Widenius authored
      Added test case for lp:905782 "Assertion `pageno < ((1ULL) << 40)' failed at ma_pagecache.c:3438: pagecache_read or table corruption on INSERT into a ucs2 table"
      The orignal bug has been fixed earlier
      028523e9
    • unknown's avatar
      ea736c93
    • Sergei Golubchik's avatar
      fix uninitialized warning in mysql-test-run.pl · 96a21ab3
      Sergei Golubchik authored
      make the test to require sphinx 2.0.4 or later
      96a21ab3
    • Sergei Golubchik's avatar
      merge with mysql-5.5.21 · 4933d21e
      Sergei Golubchik authored
      4933d21e
    • Igor Babaev's avatar
      Fixed LP bug #884175. · af7213d5
      Igor Babaev authored
      If in the where clause of the a query some comparison conditions on the
      field under a MIN/MAX aggregate function contained constants whose sizes
      exceeded the size of the field then the query could return a wrong result
      when the optimizer had chosen to apply the MIN/MAX optimization.
      With such conditions the MIN/MAX optimization still could be applied, yet
      it would require a more thorough analysis of the keys built to find
      the value of MIN/MAX aggregate functions with index look-ups.   
      The current patch just prohibits using the MIN/MAX optimization in this
      situation.
      af7213d5
  10. 08 Mar, 2012 1 commit
  11. 07 Mar, 2012 1 commit
    • Michael Widenius's avatar
      Upgraded sphinx to version 2.0.4 · aba6d06c
      Michael Widenius authored
      Fixed memory leaks and compiler warnings in ha_sphinx.cc
      Added HA_MUST_USE_TABLE_CONDITION_PUSHDOWN so that an engine can force index condition to be used
      
      mysql-test/suite/sphinx/sphinx.result:
        Added testing of pushdown conditions and sphinx status variables.
      mysql-test/suite/sphinx/sphinx.test:
        Added testing of pushdown conditions and sphinx status variables.
      mysql-test/suite/sphinx/suite.pm:
        Print version number if sphinx version is too old.
      sql/handler.h:
        Added HA_MUST_USE_TABLE_CONDITION_PUSHDOWN so that an engine can force index condition to be used
      sql/sql_base.cc:
        Added 'thd' argument to check_unused() to be able to set 'entry->in_use' if we call handler->extra().
        This was needed as sphinx (and possible other storage engines) assumes that 'in_use' is set if handler functions are called.
      sql/sql_select.cc:
        Test if handler is forcing pushdown condition to be used.
      storage/sphinx/ha_sphinx.cc:
        Updated to version 2.0.4
        Fixed memory leaks and compiler warnings.
      storage/sphinx/ha_sphinx.h:
        Updated to version 2.0.4
      storage/sphinx/snippets_udf.cc:
        Updated to version 2.0.4
      aba6d06c
  12. 06 Mar, 2012 1 commit