An error occurred fetching the project authors.
  1. 24 Nov, 2004 1 commit
    • dlenev@brandersnatch.localdomain's avatar
      Fix for bug #5888 "Triggers with nonexistent columns cause packets · d2010746
      dlenev@brandersnatch.localdomain authored
      out of order". (final version)
      
      Now instead of binding Item_trigger_field to TABLE objects during
      trigger definition parsing at table open, we perform pass through
      special list of all such objects in trigger. This allows easily check
      all references to fields in old/new version of row in trigger during
      execution of CREATE TRIGGER statement (this is more courtesy for users
      since we can't check everything anyway).
      We also report that such reference is bad by returning error from
      Item_trigger_field::fix_fields() method (instead of setup_field())
      This means that if trigger is broken we will bark during trigger
      execution instead of trigger definition parsing at table open.
      (i.e. now we allow to open tables with broken triggers).
      d2010746
  2. 23 Nov, 2004 1 commit
  3. 18 Nov, 2004 1 commit
  4. 17 Nov, 2004 1 commit
  5. 16 Nov, 2004 1 commit
  6. 15 Nov, 2004 1 commit
  7. 14 Nov, 2004 1 commit
  8. 13 Nov, 2004 3 commits
  9. 12 Nov, 2004 3 commits
  10. 11 Nov, 2004 1 commit
  11. 10 Nov, 2004 2 commits
    • guilhem@mysql.com's avatar
      WL#1596 "make mysqldump --master-data --single-transaction able to do online... · 6cd218cc
      guilhem@mysql.com authored
      WL#1596 "make mysqldump --master-data --single-transaction able to do online dump of InnoDB AND report reliable
      binlog coordinates corresponding to the dump".
      The good news is that now mysqldump can be used to get an online backup of InnoDB *which works for
      point-in-time recovery and replication slave creation*. Formerly, mysqldump --master-data --single-transaction
      used to call in fact mysqldump --master-data, so the dump was not an online dump (took big lock all time of dump).
      The only lock which is now taken in this patch is at the beginning of the dump: mysqldump does:
      FLUSH TABLES WITH READ LOCK; START TRANSACTION WITH CONSISTENT SNAPSHOT; SHOW MASTER STATUS; UNLOCK TABLES;
      so the lock time is in fact the time FLUSH TABLES WITH READ LOCK takes to return (can be 0 or very long, if
      a table is undergoing a huge update).
      I have done some more minor changes listed in the paragraph of mysqldump.c.
      WL#2237 "WITH CONSISTENT SNAPSHOT clause for START TRANSACTION":
      it's a START TRANSACTION which additionally starts a consistent read on all
      capable storage engine (i.e. InnoDB). So, can serve as a replacement for
      BEGIN; SELECT * FROM some_innodb_table LIMIT 1; which starts a consistent read too. 
      6cd218cc
    • monty@mysql.com's avatar
      More debugging · c7e85ef9
      monty@mysql.com authored
      Print position in normal log for Binlog dump
      c7e85ef9
  12. 07 Nov, 2004 1 commit
    • monty@mysql.com's avatar
      Simpler arena swapping code · b903a129
      monty@mysql.com authored
      Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root.
      This gives us the following benefits:
      - Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases)
      - Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT)
      - We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
      b903a129
  13. 05 Nov, 2004 1 commit
    • bell@sanja.is.com.ua's avatar
      new lock for multiupdate: · 064b0220
      bell@sanja.is.com.ua authored
      - open and create derived tables
      - detect which tables should be locked for write
      - lock and fill derived tables
      some unitialized variables fixed
      064b0220
  14. 03 Nov, 2004 2 commits
    • lars@mysql.com's avatar
      Fix for bug#5551 (Version 4). · 485de9cb
      lars@mysql.com authored
      The idea of the fix is that the administrative statements 
      OPTIMIZE TABLE, REPAIR TABLE and ANALYZE TABLE should not 
      generate binlog errors if there is no errors on the master.
      485de9cb
    • monty@mysql.com's avatar
      Fixes after merge with 4.1 · 47bbf768
      monty@mysql.com authored
      FOUND is not a reserved keyword anymore
      Added Item_field::set_no_const_sub() to be able to mark fields that can't be substituted
      Added 'simple_select' method to be able to quickly determinate if a select_result is a normal SELECT
      Note that the 5.0 tree is not yet up to date: Sanja will have to fix multi-update-locks for this merge to be complete
      47bbf768
  15. 02 Nov, 2004 1 commit
  16. 29 Oct, 2004 1 commit
  17. 26 Oct, 2004 3 commits
    • monty@mysql.com's avatar
      A lot of fixes for prepared statements (PS): · 6fbc869d
      monty@mysql.com authored
      New mysqltest that can run mysqltest with PS
      Added support for ZEROFILL in PS
      Fixed crash when one called mysql_stmt_store_result() without a preceding mysql_stmt_bind_result()
      Updated test cases to support --ps-protocol
      (Some tests are still run using old protocol)
      Fixed crash in PS when using SELECT * FROM t1 NATURAL JOIN t2...
      Fixed crash in PS when using sub queries
      Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever"
      Fixed wrong permissions check in PS and multi-table updates (one could get permission denied for legal quries)
      Fix for PS and SELECT ... PROCEDURE
      Reset all warnings when executing a new PS query
      group_concat(...ORDER BY) didn't work with PS
      Fixed problem with test suite when not using innodb
      6fbc869d
    • bar@mysql.com's avatar
      Bug 6206: ENUMs are not case sensitive even if declared BINARY · a18cee7a
      bar@mysql.com authored
      The same problem with SET columns:
      
      find_set() now executes find_type2() to do charset aware search,
      instead of always using system_charset_info comparison.
      a18cee7a
    • bar@mysql.com's avatar
      Reuse more code: two equal pieces for ENUM and SET where moved · 6c4263ed
      bar@mysql.com authored
      into a function.
      6c4263ed
  18. 25 Oct, 2004 2 commits
  19. 24 Oct, 2004 1 commit
  20. 22 Oct, 2004 7 commits
  21. 21 Oct, 2004 3 commits
  22. 20 Oct, 2004 2 commits