An error occurred fetching the project authors.
  1. 18 Jun, 2007 1 commit
  2. 08 May, 2007 3 commits
  3. 09 Mar, 2007 1 commit
    • guilhem@gbichot3.local's avatar
      Fix for BUG#735 "Prepared Statements: there is no support for Query · eaf7728d
      guilhem@gbichot3.local authored
      Cache".
      WL#1569 "Prepared Statements: implement support of Query Cache".
      Prepared SELECTs did not look up in the query cache, and their results
      were not stored in the query cache. This made them slower than
      non-prepared SELECTs in some cases.
      The fix is to re-use the expanded query (the prepared query where
      "?" placeholders are replaced by their values, at execution time)
      for searching/storing in the query cache.
      It works fine for statements prepared via mysql_stmt_prepare(), which
      are the most commonly used and were the scope of this bugfix and WL.
      It works less fine for statements prepared via the SQL command
      PREPARE...FROM, which are still not using the query cache if they
      have at least one parameter (because then the expanded query contains
      names of user variables, and user variables don't work with the
      query cache, even in non-prepared queries).
      Note that results from prepared SELECTs, which are in the binary
      protocol, and results from normal SELECTs, which are in the text
      protocol, ignore each other in the query cache, because a result in the
      binary protocol should never be served to a SELECT expecting the text
      protocol and vice-versa.
      Note, after this patch, bug 25843 starts applying to query cache
      ("changing default database between PREPARE and EXECUTE of statement
      breaks binlog"), we need to fix it.
      eaf7728d
  4. 14 Feb, 2007 1 commit
  5. 17 Nov, 2006 1 commit
  6. 14 Nov, 2006 1 commit
    • evgen@moonbone.local's avatar
      Bug#20045: Server crash on INSERT ... SELECT ... FROM non-mergeable view · 51983545
      evgen@moonbone.local authored
      The regression is caused by the fix for bug 14767. When INSERT ... SELECT
      used a view in the SELECT list that was not inlined, and there was an 
      active transaction, the server could crash in Query_cache::invalidate.
      
      On INSERT ... SELECT only the table being inserted into is invalidated.
      Thus views that can't be inlined are skipped from invalidation.
      
      The bug manifests itself in two ways so there is 2 test cases.
      One checks that the only the table being inserted into is invalidated.
      And the second one checks that there is no crash on INSERT ... SELECT.
      51983545
  7. 04 Oct, 2006 1 commit
  8. 29 Jul, 2006 1 commit
  9. 20 Jun, 2006 1 commit
    • monty@mysql.com's avatar
      SHOW STATUS does not anymore change local status variables (except... · be269e56
      monty@mysql.com authored
      SHOW STATUS does not anymore change local status variables (except com_show_status). Global status variables are still updated.
      SHOW STATUS are not anymore put in slow query log because of no index usage.
      
      Implemntation done by removing orig_sql_command and moving logic of SHOW STATUS to mysql_excute_command()
      This simplifies code and allows us to remove some if statements all over the code.
      
      Upgraded uc_update_queries[] to sql_command_flags and added more bitmaps to better categorize commands.
      This allowed some overall simplifaction when testing sql_command.
      
      Fixes bugs:
      Bug#10210: running SHOW STATUS increments counters it shouldn't
      Bug#19764: SHOW commands end up in the slow log as table scans
      be269e56
  10. 02 May, 2006 1 commit
  11. 26 Feb, 2006 1 commit
  12. 24 Feb, 2006 1 commit
  13. 26 Jan, 2006 1 commit
  14. 24 Jan, 2006 1 commit
  15. 04 Jan, 2006 1 commit
  16. 01 Dec, 2005 1 commit
  17. 23 Nov, 2005 1 commit
    • monty@mysql.com's avatar
      Table definition cache, part 2 · e42c9809
      monty@mysql.com authored
      The table opening process now works the following way:
      - Create common TABLE_SHARE object
      - Read the .frm file and unpack it into the TABLE_SHARE object
      - Create a TABLE object based on the information in the TABLE_SHARE
        object and open a handler to the table object
      
      Other noteworthy changes:
      - In TABLE_SHARE the most common strings are now LEX_STRING's
      - Better error message when table is not found
      - Variable table_cache is now renamed 'table_open_cache'
      - New variable 'table_definition_cache' that is the number of table defintions that will be cached
      - strxnmov() calls are now fixed to avoid overflows
      - strxnmov() will now always add one end \0 to result
      - engine objects are now created with a TABLE_SHARE object instead of a TABLE object.
      - After creating a field object one must call field->init(table) before using it
      
      - For a busy system this change will give you:
       - Less memory usage for table object
       - Faster opening of tables (if it's has been in use or is in table definition cache)
       - Allow you to cache many table definitions objects
       - Faster drop of table
      e42c9809
  18. 29 Sep, 2005 1 commit
  19. 06 Sep, 2005 1 commit
  20. 04 Aug, 2005 1 commit
  21. 29 Jul, 2005 1 commit
  22. 28 Jul, 2005 1 commit
  23. 23 Jul, 2005 1 commit
  24. 27 Jun, 2005 1 commit
  25. 23 Jun, 2005 1 commit
  26. 14 Jun, 2005 1 commit
  27. 10 Apr, 2005 1 commit
  28. 01 Apr, 2005 1 commit
  29. 11 Mar, 2005 1 commit
  30. 08 Mar, 2005 1 commit
  31. 30 Dec, 2004 1 commit
  32. 21 Oct, 2004 1 commit
  33. 10 Sep, 2004 1 commit
  34. 30 Mar, 2004 1 commit
  35. 04 Mar, 2004 1 commit
  36. 09 Feb, 2004 1 commit
    • monty@mysql.com's avatar
      Added --compact to mysqlbinlog · 06432eac
      monty@mysql.com authored
      Fixed output from mysqlbinlog when using --skip-comments
      Fixed warnings from valgrind
      Fixed ref_length when used with HEAP tables
      More efficent need_conversion()
      Fixed error handling in UPDATE with not updateable tables
      Fixed bug in null handling in CAST to signed/unsigned
      06432eac
  37. 10 Dec, 2003 1 commit
  38. 04 Dec, 2003 1 commit