An error occurred fetching the project authors.
  1. 05 Apr, 2006 1 commit
    • evgen@sunlight.local's avatar
      Fixed bug #16281: Multi-table update broken in 5.0 on tables imported from 4.1 · b9949ed9
      evgen@sunlight.local authored
      Mutli-table uses temporary table to store new values for fields. With the
      new values the rowid of the record to be updated is stored in a Field_string
      field. Table to be updated is set as source table of the rowid field.
      But when the temporary table creates the tmp field for the rowid field it
      converts it to a varstring field because the table to be updated was created by
      the v4.1. Due to this the stored rowids were broken and no records for 
      update were found.
      
      The flag can_alter_field_type is added to Field_string class. When it is set to
      0 the field won't be converted to varstring. The Field_string::type() function 
      now always returns MYSQL_TYPE_STRING if can_alter_field_type is set to 0.
      The multi_update::initialize_tables() function now sets can_alter_field_type
      flag to 0 for the rowid fields denying conversion of the field to a varstring
      field.
      b9949ed9
  2. 27 Feb, 2006 1 commit
  3. 21 Feb, 2006 1 commit
  4. 03 Jan, 2006 1 commit
  5. 07 Dec, 2005 1 commit
    • anozdrin@mysql.com's avatar
      Patch for WL#2894: Make stored routine variables work · 0ff8f60b
      anozdrin@mysql.com authored
      according to the standard.
      
      The idea is to use Field-classes to implement stored routines
      variables. Also, we should provide facade to Item-hierarchy
      by Item_field class (it is necessary, since SRVs take part
      in expressions).
      
      The patch fixes the following bugs:
        - BUG#8702: Stored Procedures: No Error/Warning shown for inappropriate data 
          type matching; 
       
        - BUG#8768: Functions: For any unsigned data type, -ve values can be passed 
          and returned; 
       
        - BUG#8769: Functions: For Int datatypes, out of range values can be passed 
          and returned; 
       
        - BUG#9078: STORED PROCDURE: Decimal digits are not displayed when we use 
          DECIMAL datatype; 
       
        - BUG#9572: Stored procedures: variable type declarations ignored; 
       
        - BUG#12903: upper function does not work inside a function; 
       
        - BUG#13705: parameters to stored procedures are not verified; 
       
        - BUG#13808: ENUM type stored procedure parameter accepts non-enumerated
          data; 
       
        - BUG#13909: Varchar Stored Procedure Parameter always BINARY string (ignores 
          CHARACTER SET); 
       
        - BUG#14161: Stored procedure cannot retrieve bigint unsigned;
      
        - BUG#14188: BINARY variables have no 0x00 padding;
      
        - BUG#15148: Stored procedure variables accept non-scalar values;
      0ff8f60b
  6. 31 Oct, 2005 1 commit
  7. 25 Oct, 2005 1 commit
  8. 13 Oct, 2005 1 commit
  9. 13 Sep, 2005 1 commit
    • monty@mishka.mysql.fi's avatar
      Added option --valgrind-mysqltest to mysql-test-run · f348f62c
      monty@mishka.mysql.fi authored
      Added flag to Field::store(longlong) to specify if value is unsigned.
      This fixes bug #12750: Incorrect storage of 9999999999999999999 in DECIMAL(19, 0)
      Fixed warning from valgrind in CREATE ... SELECT
      Fixed double free of mysql.options if reconnect failed
      f348f62c
  10. 05 Aug, 2005 1 commit
  11. 01 Jul, 2005 1 commit
  12. 30 Jun, 2005 1 commit
    • ramil@mysql.com's avatar
      a fix. · 2eea2f52
      ramil@mysql.com authored
      bug #10617: Insert from same table to same table give incorrect result for bit(4) column.
      bug #11091: union involving BIT: assertion failure in Item::tmp_table_field_from_field_type
      bug #11572: MYSQL_TYPE_BIT not taken care of in temp. table creation for VIEWs 
      2eea2f52
  13. 20 Jun, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      group_by.result: · acc6651d
      igor@rurik.mysql.com authored
        Added  a test case for bug #11385.
      group_by.test:
        Added  a test case for bug #11385.
      field.h:
        Fixed bug #11385.
        The bug was due to not defined method decimals for the class
        Field_datetime.
      acc6651d
  14. 15 Jun, 2005 1 commit
    • igor@rurik.mysql.com's avatar
      cast.result, cast.test: · 316815f4
      igor@rurik.mysql.com authored
        Added test case for bug #11283.
      field.h, field.cc:
        Fixed bug #11283: wrong conversion from varchar to decimal.
        Added methods Field_string::val_decimal,
        Field_varstring::val_decimal, Field_blob::val_decimal.
        They are not inherited from the base class Field_longstr
        anymore.
      316815f4
  15. 26 May, 2005 1 commit
  16. 25 May, 2005 1 commit
  17. 07 May, 2005 1 commit
  18. 05 May, 2005 1 commit
  19. 04 May, 2005 1 commit
  20. 29 Apr, 2005 2 commits
  21. 14 Apr, 2005 1 commit
  22. 12 Apr, 2005 2 commits
  23. 01 Apr, 2005 1 commit
    • monty@mysql.com's avatar
      Invalid DEFAULT values for CREATE TABLE now generates errors. (Bug #5902) · 201ee3eb
      monty@mysql.com authored
      CAST() now produces warnings when casting a wrong INTEGER or CHAR values. This also applies to implicite string to number casts. (Bug #5912)
      ALTER TABLE now fails in STRICT mode if it generates warnings.
      Inserting a zero date in a DATE, DATETIME or TIMESTAMP column during TRADITIONAL mode now produces an error. (Bug #5933)
      201ee3eb
  24. 31 Mar, 2005 1 commit
  25. 28 Mar, 2005 1 commit
  26. 23 Mar, 2005 1 commit
  27. 19 Mar, 2005 1 commit
  28. 16 Mar, 2005 1 commit
  29. 13 Mar, 2005 1 commit
    • konstantin@mysql.com's avatar
      WL#926 "SUM(DISTINCT) and AVG(DISTINCT)": improvement of SUM(DISTINCT) and · 983c75f0
      konstantin@mysql.com authored
       implementation of AVG(DISTINCT) which utilizes the approach with Fields.
      The patch implemented in October is portede to the up-to-date tree 
      containing DECIMAL type.
      Tests for AVG(DISTINCT) (although there is not much to test provided
      that SUM(DISTINCT) works), cleanups for COUNT(DISTINCT) and GROUP_CONCAT()
      will follow in another changeset.
      983c75f0
  30. 28 Feb, 2005 1 commit
  31. 15 Feb, 2005 1 commit
  32. 10 Feb, 2005 1 commit
  33. 08 Feb, 2005 1 commit
  34. 04 Feb, 2005 2 commits
  35. 26 Jan, 2005 1 commit
  36. 21 Jan, 2005 1 commit
    • patg@pc248.lfp.kcls.org's avatar
      -Added quote_data and needs_quotes (moved from federated handler. · 1da60b9f
      patg@pc248.lfp.kcls.org authored
      -New tests and results
      
      logging_ok:
        Logging to logging@openlogging.org accepted
      ha_federated.h:
        removed quote_data and type_quote (now in the Field class)
      ha_federated.cc:
        moved quote_data and type_quote to field class
      field.h:
        new methods quote_data and needs_quotes declared
      field.cc:
        new field class methods quote_data and needs_quotes (per Monty's request)
      federated.test:
        more tests, joins, index tests
      have_federated_db.require:
        new name of federated system var
      federated.result:
        new test results for federated handler
      have_federated_db.inc:
        changed name of variable in test due to change in vars
      sql_analyse.cc:
        over-ridden append_escaped to take (String *, char *, uint) per requirements of 'create_where_from_key' method in federated handler.
      mysql_priv.h:
        define over-ridden append_escaped to take arguments from 'create_where_from_key' method in federated handler 
      ha_federated.cc:
        implemented "create_where_from_key" to deal properly with two-byte prefix and multi keys. Initial testing shows it works, but I still need to move quoting to field class and also look at changes per Segei's suggestions.
      1da60b9f
  37. 18 Jan, 2005 1 commit