An error occurred fetching the project authors.
  1. 18 May, 2006 1 commit
  2. 15 May, 2006 1 commit
  3. 14 May, 2006 1 commit
  4. 12 May, 2006 1 commit
  5. 09 May, 2006 2 commits
    • aelkin@mysql.com's avatar
      BUG#14157: utf8 encoding in binlog without set character_set_client e.g DROP temporary · 226d978a
      aelkin@mysql.com authored
      Binlog lacks encoding info about DROPped temporary table.
      
      Idea of the fix is to switch temporary to system_charset_info when a temporary table
      is DROPped for binlog. Since that is the server, that automatically, but not the client, who generates the query
      the binlog should be updated on the server's encoding for the coming DROP.
      The `write_binlog_with_system_charset()' is introduced to replace similar problematic places in the code.
      226d978a
    • dlenev@mysql.com's avatar
      Fix for bugs#12472/#15137 'CREATE TABLE ... SELECT ... which explicitly · 589daad1
      dlenev@mysql.com authored
      or implicitly uses stored function gives "Table not locked" error'
      
      CREATE TABLE ... SELECT ... statement which was explicitly or implicitly
      (through view) using stored function gave "Table not locked" error.
      
      The actual bug resides in the current locking scheme of CREATE TABLE SELECT
      code, which first opens and locks tables of the SELECT statement itself,
      and then, having SELECT tables locked, creates the .FRM, opens the .FRM and
      acquires lock on it. This scheme opens a possibility for a deadlock, which
      was present and ignored since version 3.23 or earlier. This scheme also
      conflicts with the invariant of the prelocking algorithm -- no table can
      be open and locked while there are tables locked in prelocked mode.
      
      The patch makes an exception for this invariant when doing CREATE TABLE ...
      SELECT, thus extending the possibility of a deadlock to the prelocked mode.
      We can't supply a better fix in 5.0.
      589daad1
  6. 05 May, 2006 1 commit
  7. 25 Apr, 2006 1 commit
  8. 24 Apr, 2006 1 commit
  9. 23 Apr, 2006 4 commits
  10. 19 Apr, 2006 3 commits
  11. 16 Apr, 2006 2 commits
  12. 29 Mar, 2006 2 commits
    • monty@mysql.com's avatar
      Remove compiler warnings · cbd420a0
      monty@mysql.com authored
      Add missing DBUG_RETURN
      Fixed stack overflow in NdbBlob (found by ndb_gis.test)
      Fixed access to freed memory in ndb_cluster_real_free_share()
      cbd420a0
    • monty@mysql.com's avatar
      Fixed compiler and valgrind warnings · 1994ed49
      monty@mysql.com authored
      Added missing DBUG_xxx_RETURN statements
      Fixed some usage of not initialized variables (as found by valgrind)
      Ensure that we don't remove locked tables used as name locks from open table cache until unlock_table_names() are called.
      This was fixed by having drop_locked_name() returning any table used as a name lock so that we can free it in unlock_table_names()
      This will allow Tomas to continue with his work to use namelocks to syncronize things.
      
      Note: valgrind still produces a lot of warnings about using not initialized code and shows memory loss errors when running the ndb tests
      1994ed49
  13. 28 Mar, 2006 1 commit
  14. 24 Mar, 2006 1 commit
    • pappa@c-8808e253.1238-1-64736c10.cust.bredbandsbolaget.se's avatar
      WL 2826: Error handling of ALTER TABLE for partitioning · f8088c18
      Loads of review comments fixed
      inactivate => deactivate
      table log => ddl log
      Commented on Error Inject Module added
      Put various #defines into enums
      Fixed abort_and_upgrade_lock, removed unnecessary parameter
      Fixed mysqlish method intro's
      Fixed warning statements
      5.1.7 was released still with partition states in clear text
      
      Fixed io_size bug
      Fixed bug in open that TRUNCATED before reading :)
      file_entry => file_entry_buf
      Don't open DDL log until first write call to DDL log
      handler_type => handler_name
      no => num
      f8088c18
  15. 09 Mar, 2006 1 commit
  16. 03 Mar, 2006 1 commit
  17. 02 Mar, 2006 1 commit
    • timour@mysql.com's avatar
      Fix for BUG#15229. · 103604ed
      timour@mysql.com authored
      The cause of this bug was a design flaw due to which the list of natural
      join columns was incorrectly computed and stored for nested joins that
      are not natural joins, but are operands (possibly indirect) of nested joins.
      
      The patch corrects the flaw in a such a way, that the result columns of a
      table reference are materialized only if it is a leaf table (that is, only
      if it is a view, stored table, or natural/using join).
      103604ed
  18. 01 Mar, 2006 1 commit
  19. 27 Feb, 2006 1 commit
  20. 25 Feb, 2006 2 commits
    • guilhem@mysql.com's avatar
      WL#2977 and WL#2712 global and session-level variable to set the binlog format (row/statement), · 00717495
      guilhem@mysql.com authored
      and new binlog format called "mixed" (which is statement-based except if only row-based is correct,
      in this cset it means if UDF or UUID is used; more cases could be added in later 5.1 release):
      SET GLOBAL|SESSION BINLOG_FORMAT=row|statement|mixed|default;
      the global default is statement unless cluster is enabled (then it's row) as in 5.1-alpha.
      It's not possible to use SET on this variable if a session is currently in row-based mode and has open temporary tables (because CREATE
      TEMPORARY TABLE was not binlogged so temp table is not known on slave),  or if NDB is enabled (because
      NDB does not support such change on-the-fly, though it will later), of if in a stored function (see below).
      The added tests test the possibility or impossibility to SET, their effects, and the mixed mode,
      including in prepared statements and in stored procedures and functions.
      Caveats:
      a) The mixed mode will not work for stored functions: in mixed mode, a stored function will
      always be binlogged as one call and in a statement-based way (e.g. INSERT VALUES(myfunc()) or SELECT myfunc()).
      b) for the same reason, changing the thread's binlog format inside a stored function is
      refused with an error message.
      c) the same problems apply to triggers; implementing b) for triggers will be done later (will ask
      Dmitri).
      Additionally, as the binlog format is now changeable by each user for his session, I remove the implication
      which was done at startup, where row-based automatically set log-bin-trust-routine-creators to 1
      (not possible anymore as a user can now switch to stmt-based and do nasty things again), and automatically
      set --innodb-locks-unsafe-for-binlog to 1 (was anyway theoretically incorrect as it disabled
      phantom protection).
      Plus fixes for compiler warnings.
      00717495
    • monty@mysql.com's avatar
      Fixed compiler warnings from gcc 4.0.2: · 54274976
      monty@mysql.com authored
      - Added empty constructors and virtual destructors to many classes and structs
      - Removed some usage of the offsetof() macro to instead use C++ class pointers
      54274976
  21. 24 Feb, 2006 1 commit
  22. 23 Feb, 2006 2 commits
  23. 16 Feb, 2006 2 commits
    • dlenev@mysql.com's avatar
      Fix for bug #16593 "Deadlock or crash in stress test for case where · 4a41a00d
      dlenev@mysql.com authored
      trigger starts trigger".
      
      In short, the deadlock/crash happened when execution of statement, which used
      stored functions or activated triggers, coincided with alteration of the
      tables used by these functions or triggers (in highly concurrent environment).
      
      Bug was caused by the incorrect handling of tables from prelocked set in
      open_tables() functions in situations when refresh happened. This fix replaces
      old smart but not very robust way of handling tables after refresh (which was
      closing only old tables), with new one which simply closes all tables opened so
      far and restarts open_tables().
      Also fixed handling of temporary tables in close_tables_for_reopen().
      
      No test case present since bug manifests itself only in concurrent environment.
      4a41a00d
    • mats@mysql.com's avatar
      WL#3023 (Use locks in a statement-like manner): · 2884408c
      mats@mysql.com authored
        Table maps are now written on aquiring locks to tables and released
        at the end of each logical statement.
      2884408c
  24. 15 Feb, 2006 1 commit
  25. 13 Feb, 2006 1 commit
  26. 08 Feb, 2006 2 commits
  27. 03 Feb, 2006 1 commit
  28. 25 Jan, 2006 1 commit