1. 18 Nov, 2014 3 commits
    • Sergei Golubchik's avatar
      MDEV-7113 difference between check_vcol_func_processor and check_partition_func_processor · 5d0122bd
      Sergei Golubchik authored
      MDEV-6789 segfault in Item_func_from_unixtime::get_date on updating table with virtual columns
      
      * prohibit VALUES in partitioning expression
      * prohibit user and system variables in virtual column expressions
      * fix Item_func_date_format to cache locale (for %M/%W to return the same as MONTHNAME/DAYNAME)
      * fix Item_func_from_unixtime to cache time_zone directly, not THD (and not to crash)
      * added tests for other incorrectly allowed (in vcols) functions to see that they don't crash
      5d0122bd
    • Sergei Golubchik's avatar
      MDEV-3940 Server crash or assertion `item->type() == Item::STRING_ITEM'... · 84f25c25
      Sergei Golubchik authored
      MDEV-3940 Server crash or assertion `item->type() == Item::STRING_ITEM' failure on LOAD DATA through a view with statement binary logging
      
      A "field" could be either an Item_field or
      (if loading into a view) an Item_direct_ref that references Item_field.
      
      Also: when iterating fields, use fields of the TABLE_LIST (table or view),
      not fields of a TABLE (actual underlying table - might have more columns).
      84f25c25
    • Sergei Golubchik's avatar
      MDEV-6854 Typo in cmake/plugin.cmake · 241294b5
      Sergei Golubchik authored
      241294b5
  2. 10 Nov, 2014 1 commit
  3. 08 Nov, 2014 1 commit
  4. 17 Nov, 2014 3 commits
  5. 15 Nov, 2014 1 commit
  6. 13 Nov, 2014 5 commits
  7. 12 Nov, 2014 1 commit
    • Kristian Nielsen's avatar
      MDEV-7089: Test failures in main.failed_auth_unixsocket and... · 3180e762
      Kristian Nielsen authored
      MDEV-7089: Test failures in main.failed_auth_unixsocket and plugins.unix_socket depending on environment
      
      The test cases had some --replace_result $USER USER. The problem is that the
      value of $USER can be anything, depending on the name of the unix account that
      runs the test suite. So random parts of the result can be errorneously
      replaced, causing test failures.
      
      Fix by making the replacements more specific, so they will match only the
      intended stuff regardless of the value of $USER.
      
      3180e762
  8. 10 Nov, 2014 1 commit
  9. 03 Nov, 2014 1 commit
  10. 02 Nov, 2014 2 commits
  11. 31 Oct, 2014 2 commits
    • unknown's avatar
      Cleanup. · ee309b10
      unknown authored
      ee309b10
    • Kristian Nielsen's avatar
      Fix sporadic test failure in main.processlist · bad5fdec
      Kristian Nielsen authored
      The test runs a query in one thread, then in another queries the processlist
      and expects to find the first thread in the COM_SLEEP state. The problem is
      that the thread signals completion to the client before changing to COM_SLEEP
      state, so there is a window where the other thread can see the wrong state.
      
      A previous attempt to fix this was ineffective. It set a DEBUG_SYNC to handle
      proper waiting, but unfortunately that DEBUG_SYNC point ended up triggering
      already at the end of SET DEBUG_SYNC=xxx, so the wait was ineffective.
      
      Fix it properly now (hopefully) by ensuring that we wait for the DEBUG_SYNC
      point to trigger at the end of the SELECT SLEEP(), not just at the end of
      SET DEBUG_SYNC=xxx.
      bad5fdec
  12. 28 Oct, 2014 5 commits
  13. 25 Oct, 2014 1 commit
  14. 24 Oct, 2014 3 commits
  15. 21 Oct, 2014 1 commit
  16. 19 Oct, 2014 2 commits
  17. 18 Oct, 2014 2 commits
  18. 17 Oct, 2014 2 commits
  19. 30 Oct, 2014 1 commit
  20. 29 Oct, 2014 2 commits
    • Kristian Nielsen's avatar
      Attempt to fix a failure in test case innodb.innodb_information_schema seen... · 848d1166
      Kristian Nielsen authored
      Attempt to fix a failure in test case innodb.innodb_information_schema seen occasionally in Buildbot.
      
      The test case waits for other threads to complete, but the wait is only 2
      seconds. This is likely to sometimes be too little on our heavily loaded
      buildbot VMs, that can easily stall for more than 2 seconds from time to time.
      
      So let's try to increase the timeout (to about 40 seconds) and see if it
      helps.
      
      848d1166
    • Kristian Nielsen's avatar
      Fix a spurious test failure in rpl.rpl_show_slave_hosts · 2fdb88e8
      Kristian Nielsen authored
      The test case runs SHOW SLAVE HOSTS. The output of this is only stable after
      all slaves have had time to register with the master; this happens
      asynchroneously.
      
      The test was waiting for the slave with server_id=3 to appear in the output,
      but it was missing a similar wait for server_id=2. Thus, if server_id=2 was
      much slower to connect for some reason, it could be missing from the output,
      causing the test to fail.
      2fdb88e8