1. 12 Apr, 2013 1 commit
    • Alexey Botchkov's avatar
      MDEV-3917 multiple use locks (GET_LOCK) in one connection. · 1a600125
      Alexey Botchkov authored
          The patch contributed by Konstantin Osipov applied.
          Native comments:
            Implement multiple user-level locks per connection.
      
            GET_LOCK() function in MySQL allows a connection  to hold at most
            one user level lock. Taking a new lock automatically releases the
            old lock, if any.
      
            The limit of one lock per session existed since  early versions
            of MySQL didn't have a deadlock detector for SQL locks.
            MDL patches in MySQL 5.5 added a deadlock detector,
            so starting from 5.5 it became possible to take multiple locks
            in any order -- a deadlock, should it occur, would be detected
            and an error returned to the client which closed the wait chain.
      
            This is exactly what is done in this patch: ULLs are moved
            to use MDL subsystem.
      1a600125
  2. 10 Apr, 2013 2 commits
    • Sergei Golubchik's avatar
      portability fixes for mysql-test · ff3407a1
      Sergei Golubchik authored
      mysql-test/r/mysqld--help.result:
        that's default to number of CPUs
      mysql-test/suite/archive/discover.test:
        move_file uses rename(2), which may end up
        with "Invalid cross-device link"
      mysql-test/suite/archive/partition_archive.test:
        on Solaris the error message is different
      ff3407a1
    • Sergei Golubchik's avatar
      Linking problem on Windows · 3ed6b24d
      Sergei Golubchik authored
      3ed6b24d
  3. 09 Apr, 2013 37 commits