1. 02 Dec, 2014 8 commits
    • Sergei Golubchik's avatar
      1caee393
    • Sergei Golubchik's avatar
      Merge branch '10.0' into bb-10.1-merge · 853077ad
      Sergei Golubchik authored
      Conflicts:
      	.bzrignore
      	VERSION
      	cmake/plugin.cmake
      	debian/dist/Debian/control
      	debian/dist/Ubuntu/control
      	mysql-test/r/join_outer.result
      	mysql-test/r/join_outer_jcl6.result
      	mysql-test/r/null.result
      	mysql-test/r/old-mode.result
      	mysql-test/r/union.result
      	mysql-test/t/join_outer.test
      	mysql-test/t/null.test
      	mysql-test/t/old-mode.test
      	mysql-test/t/union.test
      	packaging/rpm-oel/mysql.spec.in
      	scripts/mysql_config.sh
      	sql/ha_ndbcluster.cc
      	sql/ha_ndbcluster_binlog.cc
      	sql/ha_ndbcluster_cond.cc
      	sql/item_cmpfunc.h
      	sql/lock.cc
      	sql/sql_select.cc
      	sql/sql_show.cc
      	sql/sql_update.cc
      	sql/sql_yacc.yy
      	storage/innobase/buf/buf0flu.cc
      	storage/innobase/fil/fil0fil.cc
      	storage/innobase/include/srv0srv.h
      	storage/innobase/lock/lock0lock.cc
      	storage/tokudb/CMakeLists.txt
      	storage/xtradb/buf/buf0flu.cc
      	storage/xtradb/fil/fil0fil.cc
      	storage/xtradb/include/srv0srv.h
      	storage/xtradb/lock/lock0lock.cc
      	support-files/mysql.spec.sh
      853077ad
    • Sergei Golubchik's avatar
      put at least some output-generating statement in the test · 2b5db1d5
      Sergei Golubchik authored
      otherwise mysqltest complains "No queries executed but non-empty result file found!"
      2b5db1d5
    • Sergei Golubchik's avatar
      fix include/not_embedded.inc to be independent from the environment · b3aed01a
      Sergei Golubchik authored
      in particular, not fail with --vertical_results
      b3aed01a
    • Kristian Nielsen's avatar
      MDEV-7251: Test failure in rpl.rpl_parallel · 5fc28146
      Kristian Nielsen authored
      There was a race. The test case was expecting the slave to start processing a
      particular DELETE statement, then the test would stop the slave at this
      point. But there was missing something to wait until the slave would actually
      reach this point; thus depending on timing it was possible that the slave
      would be stopped too early, causing .result file difference.
      
      Fixed by adding an appropriate wait to the test case.
      5fc28146
    • Kristian Nielsen's avatar
      Fix wording in error log message, to be consistent with other messages ("IO... · 1eed2748
      Kristian Nielsen authored
      Fix wording in error log message, to be consistent with other messages ("IO thread" -> "I/O thread").
      1eed2748
    • Kristian Nielsen's avatar
      MDEV-7236: rpl.rpl_gtid_basic failed in buildbot with wait_condition timeout · 0450623f
      Kristian Nielsen authored
      Fix rare failures in test case rpl.rpl_gtid_basic:
      
       - Add another possible error code when a connection is killed.
      
       - Make sure that the IO thread has had time to complete its stop after START
         SLAVE UNTIL. Otherwise, START SLAVE might run before IO thread stop,
         leaving the test case with a stopped IO thread that eventually causes a
         wait timeout.
      0450623f
    • Kristian Nielsen's avatar
      MDEV-7241: rpl.rpl_parallel2 fails sporadically in buildbot · 50b42441
      Kristian Nielsen authored
      There was a race, a small window between updating slave position and updating
      Seconds_Behind_Master, during which the test case could see the wrong value.
      
      Fix by waiting for the expected status to appear.
      50b42441
  2. 01 Dec, 2014 10 commits
  3. 30 Nov, 2014 4 commits
  4. 29 Nov, 2014 1 commit
  5. 27 Nov, 2014 2 commits
    • Alexey Botchkov's avatar
      MDEV-4045 Missing OGC Spatial functions. · d0d6284c
      Alexey Botchkov authored
         Missing GIS functions added:
              IsRing()
              PointOnSurface
              PointOnSurface
              Relate
              Distance
              Intersection
              ConvexHull
         Other old OpenGis standard inconsistencies fixed.
      d0d6284c
    • Jan Lindström's avatar
      MDEV-7228: innodb.innodb-page_compression_tables,... · 7b55b67d
      Jan Lindström authored
      MDEV-7228: innodb.innodb-page_compression_tables, innodb.innodb-page_compression_zip, innodb.innodb_stats_create_on_corrupted fail with embedded server
      
      Problem is that tests restart the server and "shutdown_server" looks
      for pid file # which is not there with embedded mode.
      
      Fix tests so that they are not run with embedded mode.
      7b55b67d
  6. 26 Nov, 2014 1 commit
  7. 25 Nov, 2014 1 commit
  8. 24 Nov, 2014 6 commits
  9. 23 Nov, 2014 1 commit
  10. 22 Nov, 2014 3 commits
  11. 01 Dec, 2014 1 commit
    • Kristian Nielsen's avatar
      MDEV-7237: Parallel replication: incorrect relaylog position after stop/start the slave · 52b25934
      Kristian Nielsen authored
      The replication relay log position was sometimes updated incorrectly at the
      end of a transaction in parallel replication. This happened because the relay
      log file name was taken from the current Relay_log_info (SQL driver thread),
      not the correct value for the transaction in question.
      
      The result was that if a transaction was applied while the SQL driver thread
      was at least one relay log file ahead, _and_ the SQL thread was subsequently
      stopped before applying any events from the most recent relay log file, then
      the relay log position would be incorrect - wrong relay log file name. Thus,
      when the slave was started again, usually a relay log read error would result,
      or in rare cases, if the position happened to be readable, the slave might
      even skip arbitrary amounts of events.
      
      In GTID mode, the relay log position is reset when both slave threads are
      restarted, so this bug would only be seen in non-GTID mode, or in GTID mode
      when only the SQL thread, not the IO thread, was stopped.
      52b25934
  12. 28 Nov, 2014 1 commit
  13. 27 Nov, 2014 1 commit
    • Kristian Nielsen's avatar
      MDEV-7037: MariaDB 10.0 does not build on Debian / kfreebsd-i386/amd64 due to... · 74e581b7
      Kristian Nielsen authored
      MDEV-7037: MariaDB 10.0 does not build on Debian / kfreebsd-i386/amd64 due to MTR failure: multi_source.gtid
      MDEV-7106: Sporadic test failure in multi_source.gtid
      MDEV-7153: Yet another sporadic failure of multi_source.gtid in buildbot
      
      This patch fixes three races in the multi_source.gtid test case that could
      cause sporadic failures:
      
      1. Do not put SHOW ALL SLAVES STATUS in the output, the output is not stable.
      
      2. Ensure that slave1 has replicated as far as expected, before stopping its
      connection to master1 (otherwise the following wait will time out due to rows
      not replicated from master1).
      
      3. Ensure that slave2 has replicated far enough before connecting slave1 to it
      (otherwise we get an error during connect that slave1 is ahead of slave2).
      
      74e581b7