1. 21 Sep, 2011 2 commits
    • Daniel Fischer's avatar
      merge from 5.5.16 · fe1b205d
      Daniel Fischer authored
      fe1b205d
    • kevin.lewis@oracle.com's avatar
      Bug 12963823 - Crash in Purge thread under unusual circumstances. · 0f359571
      kevin.lewis@oracle.com authored
      The problem occurred when indexes are added between the time that an
      UNDO record is created and the time that the purge thread comes around
      and deletes the old secondary index entries.  The purge thread would
      hit an assert when trying to build a secondary index entry for
      searching.  The problem was that the old value of those fields were not
      in the UNDO record since they were not part of an index when the UPDATE
      occured. 
      A test case was added to innodb-index.test.
      0f359571
  2. 20 Sep, 2011 2 commits
  3. 19 Sep, 2011 1 commit
  4. 16 Sep, 2011 3 commits
    • Rafal Somla's avatar
      Update of auth_rpl test. · 76f3c250
      Rafal Somla authored
      For some reason the test authentication plugin accepted connection with arbitrary password. But the intention of the plugin is that password should equal to the authentication string and in the later versions of the server connection fails if password is wrong. So I have updated auth_rpl test to specify the correct password.
      76f3c250
    • Sergey Vojtovich's avatar
      Merge. · d495f580
      Sergey Vojtovich authored
      d495f580
    • Sergey Vojtovich's avatar
      BUG#11761180 - 53646: MYISAMPACK CORRUPTS TABLES WITH · 1ebc1e07
      Sergey Vojtovich authored
                     FULLTEXT INDEXES
      
      myisamchk may create incorrect fulltext index for compressed
      tables. Incorrect data pointer size was used while creating
      fulltext index.
      1ebc1e07
  5. 14 Sep, 2011 3 commits
    • Rafal Somla's avatar
      Bug#12897501 REPLICATION DOES NOT SUPPORT WINDOWS AUTH PLUG-IN · 3b17a24e
      Rafal Somla authored
      Connection of slave to master using a replication account which authenticates
      with an external plugin was not possible.
      
      Fixed by making sure that the CLIENT_PLUGIN_AUTH capability is set when client connects using mysql_real_connect(). Also, a plugin-dir path used by client library to locate authentication plugins is set based on the analogous server setting. This is done in connect_to_master() function before a call to mysql_real_connect().
      3b17a24e
    • Marko Mäkelä's avatar
      Merge mysql-5.1 to mysql-5.5. · 0e034eaa
      Marko Mäkelä authored
      0e034eaa
    • Marko Mäkelä's avatar
      Hopefully really final fix of Bug#11766591 59733: Possible deadlock · 59e022c1
      Marko Mäkelä authored
      when buffered changes are to be discarded
      
      sync_thread_add_level(level = SYNC_IBUF_INDEX_TREE): Relax a too strict
      condition that the thread must not be holding locks below SYNC_FSP_PAGE.
      It is perfectly valid to hold any latch above SYNC_IBUF_INDEX_TREE when
      acquiring the insert buffer tree latch.
      59e022c1
  6. 13 Sep, 2011 6 commits
  7. 12 Sep, 2011 4 commits
    • Jonathan Perkin's avatar
      Fix typos in last. · d9d80740
      Jonathan Perkin authored
      d9d80740
    • Jonathan Perkin's avatar
      Add support for RHEL6 and OL6. · 7e6cc0cd
      Jonathan Perkin authored
      7e6cc0cd
    • Marko Mäkelä's avatar
      Merge mysql-5.1 to mysql-5.5. · 54714b38
      Marko Mäkelä authored
      54714b38
    • Marko Mäkelä's avatar
      Bug#12601439 CONSISTENT READ FAILURE IN COLUMN PREFIX INDEX · 607a3e83
      Marko Mäkelä authored
      When there is a secondary index on a column prefix of an externally
      stored column and an entry in the secondary index is shorter than the
      reserved prefix length, it should mean that the secondary index entry
      is holding the complete column value. When comparing this secondary
      index column value to the column in the clustered index row, we must
      compare the entire prefix that was fetched from the clustered
      index. The bug was that we would just compare that the column in the
      clustered index starts with the value found in the secondary index
      column.
      
      This bug affects only the InnoDB Barracuda formats (ROW_FORMAT=DYNAMIC
      and ROW_FORMAT=COMPRESSED), in which columns that are stored off-page
      in the clustered index do not contain any prefix in the clustered
      index record.
      
      row_sel_sec_rec_is_for_blob(): Add the parameter prefix_len, for
      ifield->prefix_len. Add some assertions.
      
      Sorry, I did not manage to produce a test case. This patch does
      produce correct results on the data set that Michael isolated on our
      test machine. That was with the purge and background rollback
      suspended, because they would make the bug go away.
      
      rb:760 approved by Sunny Bains
      607a3e83
  8. 09 Sep, 2011 3 commits
  9. 08 Sep, 2011 6 commits
  10. 07 Sep, 2011 10 commits
    • Chuck Bell's avatar
      821b8746
    • Chuck Bell's avatar
      BUG#12929345 : Execution aborts without any messages (Windows only) · d1d47bb8
      Chuck Bell authored
      This patch adds the length of the buffer in the strncat operation
      to prevent buffer overrun. 
      d1d47bb8
    • Rafal Somla's avatar
      Bug#12873214 WINDOWS AUTHENTICATION PLUGIN PRODUCES EXCESSIVE RECORDS IN SERVER ERROR LOG · 36270944
      Rafal Somla authored
            
      Changed semantics of AUTHENTICATION_WIN_LOG environment variable recognized by client library to accept the following values which are levels of logging done during Windows authentication handshake:
            
        0 - no logging
        1 - log only error messages
        2 - additionally log warnings
        3 - additionally log info notes
        4 - also log debug messages
            
      Setting it to 'on', 'yes' or 'true' will request log level 2 and setting it to 'debug' or 'dbug' will request log level 4.
      36270944
    • Chuck Bell's avatar
      BUG#12929345 : Execution aborts without any messages (Windows only) · 5acc7cac
      Chuck Bell authored
      This patch corrects an unsafe string concatenation for a Windows-specific
      code segment. The symptoms were, under certain conditions like specifying
      the location of my-print-defaults and the basedir, and run on a release
      build, the client would exit without printing any messages. 
      5acc7cac
    • Chuck Bell's avatar
      Merge with main · a2dd6148
      Chuck Bell authored
      a2dd6148
    • Vasil Dimov's avatar
      Merge mysql-5.1 -> mysql-5.5 · 3006e193
      Vasil Dimov authored
      3006e193
    • Vasil Dimov's avatar
      Use cursors for seeking records in SYS_FOREIGN and SYS_INDEXES from · 1ebfa44b
      Vasil Dimov authored
      DROP_TABLE_PROC().
      
      With this change I observe a speedup from 6.2s to 0.1s when executing
      DROP_TABLE_PROC() during DROP TABLE with 512 foreign keys, like what
      is being done in innodb_bug56143.test
      
      This fixes "Bug#11765460 DROP TABLE USES INEFFICIENT METHODS TO REMOVE
      FKS/INDEXES FROM INNODB SYS TABLES"
      
      Reviewed by:	Marko
      1ebfa44b
    • Chuck Bell's avatar
      BUG#12929631 : Execute crashes with --verbose output (Windows) · 6495237f
      Chuck Bell authored
      This patch corrects an unsafe string concatenation in the Windows
      specific code for building the bootstrap command to enable or
      disable the plugin. 
      6495237f
    • Georgi Kodinov's avatar
      Bug #12944747: MYSQL PROXY CAN'T DISTINGUISH WIN-AUTH DATA · 2a8ce5e5
      Georgi Kodinov authored
      FROM OK PACKET
        
      There's no reliable way (without knowing the protocol variants that each
      plugin pair implements) to find out when does the authentication exchange
      end.
      The server is changed to send all the extra authentication packets that 
      server plugins need to send prefixed with the \x1 command.
      2a8ce5e5
    • Mats Kindahl's avatar
      WL#5973: Support marking plugins as not possible · 4024c206
      Mats Kindahl authored
               to install or uninstall dynamically
      
      This patch does the following:
      - Step the plugin interface version.
      - A flag field to the st_mysql_plugin structure that is
        used by plugins to provide basic information about the
        plugin.
      - Two new flags to mark that a plugin cannot be loaded
        or unloaded dynamically (from a running server) but
        has to be installed or uninstalled offline.
      - Two new error messages for reporting error when trying
        to install or uninstall a plugin marked as not instal-
        lable or not uninstallable.
      - Update all plugins to initialize the new flags field
        to 0 explicitly.
      
      This is a missing commit message for revision:
      
        mats.kindahl@oracle.com-20110815181211-4l94m162xs1mtrei
      4024c206