1. 12 Sep, 2012 4 commits
  2. 11 Sep, 2012 2 commits
  3. 10 Sep, 2012 2 commits
    • Andrei Elkin's avatar
      merge bug14597605 to the main repo. · 95f6e191
      Andrei Elkin authored
      95f6e191
    • Andrei Elkin's avatar
      Bug#14597605 Issue with Null-value user on slave · 7d115e1c
      Andrei Elkin authored
      An "orthographic" typo in User_var::set_deferred() was made in fixes for
      bug@14275000. While editing the signature of the initial patch to remove
      the only argument, the assigned value of the argument remained in the body ... 
      to be successfully compiled (!) thanks to names coincidence:
      the arg to User_var method and its member.
      
      Fixed with correcting the typo.
      7d115e1c
  4. 07 Sep, 2012 1 commit
  5. 05 Sep, 2012 1 commit
  6. 03 Sep, 2012 1 commit
  7. 31 Aug, 2012 2 commits
    • Annamalai Gurusami's avatar
      Bug #13453036 ERROR CODE 1118: ROW SIZE TOO LARGE - EVEN · 4a3d325d
      Annamalai Gurusami authored
      THOUGH IT IS NOT.
      
      The following error message is misleading because it claims 
      that the BLOB space is not counted.  
      
      "ERROR 1118 (42000): Row size too large. The maximum row size for 
      the used table type, not counting BLOBs, is 8126. You have to 
      change some columns to TEXT or BLOBs"
      
      When the ROW_FORMAT=compact or ROW_FORMAT=REDUNDANT is used,
      the BLOB prefix is stored inline along with the row.  So 
      the above error message is changed as follows depending on
      the row format used:
      
      For ROW_FORMAT=COMPRESSED or ROW_FORMAT=DYNAMIC, the error
      message is as follows:
      
      "ERROR 42000: Row size too large (> 8126). Changing some
      columns to TEXT or BLOB may help. In current row format, 
      BLOB prefix of 0 bytes is stored inline."
      
      For ROW_FORMAT=COMPACT or ROW_FORMAT=REDUNDANT, the error
      message is as follows:
      
      "ERROR 42000: Row size too large (> 8126). Changing some
      columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or 
      ROW_FORMAT=COMPRESSED may help. In current row
      format, BLOB prefix of 768 bytes is stored inline."
      
      rb://1252 approved by Marko Makela
      4a3d325d
    • mysql-builder@oracle.com's avatar
      No commit message · c89780c0
      mysql-builder@oracle.com authored
      No commit message
      c89780c0
  8. 30 Aug, 2012 2 commits
    • Marko Mäkelä's avatar
      Bug#14554000 CRASH IN PAGE_REC_GET_NTH_CONST(NTH=0) DURING COMPRESSED · 0303bc42
      Marko Mäkelä authored
      PAGE SPLIT
      
      page_rec_get_nth_const(): Map nth==0 to the page infimum.
      
      btr_compress(adjust=TRUE): Add a debug assertion for nth>0. The cursor
      should never be positioned on the page infimum.
      
      btr_index_page_validate(): Add test instrumentation for checking the
      return values of page_rec_get_nth_const() during CHECK TABLE, and for
      checking that the page directory slot 0 always contains only one
      record, the predefined page infimum record.
      
      page_cur_delete_rec(), page_delete_rec_list_end(): Add debug
      assertions guarding against accessing the page slot 0.
      
      page_copy_rec_list_start(): Clarify a comment about ret_pos==0.
      
      rb:1248 approved by Jimmy Yang
      0303bc42
    • Marko Mäkelä's avatar
      Bug#14547952: DEBUG BUILD FAILS ASSERTION IN RECORDS_IN_RANGE() · 22f264f3
      Marko Mäkelä authored
      ha_innodb::records_in_range(): Remove a debug assertion
      that prohibits an open range (full table).
      
      The patch by Jorgen Loland only removed the assertion from the
      built-in InnoDB, not from the InnoDB Plugin.
      22f264f3
  9. 28 Aug, 2012 1 commit
  10. 27 Aug, 2012 1 commit
    • Georgi Kodinov's avatar
      Bug #13548161: MYSQLD_SAFE IMPROVEMENTS FOR 5.5 ALLWAYS SETS PLUGIN_DIR · 92d2f60e
      Georgi Kodinov authored
      TO DEFAULT IGNOR
      
      The test in mysqld_safe for the presence of the --plugin-dir and assigning a default
      value to it were performed before the actual argument parsing.
      This is wrong, as PLUGIN_DIR mysqld_safe code also uses MY_BASEDIR_VERSION to 
      look for version specific plugin directory if present.
      Fixed by moving the PLUGIN_DIR logic after the parse_arguments() call.
      92d2f60e
  11. 24 Aug, 2012 1 commit
    • Georgi Kodinov's avatar
      Bug #14181049: MYSQL_INSTALL_DB.PL CREATES EMPTY SYSTEM TABLES FOR MYSQL · 9c227f4f
      Georgi Kodinov authored
      The script is different from what's used on unixes.
      It was not playing the table insertion script (mysql_system_tables_data.sql),
      although it was checking for the presence of this script.
      Fixed by re-enabling the lookup for this file and replaying it at bootstrap
      time. Note that on the Unixes "SELECT @@hostname" does return a fully qualified
      name, whereas on Windows it returns only a hostname.
      So by default we're filtering records in the mysql.user table until we ensure
      this is fixed.
      9c227f4f
  12. 10 Sep, 2012 1 commit
  13. 07 Sep, 2012 6 commits
  14. 05 Sep, 2012 1 commit
  15. 04 Sep, 2012 1 commit
    • Annamalai Gurusami's avatar
      Bug #14500557 CRASH WHEN USING LONG INNODB INDEXES · dde12745
      Annamalai Gurusami authored
      The ha_innobase table handler contained two search key buffers
      (srch_key_val1, srch_key_val2) of fixed size used to store the search
      key.  The size of these buffers where fixed at
      REC_VERSION_56_MAX_INDEX_COL_LEN + 2.  But this size is not sufficient
      to hold the search key.  Hence the following assert in
      row_sel_convert_mysql_key_to_innobase() failed.
      
      2438                 /* Storing may use at most data_len bytes of buf */
      2439 
      2440                 if (UNIV_LIKELY(!is_null)) {
      2441                         ut_a(buf + data_len <= original_buf + buf_len);
      2442                         row_mysql_store_col_in_innobase_format(
      2443                                 dfield, buf,
      2444                                 FALSE, /* MySQL key value format col */
      2445                                 key_ptr + data_offset, data_len,
      2446                                 dict_table_is_comp(index->table));
      2447                         buf += data_len;
      2448                 }
      
      The buffer size is now calculated with the formula
      MAX_KEY_LENGTH + MAX_REF_PARTS*2.  This properly takes into account
      the extra bytes needed to store the length for each column.  An index
      can contain a maximum of MAX_REF_PARTS columns in it, and for each
      column 2 bytes are needed to store length.  
      
      rb://1238 approved by Marko and Vasil Dimov.
      dde12745
  16. 03 Sep, 2012 1 commit
  17. 01 Sep, 2012 1 commit
  18. 31 Aug, 2012 1 commit
  19. 30 Aug, 2012 2 commits
  20. 29 Aug, 2012 1 commit
  21. 28 Aug, 2012 2 commits
  22. 27 Aug, 2012 2 commits
    • mysql-builder@oracle.com's avatar
      No commit message · 4473329c
      mysql-builder@oracle.com authored
      No commit message
      4473329c
    • Aditya A's avatar
      Bug#14145950 AUTO_INCREMENT ON DOUBLE WILL FAIL ON WINDOWS · 6a7bfe8f
      Aditya A authored
      Backport from mysql-5.6 the fix
      (revision-id sunny.bains@oracle.com-20120315045831-20rgfa4cozxmz7kz)
      
        Bug#13839886 - CRASH IN INNOBASE_NEXT_AUTOINC
        
        The assertion introduce in the fix for Bug#13817703 
        is too strong, a negative  number can be greater 
        than the column max value, when the column value is
        a negative number.
        
        rb://978 Approved by Jimmy Yang.
      
      rb:1236 approved by Marko Makela
      6a7bfe8f
  23. 24 Aug, 2012 3 commits
    • hery.ramilison@oracle.com's avatar
      3a88a768
    • Martin Hansson's avatar
      Bug#14498355: Merge · c65ebd79
      Martin Hansson authored
      c65ebd79
    • Ashish Agarwal's avatar
      Bug#14363985: MYSQLD CRASHED WHEN DISABL AND · b4e6a2c6
      Ashish Agarwal authored
                    ENABLE AUDI PLUGIN WHEN DDL
                    OPERATION HAPPENING
      
      PROBLEM: While unloading the plugin, state is
               not checked before it is to be reaped.
               This can lead to simultaneous free of
               plugin memory by more than one thread.
               Multiple deallocation leads to server
               crash. In the present bug two threads
               deallocate the alog_log plugin.
      
      SOLUTION: A check is added to ensure that only
                one thread is unloading the plugin.
      
      NOTE: No mtr test is added as it requires
            multiple threads to access critical
            section. debug_sync cannot be used in
            the current senario because we dont
            have access to thread pointer in
            some of the plugin functions. IMHO no
            test case in the current time frame.
      b4e6a2c6