1. 08 May, 2014 1 commit
    • Nirbhay Choubey's avatar
      MDEV#6206: wsrep_slave_threads subtracts from max_connections · 00b6fff2
      Nirbhay Choubey authored
      Decoupled wsrep thread count from connection count. By doing so,
      the number of wsrep threads (applier/rollbacker) would no longer
      affect the threads_connected status variable and thus maximum
      allowable user connections limit would be @@max_connections.
      
      Also introduced a new status variable 'wsrep_thread_count' to hold
      the number of wsrep applier/rollbacker threads.
      
      Added a test case.
      00b6fff2
  2. 04 May, 2014 1 commit
  3. 03 May, 2014 2 commits
  4. 01 May, 2014 1 commit
  5. 28 Apr, 2014 1 commit
  6. 25 Apr, 2014 4 commits
  7. 22 Apr, 2014 1 commit
  8. 18 Apr, 2014 3 commits
  9. 16 Apr, 2014 2 commits
  10. 15 Apr, 2014 7 commits
    • Alexey Botchkov's avatar
      MDEV-4856 SQL_ERROR_LOG shows 1146 errors which didnt appear in mysql client. · 142c20ed
      Alexey Botchkov authored
          The fill_schema_table() function used to call get_table_share() for a table name in WHERE
          then clear the error list. That way plugins receive the superfluous error notification if it
          happens in it. Also the problem was that error handler didn't prevent the suppressed
          error message from logging anyway as the logging happens in THD::raise_condition
          before the handler call.
          Trigger_error_handler is remade into Warnings_only_error_handler, so it stores the error
          message in all cases in the thd->stmt_da.
          Then later the stored error is raised.
      142c20ed
    • Alexey Botchkov's avatar
      MDEV-5138 Numerous test failures in "mtr --ps --embedded". · 708ba733
      Alexey Botchkov authored
           If a prepared statement calls an stored procedure,
           the thd->server_status out of the SP goes up
           to the PS and then to the client. So that the
           client gets the SERVER_STATUS_CURSOR_EXISTS status
           if the SP uses a cursor. Which makes the embedded
           server fail.
           Fixed by saving/restoring the upper-level server_status
           in sp_head::execute().
      708ba733
    • Alexey Botchkov's avatar
      MDEV-5138 Numerous test failures in "mtr --ps --embedded". · 9d32b8b2
      Alexey Botchkov authored
           Thread can be disconnected internally for example after COMMIT statements.
           So we should check this for the statement execution.
      9d32b8b2
    • Alexey Botchkov's avatar
      MDEV-5138 Numerous test failures in "mtr --ps --embedded". · 8a6a95a1
      Alexey Botchkov authored
          mysqltest in the 'embedded-server' mode runs queries in a separate thread,
          but it didn't do so for the prepared statements - they were run in the main thread.
          That leads to inconsistencies.
          When a test sets SESSION 'dbug' variable like
                  SET SESSION debug_dbug="+d,warn_during_ha_commit_trans";
          it is run as a plain query in that separate thread, so the main thread remains unaffected.
          After that the prepared statement run in the main thread doesn't produce expected 'dbug' errors,
          so the test fails.
          To fix that I made prepared statement to be run in that special thread along with the plain queries.
          That makes the environment consistent.
      8a6a95a1
    • Alexey Botchkov's avatar
      MDEV-5138 Numerous test failures in "mtr --ps --embedded". · 365960a0
      Alexey Botchkov authored
        As Davi added code like
                sav_protocol= thd->protocol
                thd->protocol= &thd->protocol_binary
                ...
                thd->protocol= sav_protocol
        the fucntions like emb_store_querycache_result() cannot determine
        the used protocol testing thd->protocol == &thd->protocol_binary.
        Fixed by additional check thd->command == COM_STMT_EXECUTE.
      365960a0
    • Alexey Botchkov's avatar
      MDEV-5138 Numerous test failures in "mtr --ps --embedded". · 7d103311
      Alexey Botchkov authored
              The function Protocol::net_store_data(a, b, CHARSET_A, CHARSET_B) should
              be adapted to be working in the embedded server as it's done
              with the Protocol::net_store_data(a, b).
              That new function renamed as net_store_data_cs, so we can make it
              virtual.
      7d103311
    • unknown's avatar
      MDEV-5991: crash in Item_field::used_tables · 05722f06
      unknown authored
      Units of subqueroes from excluded expressions should be excluded from select_lex/select_unit tree.
      05722f06
  11. 14 Apr, 2014 2 commits
  12. 13 Apr, 2014 1 commit
  13. 11 Apr, 2014 1 commit
  14. 10 Apr, 2014 3 commits
  15. 09 Apr, 2014 1 commit
  16. 08 Apr, 2014 3 commits
  17. 07 Apr, 2014 3 commits
  18. 11 Apr, 2014 3 commits