An error occurred fetching the project authors.
  1. 28 Jul, 2006 1 commit
    • sergefp@mysql.com's avatar
      BUG#14940 "MySQL choose wrong index", v.2 · 699291a8
      sergefp@mysql.com authored
      - Make the range-et-al optimizer produce E(#table records after table 
                                                 condition is applied),
      - Make the join optimizer use this value,
      - Add "filtered" column to EXPLAIN EXTENDED to show 
        fraction of records left after table condition is applied
      - Adjust test results, add comments
      699291a8
  2. 07 Jun, 2006 1 commit
  3. 18 May, 2006 1 commit
  4. 12 May, 2006 1 commit
  5. 10 May, 2006 1 commit
  6. 04 May, 2006 1 commit
    • tnurnberg@mysql.com's avatar
      Bug#19025 4.1 mysqldump doesn't correctly dump "auto_increment = [int]" · 5becb110
      tnurnberg@mysql.com authored
      mysqldump / SHOW CREATE TABLE will show the NEXT available value for
      the PK, rather than the *first* one that was available (that named in
      the original CREATE TABLE ... AUTO_INCREMENT = ... statement).
      
      This should produce correct and robust behaviour for the obvious use
      cases -- when no data were inserted, then we'll produce a statement
      featuring the same value the original CREATE TABLE had; if we dump
      with values, INSERTing the values on the target machine should set the
      correct next_ID anyway (and if not, we'll still have our AUTO_INCREMENT =
      ... to do that). Lastly, just the CREATE statement (with no data) for
      a table that saw inserts would still result in a table that new values
      could safely be inserted to).
      
      There seems to be no robust way however to see whether the next_ID
      field is > 1 because it was set to something else with CREATE TABLE
      ... AUTO_INCREMENT = ..., or because there is an AUTO_INCREMENT column
      in  the table (but no initial value was set with AUTO_INCREMENT = ...)
      and then one or more rows were INSERTed, counting up next_ID. This
      means that in both cases, we'll generate an AUTO_INCREMENT =
      ... clause in SHOW CREATE TABLE / mysqldump.  As we also show info on,
      say, charsets even if the user did not explicitly give that info in
      their own CREATE TABLE, this shouldn't be an issue.
      
      As per above, the next_ID will be affected by any INSERTs that have
      taken place, though.  This /should/ result in correct and robust
      behaviour, but it may look non-intuitive to some users if they CREATE
      TABLE ... AUTO_INCREMENT = 1000 and later (after some INSERTs) have
      SHOW CREATE TABLE give them a different value (say, CREATE TABLE
      ... AUTO_INCREMENT = 1006), so the docs should possibly feature a
      caveat to that effect.
      
      It's not very intuitive the way it works now (with the fix), but it's
      *correct*.  We're not storing the original value anyway, if we wanted
      that, we'd have to change on-disk representation?
      
      If we do dump/load cycles with empty DBs, nothing will change.  This
      changeset includes an additional test case that proves that tables
      with rows will create the same next_ID for AUTO_INCREMENT = ... across
      dump/restore cycles.
      
      Confirmed by support as likely solution for client's problem.
      5becb110
  7. 23 Jan, 2006 1 commit
  8. 02 Dec, 2005 1 commit
  9. 01 Dec, 2005 1 commit
  10. 06 Jun, 2005 1 commit
  11. 13 May, 2005 1 commit
  12. 07 Oct, 2004 1 commit
    • dlenev@brandersnatch.localdomain's avatar
      Fix for bug #5915 "ALTER TABLE behaves differently when converting column · 1f549006
      dlenev@brandersnatch.localdomain authored
      to auto_increment in 4.1".
      Now we are enforcing NO_AUTO_VALUE_ON_ZERO mode during ALTER TABLE only
      if we are converting one auto_increment column to another auto_increment
      column (this also includes most common case when we don't do anything
      with such column).
      
      Also now when we convert some column to TIMESTAMP NOT NULL column with
      ALTER TABLE we convert NULL values to current timestamp, (as we do this
      in INSERT). One can still get old behavior by setting system TIMESTAMP
      variable to 0.
      1f549006
  13. 02 Oct, 2004 1 commit
    • monty@mishka.local's avatar
      More fixes for strict mode: · be4ca46f
      monty@mishka.local authored
      More tests.
      Better error messages.
      Fixed bug when checking if we updated all needed columns for INSERT.
      Give an error if we encounter a wrong float value during parsing.
      Don't print DEFAULT for columns without a default value in SHOW CREATE/SHOW FIELDS.
      Fixed UPDATE IGNORE when using STRICT mode.
      be4ca46f
  14. 28 Sep, 2004 1 commit
    • monty@mishka.local's avatar
      Strict mode & better warnings · f2941380
      monty@mishka.local authored
      Under strict mode MySQL will generate an error message if there was any conversion when assigning data to a field.
      Added checking of date/datetime fields.
      If strict mode, give error if we have not given value to field without a default value (for INSERT)
      f2941380
  15. 30 Jul, 2004 2 commits
  16. 22 Jun, 2004 1 commit
  17. 16 Jun, 2004 1 commit
  18. 13 May, 2004 1 commit
  19. 25 Mar, 2004 1 commit
  20. 16 Feb, 2004 1 commit
    • monty@mysql.com's avatar
      After merge fixes · f43093ec
      monty@mysql.com authored
      Added more DBUG statements
      Ensure that we are comparing end space with BINARY strings
      Use 'any_db' instead of '' to mean any database. (For HANDLER command)
      Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
      f43093ec
  21. 19 Dec, 2003 2 commits
  22. 18 Dec, 2003 1 commit
  23. 12 Dec, 2003 1 commit
    • monty@mysql.com's avatar
      Fix autoincrement for signed columns (Bug #1366) · f995a5f4
      monty@mysql.com authored
      Fixed problem with char > 128 in QUOTE() function. (Bug #1868)
      Disable creation of symlinks if my_disable_symlink is set
      Fixed searching of TEXT with end space. (Bug #1651)
      Fixed caching bug in multi-table-update where same table was used twice. (Bug #1711)
      Fixed problem with UNIX_TIMESTAMP() for timestamps close to 0. (Bug #1998)
      Fixed timestamp.test
      f995a5f4
  24. 10 Dec, 2003 1 commit
  25. 30 Oct, 2003 1 commit
  26. 18 Aug, 2003 1 commit
    • monty@mashka.mysql.fi's avatar
      After merge fixes · 4f751216
      monty@mashka.mysql.fi authored
      Use server character set if --default-character-set is not used
      Added convert_string() for more efficient alloc+character-set convert of strings
      4f751216
  27. 28 Jul, 2003 1 commit
  28. 22 Jul, 2003 1 commit
  29. 30 Jun, 2003 1 commit
  30. 15 Jun, 2003 1 commit
  31. 04 Jun, 2003 1 commit
    • monty@narttu.mysql.fi's avatar
      Added SQLSTATE to client/server protocol · 23145cfe
      monty@narttu.mysql.fi authored
      bmove_allign -> bmove_align
      Added OLAP function ROLLUP
      Split mysql_fix_privilege_tables to a script and a .sql data file
      Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
      Added table_alias_charset, for easier --lower-case-table-name handling
      Better SQL_MODE handling (Setting complex options also sets sub options)
      New (faster) assembler string functions for x86
      23145cfe
  32. 30 Apr, 2003 1 commit
  33. 31 Mar, 2003 1 commit
  34. 02 Mar, 2003 1 commit
  35. 08 Oct, 2001 2 commits
    • monty@hundin.mysql.fi's avatar
      Cleanup after last merge · 2f603156
      monty@hundin.mysql.fi authored
      2f603156
    • monty@hundin.mysql.fi's avatar
      Updated manual about embedded version. · 88aff4bf
      monty@hundin.mysql.fi authored
      Speed up column-completion in 'mysql'
      Don't use ISAM if HAVE_ISAM is not defined
      A lot of fixes for the embedded version.  All libraries are now included in libmysqld.a
      Changed arguments to convert_dirname() to make it more general.
      Renamed files in the 'merge' directory to all use a common prefix.
      Don't compile both assembler and C functions on x86
      88aff4bf
  36. 28 Sep, 2001 1 commit
    • sasha@mysql.sashanet.com's avatar
      client/mysqlmanagerc.c · bb66c80a
      sasha@mysql.sashanet.com authored
          added support for quiet
          increased line buffer size
      client/mysqltest.c
          fixed memory leak
          added query logging to result file
          added error message logging to result file
          added enable_query_log/disable_query_log
      mysql-test/mysql-test-run.sh
          converted tests to use mysqlmanager
      
      Updated test results
      bb66c80a
  37. 16 Jul, 2001 1 commit
    • monty@tik.mysql.fi's avatar
      Patch for netBSD · bf9876a1
      monty@tik.mysql.fi authored
      Added warning for tables where the auto_increment key is 0
      Fixed DELETE ... LIMIT 0
      Fixed UPDATE ..LIMIT 0
      bf9876a1