1. 26 Apr, 2006 4 commits
  2. 25 Apr, 2006 8 commits
    • unknown's avatar
      Fix compile failure on Win32 · d72238fc
      unknown authored
      d72238fc
    • unknown's avatar
      merged · d33cb4a3
      unknown authored
      d33cb4a3
    • unknown's avatar
      buffer overflow and information exposure bugs fixed · 745a9db3
      unknown authored
      (reported by Stefano Di Paola)
      
      745a9db3
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 2ca8bbd6
      unknown authored
      into mysql.com:/home/psergey/mysql-5.0-bug15827-r2
      
      2ca8bbd6
    • unknown's avatar
      BUG#15872: Don't run the range analyzer on "t1.keypart NOT IN (const1, ..., )", as that consumes · ccf8af40
      unknown authored
      too much memory. Instead, either create the equvalent SEL_TREE manually, or create only two ranges that
      strictly include the area to scan
      (Note: just to re-iterate: increasing NOT_IN_IGNORE_THRESHOLD will make optimization run slower for big 
      IN-lists, but the server will not run out of memory. O(N^2) memory use has been eliminated)
      
      
      mysql-test/r/func_in.result:
        Testcase for BUG#15872
      mysql-test/t/func_in.test:
        Testcase for BUG#15872
      sql/item.cc:
        BUG#15872: Added Item_decimal::set_decimal_value()
      sql/item.h:
        UG#15872: Added Item_decimal::set_decimal_value()
      sql/item_cmpfunc.h:
        BUG#15872: Added in_vector::create_item(), in_vector::value_to_item() and their implementations in concrete
        classes.
      sql/opt_range.cc:
        BUG#15872: Don't run the range analyzer on "t1.keypart NOT IN (const1, ..., )", as that 
        consumes too much memory. Instead, either 
         A) create the equivalent SEL_TREE manually, making use of the fact that item_not_in->array
            has an ordered IN-list, or
         B) create only two ranges: (-inf|NULL) < X < min_value_from_in_list,  max_value_from_in_list < X
        (Choose #B if the IN-list has > 10K elements)
      ccf8af40
    • unknown's avatar
      BUG#19340 small leak in ndbd · 5257dded
      unknown authored
      small cleanup fixes in kernel/vm/Configuration
      
      
      ndb/src/kernel/vm/Configuration.cpp:
        clean up m_logLevel
        
        free the connectstring if we allocated one
      5257dded
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0 · d71a03a0
      unknown authored
      into  mysql.com:/usr/local/home/marty/MySQL/mysql-5.0
      
      d71a03a0
    • unknown's avatar
      Fixed memleak detected by valgrind · 1b32d678
      unknown authored
      1b32d678
  3. 24 Apr, 2006 10 commits
  4. 23 Apr, 2006 11 commits
    • unknown's avatar
      Merge mysql.com:/usr_rh9/home/elkin.rh9/MySQL/BARE/4.1 · 7b9d7b00
      unknown authored
      into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.0
      
      
      sql/sql_base.cc:
        manual merge use local
      7b9d7b00
    • unknown's avatar
      Merge mysql.com:/net/nb/home/elkin/MySQL/FIXES/5.0-bug17263-temp_drop · 140ac3b8
      unknown authored
      into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.0
      
      
      mysql-test/r/rpl_temporary.result:
        Auto merged
      mysql-test/t/rpl_temporary.test:
        Auto merged
      sql/sql_base.cc:
        Auto merged
      140ac3b8
    • unknown's avatar
      Bug#17263 temporary tables and replication · ca736be3
      unknown authored
      The fix refines the algorithm of generating DROPs for binlog. 
      Temp tables with common pseudo_thread_id are clustered into one query. 
      Consequently one replication event per pseudo_thread_id is generated.
      
      
      mysql-test/r/rpl_temporary.result:
        results
      mysql-test/t/rpl_temporary.test:
        Creating temp tables associated with a set of pseudo_thread_id values within a connection.
        The aim is to see that slave digest master's binlog consisting of DROP temprorary tables.
      sql/sql_base.cc:
        close_temporary_tables is rewritten to generate sequence of DROP temprorary tables with common preudo_thread_id stored in temp table definition.
      ca736be3
    • unknown's avatar
      Bug#17263: incorrect DROP query in temporary tables replication · 8f51b7c6
      unknown authored
      accounting non-ai32 in tmpkeyval. This changeset is supposed to be specifically for 4.1.
      Another changeset is going to push into 5. 
      
      
      sql/sql_base.cc:
        correction due to uint4korr definition: can not sizeof on not ia32.
      8f51b7c6
    • unknown's avatar
      manual merge use local · b1f080d2
      unknown authored
      b1f080d2
    • unknown's avatar
      Merge mysql.com:/usr_rh9/home/elkin.rh9/MySQL/BARE/4.1 · 7535362e
      unknown authored
      into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.0
      
      
      mysql-test/r/rpl_temporary.result:
        manual merge use local
      7535362e
    • unknown's avatar
      Merge mysql.com:/usr_rh9/home/elkin.rh9/MySQL/BARE/4.1 · d99fb66b
      unknown authored
      into  mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.0
      
      
      mysql-test/t/func_compress.test:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      d99fb66b
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-5.0-root · 982bc7be
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-runtime-merge
      
      
      sql/item_func.cc:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      982bc7be
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-5.0 · 39890a8f
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0
      
      
      mysql-test/r/innodb.result:
        SCCS merged
      mysql-test/t/innodb.test:
        SCCS merged
      39890a8f
    • unknown's avatar
      Bug#17263 temporary tables and replication · 96bc42aa
      unknown authored
        Backporting a changeset made for 5.0. Comments from there:
      
        The fix refines the algorithm of generating DROPs for binlog.
        Temp tables with common pseudo_thread_id are clustered into one query.
        Consequently one replication event per pseudo_thread_id is generated.
      
      
      
      
      mysql-test/r/rpl_temporary.result:
        results changed
      mysql-test/t/rpl_temporary.test:
        test to generate problematic drop in binlog to feed it to restarting slave
        to see no stop.
      sql/sql_base.cc:
        change in drop temprorary tables alg in close_temporary_tables.
      96bc42aa
    • unknown's avatar
      Merge aivanov@bk-internal.mysql.com:/home/bk/mysql-4.1 · 3b716d44
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-4.1
      
      3b716d44
  5. 22 Apr, 2006 2 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime · 8030bfd4
      unknown authored
      into  mysql.com:/home/dlenev/mysql-5.0-bg15153-2
      
      8030bfd4
    • unknown's avatar
      Fix for bug#15153 "CONVERT_TZ() is not allowed in all places in VIEWs". · fed9d199
      unknown authored
      Error was emitted when one tried to select information from view which used
      merge algorithm and which also had CONVERT_TZ() function in its select list.
      
      This bug was caused by wrong assumption that global table list for view
      which is handled using merge algorithm begins from tables belonging to
      the main select of this view. Nowadays the above assumption is not true only
      when one uses convert_tz() function in view's select list, but in future
      other cases may be added (for example we may support merging of views
      with subqueries in select list one day). Relying on this false assumption
      led to the usage of wrong table list for field lookups and therefor errors. 
      
      With this fix we explicitly use pointer to the beginning of main select's
      table list.
      
      
      mysql-test/r/timezone_grant.result:
        Added additional test case for bug#15153 "CONVERT_TZ() is not allowed in
        all places in VIEWs" that checks that usage of CONVERT_TZ() function in view
        does not require additional privileges.
      mysql-test/r/view.result:
        Added test case for bug#15153 "CONVERT_TZ() is not allowed in all places in 
        VIEWs".
      mysql-test/t/timezone_grant.test:
        Added additional test case for bug#15153 "CONVERT_TZ() is not allowed in
        all places in VIEWs" that checks that usage of CONVERT_TZ() function in view
        does not require additional privileges.
      mysql-test/t/view.test:
        Added test case for bug#15153 "CONVERT_TZ() is not allowed in all places in 
        VIEWs".
      sql/sql_view.cc:
        mysql_make_view():
          We should not assume that global table list for view which is handled using
          merge algorithm begins from tables belonging to the main select of this
          view. Nowadays the above assumption is not true only when one uses
          convert_tz() function in view's select list, but in future other cases
          may be added (for example we may support merging of views with subqueries
          in select list one day). So let us instead explicitly use pointer to the
          beginning of main select's table list.
      fed9d199
  6. 21 Apr, 2006 5 commits