An error occurred fetching the project authors.
  1. 08 Feb, 2005 2 commits
    • unknown's avatar
      Precision Math implementation · 91db48e3
      unknown authored
      BitKeeper/etc/ignore:
        Added client/decimal.c client/my_decimal.cc client/my_decimal.h to the ignore list
      91db48e3
    • unknown's avatar
      Better bugfix for "HAVING when refering to RAND()" (Bug #8216) · 63982db9
      unknown authored
      Ensure that references in HAVING, ORDER BY or GROUP BY are calculated after fields in SELECT.
      This will ensure that any reference to these has a valid value.
      Generalized the code for split_sum_func()
      
      
      BitKeeper/etc/ignore:
        added support-files/ndb-config-2-node.ini
      mysql-test/r/group_by.result:
        More complicated test to assure that rand() is only calulated once
      mysql-test/r/user_var.result:
        Back to old results :(  (ok but not perfect)
      mysql-test/t/group_by.test:
        More complicated test to assure that rand() is only calulated once
      sql/item.cc:
        Better bugfix for "HAVING when refering to RAND()"
        This will ensure that when refering to things like RAND() in HAVING through an alias we will not recalculate that rand() value in the HAVING part but use the value in the row
        Generalize split_sum_func()
      sql/item.h:
        Better bugfix for "HAVING when refering to RAND()"
        T
      sql/item_cmpfunc.cc:
        Better bugfix for "HAVING when refering to RAND()"
        Use generalized split_sum_func2() function
      sql/item_func.cc:
        Better bugfix for "HAVING when refering to RAND()"
        Use generalized split_sum_func2() function
      sql/item_row.cc:
        Better bugfix for "HAVING when refering to RAND()"
        Use generalized split_sum_func2() function
      sql/item_strfunc.cc:
        Better bugfix for "HAVING when refering to RAND()"
        Use generalized split_sum_func2() function
      sql/sql_list.h:
        Add functions to concatenate lists
      sql/sql_select.cc:
        Better bugfix for "HAVING when refering to RAND()"
        Ensure that references in HAVING, ORDER BY or GROUP BY are calculated after fields in SELECT.
        This will ensure that any reference to these has a valid value.
      63982db9
  2. 07 Feb, 2005 1 commit
    • unknown's avatar
      Fixed bug in HAVING when refering to RAND() through alias · d6ed8cd7
      unknown authored
      (BUG 8216)
      
      
      mysql-test/r/group_by.result:
        New test case
      mysql-test/r/user_var.result:
        Test changed (to be more correct) with bug fix
      mysql-test/t/group_by.test:
        Added test for HAVING bug
      sql/item_cmpfunc.cc:
        Fixed bug in HAVING when refering to RAND()
      sql/item_func.cc:
        Fixed bug in HAVING when refering to RAND()
      sql/item_row.cc:
        Fixed bug in HAVING when refering to RAND()
      sql/item_strfunc.cc:
        Fixed bug in HAVING when refering to RAND()
      sql/unireg.h:
        Added PSEUDO_TABLES_BITS for easy testing of real table reference
      d6ed8cd7
  3. 13 Dec, 2004 2 commits
    • unknown's avatar
      Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0 · 0e486852
      unknown authored
       * Added Item_ref::set_properties 
       * Item_ref::Item_ref now expects to get in *item either
           NULL - then fix_fields() will be called later  or 
           ptr to Item it will refer to - then an equivalent of fix_fields() call is performed
      
      
      sql/item.cc:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Added Item_ref::set_properties 
         * Adjusted Item_ref::Item_ref calls to match new calling convention
      sql/item.h:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Added Item_ref::set_properties 
         * Item_ref::Item_ref now expects to get in *item either
             NULL - then fix_fields() will be called later or
             ptr to Item it will refer to - then an equivalent of fix_fields() call is performed
      sql/item_cmpfunc.cc:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Adjusted Item_ref::Item_ref calls to match new calling convention
      sql/item_func.cc:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Added Item_ref::set_properties 
         * Adjusted Item_ref::Item_ref calls to match new calling convention
      sql/item_row.cc:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Added Item_ref::set_properties 
         * Adjusted Item_ref::Item_ref calls to match new calling convention
      sql/item_strfunc.cc:
        Merge of fix for BUG#6976 continued: pulling in some Item_ref changes from 5.0
         * Added Item_ref::set_properties 
         * Adjusted Item_ref::Item_ref calls to match new calling convention
      0e486852
    • unknown's avatar
      Merging fix for BUG#6976 from 4.0 to 4.1 · 6d7fe852
      unknown authored
      The problem in 4.1 was the same as in 4.0 - fix_fields() not called for created Item_ref. 
      The fix is similar too - initialize Item_refs in ctor (but don't interfere with cases when 
      Item_ref is used by subselects). 
      
      
      sql/item.cc:
        Fix for BUG#6976 ported from 4.0
      sql/item_cmpfunc.cc:
        Fix for BUG#6976 ported from 4.0
      sql/item_func.cc:
        Fix for BUG#6976 ported from 4.0
      sql/item_row.cc:
        Fix for BUG#6976 ported from 4.0
      sql/item_strfunc.cc:
        Fix for BUG#6976 ported from 4.0
      6d7fe852
  4. 20 Oct, 2004 1 commit
    • unknown's avatar
      errors without code removed · 066c9056
      unknown authored
      net_printf/send_error calls replaced by my_error family functions
      -1/1 (sent/unsent) error reporting removed
      (WL#2133)
      
      
      include/mysqld_error.h:
        new errors added.
      mysql-test/r/rpl_charset.result:
        new error
      mysql-test/r/rpl_timezone.result:
        new error
      mysql-test/r/sp-security.result:
        more clean error message
      mysql-test/r/sp.result:
        now error state intercepted correctly
      mysql-test/t/connect.test:
        new error message
      mysql-test/t/rpl_charset.test:
        new error message
      mysql-test/t/rpl_timezone.test:
        new error
      mysql-test/t/sp-security.test:
        more correct error handling
      mysql-test/t/sp.test:
        now error state intercepted correctly
      sql/ha_innodb.cc:
        -1/1 (sent/unsent) error reporting removed
      sql/ha_innodb.h:
        -1/1 (sent/unsent) error reporting removed
      sql/item.cc:
        only boolean values should be returned by fix_fields()
      sql/item_cmpfunc.cc:
        only boolean values should be returned by fix_fields()
      sql/item_func.cc:
        only boolean values should be returned by fix_fields()
        net_printf/send_error calls replaced by my_error family functions
      sql/item_row.cc:
        only boolean values should be returned by fix_fields()
      sql/item_subselect.cc:
        only boolean values should be returned by fix_fields()
        -1/1 (sent/unsent) error reporting removed
      sql/item_subselect.h:
        -1/1 (sent/unsent) error reporting removed
      sql/item_sum.cc:
        only boolean values should be returned by fix_fields()
      sql/item_timefunc.cc:
        only boolean values should be returned by fix_fields()
      sql/item_uniq.h:
        only boolean values should be returned by fix_fields()
      sql/mysql_priv.h:
        -1/1 (sent/unsent) error reporting removed
      sql/mysqld.cc:
        net_printf/send_error calls replaced by my_error family functions
        changes in my_message_sql to support error handling correctly
      sql/protocol.cc:
        net_printf/send_error calls replaced by my_error family functions
      sql/protocol_cursor.cc:
        net_printf/send_error calls replaced by my_error family functions
      sql/repl_failsafe.cc:
        net_printf/send_error calls replaced by my_error family functions
        -1/1 (sent/unsent) error reporting removed
      sql/repl_failsafe.h:
        -1/1 (sent/unsent) error reporting removed
      sql/set_var.cc:
        net_printf/send_error calls replaced by my_error family functions
      sql/share/czech/errmsg.txt:
        new error messages
      sql/share/danish/errmsg.txt:
        new error messages
      sql/share/dutch/errmsg.txt:
        new error messages
      sql/share/english/errmsg.txt:
        new error messages
      sql/share/estonian/errmsg.txt:
        new error messages
      sql/share/french/errmsg.txt:
        new error messages
      sql/share/german/errmsg.txt:
        new error messages
      sql/share/greek/errmsg.txt:
        new error messages
      sql/share/hungarian/errmsg.txt:
        new error messages
      sql/share/italian/errmsg.txt:
        new error messages
      sql/share/japanese/errmsg.txt:
        new error messages
      sql/share/korean/errmsg.txt:
        new error messages
      sql/share/norwegian-ny/errmsg.txt:
        new error messages
      sql/share/norwegian/errmsg.txt:
        new error messages
      sql/share/polish/errmsg.txt:
        new error messages
      sql/share/portuguese/errmsg.txt:
        new error messages
      sql/share/romanian/errmsg.txt:
        new error messages
      sql/share/russian/errmsg.txt:
        new error messages
      sql/share/serbian/errmsg.txt:
        new error messages
      sql/share/slovak/errmsg.txt:
        new error messages
      sql/share/spanish/errmsg.txt:
        new error messages
      sql/share/swedish/errmsg.txt:
        new error messages
      sql/share/ukrainian/errmsg.txt:
        new error messages
      sql/slave.cc:
        net_printf/send_error calls replaced by my_error family functions
        -1/1 (sent/unsent) error reporting removed
      sql/slave.h:
        -1/1 (sent/unsent) error reporting removed
      sql/sp.cc:
        net_printf/send_error calls replaced by my_error family functions
      sql/sp_head.cc:
        new eror handling support
        net_printf/send_error calls replaced by my_error family functions
      sql/sp_rcontext.cc:
        net_printf/send_error calls replaced by my_error family functions
      sql/sql_acl.cc:
        net_printf/send_error calls replaced by my_error family functions
        -1/1 (sent/unsent) error reporting removed
      sql/sql_acl.h:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_base.cc:
        -1/1 (sent/unsent) error reporting removed
        net_printf/send_error calls replaced by my_error family functions
      sql/sql_class.cc:
        net_printf/send_error calls replaced by my_error family functions
      sql/sql_class.h:
        my_messhage_sql now set/reset query_error flag
      sql/sql_db.cc:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_delete.cc:
        -1/1 (sent/unsent) error reporting removed
        net_printf/send_error calls replaced by my_error family functions
      sql/sql_do.cc:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_error.cc:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_handler.cc:
        -1/1 (sent/unsent) error reporting removed
        net_printf/send_error calls replaced by my_error family functions
      sql/sql_help.cc:
        net_printf/send_error calls replaced by my_error family functions
        -1/1 (sent/unsent) error reporting removed
      sql/sql_insert.cc:
        -1/1 (sent/unsent) error reporting removed
        net_printf/send_error calls replaced by my_error family functions
      sql/sql_lex.h:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_load.cc:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_map.cc:
        errors without code removed
      sql/sql_parse.cc:
        net_printf/send_error calls replaced by my_error family functions
        -1/1 (sent/unsent) error reporting removed from mysql_execute_command
      sql/sql_prepare.cc:
        net_printf/send_error calls replaced by my_error family functions
        -1/1 (sent/unsent) error reporting removed
      sql/sql_repl.cc:
        error messages fixed
        net_printf/send_error calls replaced by my_error family functions
        -1/1 (sent/unsent) error reporting removed
      sql/sql_repl.h:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_select.cc:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_select.h:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_show.cc:
        -1/1 (sent/unsent) error reporting removed
        net_printf/send_error calls replaced by my_error family functions
      sql/sql_table.cc:
        net_printf/send_error calls replaced by my_error family functions
        -1/1 (sent/unsent) error reporting removed
      sql/sql_trigger.cc:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_udf.cc:
        net_printf/send_error calls replaced by my_error family functions
      sql/sql_union.cc:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_update.cc:
        -1/1 (sent/unsent) error reporting removed
        net_printf/send_error calls replaced by my_error family functions
      sql/sql_view.cc:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_view.h:
        -1/1 (sent/unsent) error reporting removed
      sql/sql_yacc.yy:
        net_printf/send_error calls replaced by my_error family functions
      066c9056
  5. 09 Oct, 2004 1 commit
    • unknown's avatar
      A small simplification: perform two actions at once, register a · acecc4dd
      unknown authored
      change, and perform it (the new Item changes registry).
      
      
      sql/item.cc:
        A small simplification: perform two actions at once, register a
        change, and perform it.
      sql/item_cmpfunc.cc:
        register_item_tree_change -> change_item_tree
      sql/item_func.cc:
        register_item_tree_change -> change_item_tree
      sql/item_row.cc:
        register_item_tree_change -> change_item_tree
      sql/item_strfunc.cc:
        register_item_tree_change -> change_item_tree
      sql/sql_class.h:
        register_item_tree_change -> change_item_tree
      sql/sql_select.cc:
        register_item_tree_change -> change_item_tree
      acecc4dd
  6. 08 Oct, 2004 1 commit
    • unknown's avatar
      Deployment of centralized Item change registry, step 2: Item_ref · 166d19e9
      unknown authored
      doesn't need to have it's own recovery mechanism.
      
      
      sql/item.cc:
        Deployment of centralized Item change registry, step 2: Item_ref 
        doesn't need to have it's own recovery mechanism, so it was simplified.
      sql/item.h:
        Deployment of centralized Item change registry, step 2: Item_ref 
        doesn't need to have it's own recovery mechanism, so it was simplified.
      sql/item_cmpfunc.cc:
        - Item::split_sum_func now requires THD
        - use THD::register_item_tree_change
      sql/item_cmpfunc.h:
        - Item::split_sum_func now requires THD
      sql/item_func.cc:
        - Item::split_sum_func now requires THD
        - use THD::register_item_tree_change
      sql/item_func.h:
        - Item::split_sum_func now requires THD
      sql/item_row.cc:
        - Item::split_sum_func now requires THD
        - use THD::register_item_tree_change
      sql/item_row.h:
        - Item::split_sum_func now requires THD
      sql/item_strfunc.cc:
        - Item::split_sum_func now requires THD
        - use THD::register_item_tree_change to register changes in the item
          tree
      sql/item_strfunc.h:
        - Item::split_sum_func now requires THD
      sql/item_subselect.cc:
        - use updated Item_ref constructor
      sql/sql_base.cc:
        - Item::split_sum_func now requires THD
      sql/sql_select.cc:
        - Item::split_sum_func now requires THD
      sql/sql_yacc.yy:
        - use updated Item_ref constructor
      166d19e9
  7. 26 Aug, 2004 1 commit
    • unknown's avatar
      after merge · 82257f94
      unknown authored
      sql/item_row.cc:
        ds20 compat fix
      82257f94
  8. 17 Mar, 2004 1 commit
    • unknown's avatar
      DBUG_ASSERT(fixed == 0) added to fix_fields() · f83cf414
      unknown authored
      sql/item.cc:
        layout fixed
        fixed bug in prepared statements with subqueries and outer references
      sql/item.h:
        neg_transformer get thd argument to call fix_fields
      sql/item_cmpfunc.cc:
        DBUG_ASSERT(fixed == 0) added to fix_fields()
        fixed Item_in_optimizer fixed flag
        neg_arguments(), neg_transformer() call fix_field() on created items to avoid bouble fix field or non-called fixfields()
      sql/item_cmpfunc.h:
        neg_transformer get thd argument to call fix_fields
        fixed forgoten cleanup() call of parent class
      sql/item_func.cc:
        DBUG_ASSERT(fixed == 0) and fixed flag check added to fix_fields()
      sql/item_func.h:
        DBUG_ASSERT(fixed == 0) added to fix_fields()
        fixed forgoten cleanup() call of parent class
      sql/item_row.cc:
        DBUG_ASSERT(fixed == 0) added to fix_fields()
        added forgoten 'fixed' flag set
      sql/item_subselect.cc:
        DBUG_ASSERT(fixed == 0) added to fix_fields()
        fixed subquery transformation
      sql/sql_base.cc:
        check of fixed flag added
      sql/sql_derived.cc:
        fixed cleunup union in derived table during EXPLAIN command processing
      sql/sql_select.cc:
        thd argument add to function to allow call fix_fields() of new created items
        fixed EXPLAIN double preparation
        check of fixed flag added
        eliminate_not_funcs fixed for corrcet fix_fields call of new created items
      sql/sql_select.h:
        thd argument add to function to allow call fix_fields() of new created items
      sql/sql_union.cc:
        union processing fixed
      tests/client_test.c:
        layout fixed
        new test of outer references fron subqueries
      f83cf414
  9. 19 Feb, 2004 1 commit
    • unknown's avatar
      Many files: · c88e5213
      unknown authored
        After review fixes for Item_equal.
      
      
      sql/item.cc:
        After review fixes for Item_equal.
      sql/item.h:
        After review fixes for Item_equal.
      sql/item_cmpfunc.cc:
        After review fixes for Item_equal.
      sql/item_cmpfunc.h:
        After review fixes for Item_equal.
      sql/item_func.h:
        After review fixes for Item_equal.
      sql/item_func.cc:
        After review fixes for Item_equal.
      sql/item_row.cc:
        After review fixes for Item_equal.
      sql/item_row.h:
        After review fixes for Item_equal.
      sql/item_strfunc.h:
        After review fixes for Item_equal.
      sql/opt_range.cc:
        After review fixes for Item_equal.
      sql/sql_list.h:
        After review fixes for Item_equal.
      sql/sql_select.cc:
        After review fixes for Item_equal.
      mysql-test/r/select.result:
        After review fixes for Item_equal.
      mysql-test/r/subselect.result:
        After review fixes for Item_equal.
      c88e5213
  10. 17 Feb, 2004 1 commit
    • unknown's avatar
      revision of fix_fields() calls (BUG2838) · ae7eec92
      unknown authored
      mysql-test/r/subselect.result:
        test suite for BUG#2838
      mysql-test/t/subselect.test:
        test suite for BUG#2838
      sql/item.cc:
        revision of fix_fields() calls
        removed unnecessary variabl, and used correct last parameter of fix_fields()
      sql/item_cmpfunc.cc:
        revision of fix_fields() calls (BUG#2838)
      sql/item_func.cc:
        revision of fix_fields() calls
      sql/item_row.cc:
        changed for efficience (and to be similar for Item_func::fix_fields)
      sql/item_subselect.cc:
        fixed last arguments for fix_fields call
      sql/item_sum.cc:
        layout fixed
        revision of fix_fields() calls
      sql/log_event.cc:
        revision of fix_fields() calls
      sql/set_var.cc:
        revision of fix_fields() calls
      sql/sql_base.cc:
        revision of fix_fields() calls
      sql/sql_class.cc:
        revision of fix_fields() calls
      sql/sql_handler.cc:
        revision of fix_fields() calls
      ae7eec92
  11. 30 Dec, 2003 1 commit
    • unknown's avatar
      Fix for prepared statements · 367ded9f
      unknown authored
      Here i added Item_*::cleanup() functions,
      removed a lot of ~Item_*'s,
      added code to restore order_list and group_list
      
      
      sql/item.cc:
        cleanups methods implemented
        Item_ref constructors changed
      sql/item.h:
        cleanups declared
        Item_ref constructors changed
        some ~Item_* deleted
      sql/item_cmpfunc.cc:
        new Item_ref format
      sql/item_cmpfunc.h:
        saving/restoring of the original arguments added to
        eq and equal functions
      sql/item_func.cc:
        New Item_ref format
      sql/item_func.h:
        destructors removed/changed to 'cleanup()'
      sql/item_row.cc:
        New Item_ref format
      sql/item_row.h:
        ~Item_row -> cleanup()
      sql/item_strfunc.cc:
        new Item_ref format
      sql/item_strfunc.h:
        destructors removed
      sql/item_subselect.cc:
        Item_subselect implementation,
        new Item_ref() format
      sql/item_subselect.h:
        cleanups for subselects declared
      sql/item_sum.cc:
        cleanups implementations
      sql/item_sum.h:
        cleanups declarations
        destructors removed
      sql/mysql_priv.h:
        free_items, cleanup_items exported
      sql/sql_prepare.cc:
        cleanup_items, free_items calls added
        stmt->query_id= thd->query_id restored
        cleanup procedures for group_list and order_list added
      sql/sql_yacc.yy:
        New Item_ref() format
      367ded9f
  12. 27 Nov, 2003 1 commit
    • unknown's avatar
      This ChangeSet Introdices Item_equal. · da566c16
      unknown authored
      The objects of this class represent multiple conjunctive equalities
      in where conditions: =(f1,f2,...fn) <=> f1=f2 and f2= ... and =fn.
      The objects are used to generate new possibale paths to access
      the tables when executing a query.
      They are also used to optimize the execution plan 
      chosen by the optimizer for the query.  
      
      
      sql/item.cc:
        Introduced Item_equal
      sql/item.h:
        Introduced Item_equal.
        Added traverse method.
      sql/item_cmpfunc.cc:
        Introduced Item_equal.
        Added traverse mehtod.
      sql/item_cmpfunc.h:
        Itroduced Item_equal and Item_equal_iterator.
      sql/item_func.cc:
        Added traverse method.
        Introduced Item_equal.
      sql/item_func.h:
        Introduced Item_equal.
        Added traverse method.
      sql/item_row.cc:
        Added traverse method.
      sql/item_row.h:
        Added traverse method.
      sql/item_strfunc.h:
        Added traverse method.
      sql/opt_range.cc:
        Used Item_equal in range analysis.
      sql/opt_sum.cc:
        Introduced Item_equal.
      sql/sql_list.h:
        Added concat and disjoin methods to lists.
        Fixed remove method for lists.
      sql/sql_select.cc:
        Introdiced Item_equal:
          created Item_equal;
          used Item_equal objects to generate new paths to access tables.
          used Item_equal objects to optimize the execution plan chosen by optimizer.
      sql/sql_select.h:
        Introduced Item_equal.
      da566c16
  13. 12 Oct, 2003 1 commit
    • unknown's avatar
      fixed printability of Items (all items except subselects) · 1d17fd7d
      unknown authored
      (SCRUM) (WL#1274)
      
      
      sql/item.cc:
        fixed printability of Items
      sql/item.h:
        fixed printability of Items
      sql/item_cmpfunc.cc:
        fixed printability of Items
      sql/item_cmpfunc.h:
        fixed printability of Items
      sql/item_func.cc:
        fixed printability of Items
      sql/item_func.h:
        fixed printability of Items
      sql/item_geofunc.h:
        added DBUG_ASSERT to catch error in debuging timw
      sql/item_row.cc:
        fixed printability of Items
      sql/item_row.h:
        fixed printability of Items
      sql/item_strfunc.cc:
        fixed printability of Items
      sql/item_strfunc.h:
        fixed printability of Items
      sql/item_sum.cc:
        fixed printability of Items
      sql/item_sum.h:
        fixed printability of Items
      sql/item_timefunc.cc:
        fixed printability of Items
      sql/item_timefunc.h:
        layout fixed
        fixed printability of Items
      sql/item_uniq.h:
        fixed printability of Items
      sql/sql_yacc.yy:
        layout fixed
        correct convertion to String
      1d17fd7d
  14. 06 Oct, 2003 1 commit
    • unknown's avatar
      fixed error names · bd3beb83
      unknown authored
      mysql-test/r/row.result:
        fixed error message as it was suggested by Peter Gulutzan
      mysql-test/r/subselect.result:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/czech/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/danish/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/dutch/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/english/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/estonian/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/french/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/german/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/greek/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/hungarian/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/italian/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/japanese/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/korean/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/norwegian-ny/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/norwegian/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/polish/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/portuguese/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/romanian/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/russian/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/serbian/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/slovak/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/spanish/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/swedish/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      sql/share/ukrainian/errmsg.txt:
        fixed error message as it was suggested by Peter Gulutzan
      bd3beb83
  15. 02 Jul, 2003 1 commit
    • unknown's avatar
      Item tree iterator · 29898afb
      unknown authored
      fixed dependence of items from reduced subquery
      (SCRUM)
      
      
      sql/item.cc:
        fixed dependence of items from reduced subquery
      sql/item.h:
        fixed dependence of items from reduced subquery
        Item tree iterator
      sql/item_cmpfunc.cc:
        Item tree iterator
      sql/item_cmpfunc.h:
        Item tree iterator
      sql/item_func.cc:
        Item tree iterator
      sql/item_func.h:
        Item tree iterator
      sql/item_row.cc:
        Item tree iterator
      sql/item_row.h:
        Item tree iterator
      sql/item_strfunc.h:
        Item tree iterator
      sql/item_subselect.cc:
        Item tree iterator
      29898afb
  16. 01 Jul, 2003 1 commit
    • unknown's avatar
      after review changes (SCRUM) · 585cec05
      unknown authored
      removed outer resolving flag (because of movingtransformation after fix_fields)
      
      
      sql/item.cc:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item.h:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_cmpfunc.cc:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_cmpfunc.h:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_func.cc:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_func.h:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_row.cc:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_row.h:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_strfunc.h:
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_subselect.cc:
        after review changes
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/item_subselect.h:
        after review changes
        removed outer resolving flag (because of movingtransformation after fix_fields)
      sql/mysql_priv.h:
        after review changes
      sql/sql_base.cc:
        after review changes
      sql/sql_lex.cc:
        after review changes
      sql/sql_lex.h:
        after review changes
      sql/sql_select.cc:
        after review changes
      sql/sql_union.cc:
        after review changes
      585cec05
  17. 10 Feb, 2003 1 commit
    • unknown's avatar
      Move tmp_table_used to THD · 96273457
      unknown authored
      Optimize depending sub querys
      Remove valgrind warnings
      
      
      libmysqld/lib_sql.cc:
        Better way to reset errors
      mysql-test/mysql-test-run.sh:
        Remove wrong `
      mysql-test/r/subselect.result:
        Don't use table t1
      mysql-test/t/subselect.test:
        Don't use table t1
      sql/item.cc:
        Indentation fix
      sql/item.h:
        optimize depending sub querys
      sql/item_func.cc:
        Remove warning for uninitalized data
      sql/item_row.cc:
        Remove warning
      sql/item_strfunc.h:
        Fixed memory overrun
      sql/item_subselect.cc:
        Better debugging names
      sql/log_event.cc:
        Move tmp_table_used to THD
      sql/sql_base.cc:
        Move tmp_table_used to THD
      sql/sql_class.cc:
        Move tmp_table_used to THD
      sql/sql_class.h:
        Move tmp_table_used to THD
      sql/sql_lex.cc:
        Move tmp_table_used to THD
      sql/sql_lex.h:
        Move tmp_table_used to THD
      sql/sql_parse.cc:
        Move tmp_table_used to THD
      sql/sql_select.cc:
        optimize depending sub querys
      sql/sql_table.cc:
        Move tmp_table_used to THD
      96273457
  18. 30 Jan, 2003 2 commits
    • unknown's avatar
      fixed bug in determinating uncacheable queries · c7c45bf2
      unknown authored
      new fatal_error interface to assign is_fatal_error and ne.report_error
      commant about Item_row
      
      
      mysql-test/r/subselect.result:
        test of inheritence of uncacheability
      mysql-test/t/subselect.test:
        test of inheritence of uncacheability
      sql/item.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/item_func.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/item_row.cc:
        comment about row
      sql/item_subselect.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
        (message should be sent by allocate routine
      sql/log_event.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/mysqld.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/protocol.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_base.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_class.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_class.h:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_delete.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_insert.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_lex.h:
        fixed bug in determinating uncacheable queries
      sql/sql_parse.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_prepare.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_select.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_show.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_union.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/sql_update.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      sql/thr_malloc.cc:
        new fatal_error interface to assign is_fatal_error and ne.report_error
      c7c45bf2
    • unknown's avatar
      cyclic reference test removed, becouse testing of Item::fixed field apply more strict limitation · a0ddb72d
      unknown authored
      mysql-test/r/subselect.result:
        test of cyclic reference false alarm
      mysql-test/t/subselect.test:
        test of cyclic reference false alarm
      a0ddb72d
  19. 29 Jan, 2003 1 commit
    • unknown's avatar
      fixed row items with group functions · 72e091f0
      unknown authored
      fixed layout
      
      
      BitKeeper/etc/ignore:
        Added stamp-h2 stamp-h3 stamp-h4 to the ignore list
      mysql-test/r/row.result:
        test of row with group function
      mysql-test/t/row.test:
        test of row with group function
      sql/item_cmpfunc.cc:
        added braces according review
      sql/item_func.cc:
        fixed layout
      sql/item_row.cc:
        fixed row item
      sql/item_row.h:
        fixed row items with group functions
      72e091f0
  20. 21 Jan, 2003 1 commit
    • unknown's avatar
      Portability fixes (for windows) · 10e22c34
      unknown authored
      Some changes to the prepared statement protocol to make it easier to use and faster.
      
      
      Makefile.am:
        Fix to make dist to work with cmd-line-utils
      client/mysql.cc:
        Portability fixes
      client/mysqlbinlog.cc:
        Portabiliy fixes and remove usafe of FILE
      configure.in:
        Fix to make dist to work with cmd-line-utils
      heap/_check.c:
        Portability fixes
      include/config-win.h:
        Portability fixes
      include/m_ctype.h:
        Indentation cleanup
      include/my_list.h:
        Portability fixes
      include/mysql.h:
        Cleanup of BIND structure
      include/violite.h:
        Portability fixes
      innobase/dict/dict0dict.c:
        Portability fixes
      innobase/dict/dict0load.c:
        Portability fixes
      innobase/include/os0proc.h:
        Portability fixes (Heikki, please check)
      innobase/os/os0proc.c:
        Portability fixes (Heikki, please check)
      innobase/ut/ut0ut.c:
        Portability fixes
      isam/pack_isam.c:
        Portability fixes
      libmysql/libmysql.c:
        Portability fixes
        Remove obscure usage of the length parameter for prepared statements.
      libmysql/libmysql.def:
        Remove not existing functions
      libmysqld/lib_sql.cc:
        Remove compiler warning
      mysql-test/r/explain.result:
        Fix after merge
      mysql-test/r/join.result:
        Fix after merge
      mysys/my_once.c:
        Portability fix
      mysys/tree.c:
        Portability fixes
      sql/field.cc:
        Portability fixes
      sql/filesort.cc:
        move assert.h to mysql_priv.h
      sql/ha_berkeley.cc:
        move assert.h to mysql_priv.h
      sql/ha_innodb.cc:
        move assert.h to mysql_priv.h
      sql/item.cc:
        move assert.h to mysql_priv.h
        Fixed syntax error
      sql/item_cmpfunc.cc:
        move assert.h to mysql_priv.h
      sql/item_func.cc:
        move assert.h to mysql_priv.h
      sql/item_row.cc:
        move assert.h to mysql_priv.h
      sql/item_strfunc.cc:
        Portability fix
      sql/item_subselect.cc:
        Portability fix
      sql/item_sum.cc:
        move assert.h to mysql_priv.h
      sql/lex.h:
        Portability fix
      sql/lock.cc:
        move assert.h to mysql_priv.h
      sql/log.cc:
        move assert.h to mysql_priv.h
      sql/log_event.cc:
        Portability fix
      sql/mf_iocache.cc:
        move assert.h to mysql_priv.h
      sql/mysql_priv.h:
        move assert.h to mysql_priv.h
      sql/mysqld.cc:
        move assert.h to mysql_priv.h
      sql/opt_range.cc:
        move assert.h to mysql_priv.h
      sql/password.c:
        Portability fix
      sql/protocol.cc:
        move assert.h to mysql_priv.h
      sql/set_var.cc:
        Portability fix
      sql/slave.cc:
        move assert.h to mysql_priv.h
      sql/spatial.cc:
        Portability fix
      sql/sql_acl.cc:
        move assert.h to mysql_priv.h
      sql/sql_base.cc:
        move assert.h to mysql_priv.h
      sql/sql_cache.cc:
        move assert.h to mysql_priv.h
      sql/sql_class.cc:
        move assert.h to mysql_priv.h
      sql/sql_handler.cc:
        move assert.h to mysql_priv.h
      sql/sql_help.cc:
        Removed compiler warning
      sql/sql_lex.cc:
        Portability fix
      sql/sql_lex.h:
        Portability fix
      sql/sql_parse.cc:
        move assert.h to mysql_priv.h
      sql/sql_prepare.cc:
        move assert.h to mysql_priv.h
      sql/sql_repl.cc:
        move assert.h to mysql_priv.h
      sql/sql_select.cc:
        move assert.h to mysql_priv.h
      sql/sql_string.cc:
        Portability fix
      sql/sql_string.h:
        Portability fix
      sql/sql_table.cc:
        move assert.h to mysql_priv.h
      sql/sql_yacc.yy:
        Portability fix
        Remove not accessed code
      strings/ctype-bin.c:
        Portability fix
      strings/ctype-mb.c:
        Portability fix
      strings/ctype.c:
        Portability fix
      tests/client_test.c:
        A
      10e22c34
  21. 07 Jan, 2003 1 commit
    • unknown's avatar
      Fixed that derived tables are properly droped · 64dc734d
      unknown authored
      mysys/my_init.c:
        Move my_once_free() up to not get warnings for this from safemalloc.
      sql/item_row.cc:
        Removed compiler warnings
      sql/sql_select.cc:
        split fix_tables_pointer() into two functions to be able to reuse code
      sql/sql_select.h:
        split fix_tables_pointer() into two functions to be able to reuse code
      64dc734d
  22. 02 Jan, 2003 1 commit
    • unknown's avatar
      post-post-review fix (SCRUM) · 3fe840ee
      unknown authored
      sql/item.cc:
        post-post-review fix
      sql/item_cmpfunc.h:
        post-post-review fix
      sql/item_row.cc:
        post-post-review fix
      sql/item_subselect.cc:
        post-post-review fix
      3fe840ee
  23. 31 Dec, 2002 1 commit
    • unknown's avatar
      postreviews fix (SCRUM related) · cd248a8d
      unknown authored
      reordered Item_row class variables to be sorted by memory size
      
      
      mysql-test/r/subselect.result:
        fix result of subselect test
      sql/item.cc:
        postreviews fix
      sql/item.h:
        postreviews fix
      sql/item_cmpfunc.h:
        postreviews fix
      sql/item_row.cc:
        postreviews fix
      sql/item_row.h:
        reordered class variables to be sorted by memory size
        postreviews fix
      sql/item_strfunc.cc:
        postreviews fix
      sql/item_subselect.cc:
        postreviews fix
      cd248a8d
  24. 25 Dec, 2002 1 commit
    • unknown's avatar
      support of subselect without FROM reducing (SCRUM) · 1dfa625f
      unknown authored
      fixed bug of calling setup_fields without correct lex->current_select pointer in mysql_derived
      more correct creation of reference in Item_field::fix_field
      
      
      mysql-test/r/subselect.result:
        new explain with subselect reduced
      mysql-test/t/subselect.test:
        new explain with subselect reduced
      sql/item.cc:
        support of subselect without FROM reducing
        more correct creation of reference in Item_field::fix_field
      sql/item.h:
        support of subselect without FROM reducing
      sql/item_cmpfunc.cc:
        support of subselect without FROM reducing
      sql/item_cmpfunc.h:
        support of subselect without FROM reducing
      sql/item_func.cc:
        support of subselect without FROM reducing
      sql/item_func.h:
        support of subselect without FROM reducing
      sql/item_row.cc:
        support of subselect without FROM reducing
      sql/item_row.h:
        support of subselect without FROM reducing
      sql/item_strfunc.h:
        fixed layout
        support of subselect without FROM reducing
      sql/item_subselect.cc:
        support of subselect without FROM reducing
      sql/item_subselect.h:
        support of subselect without FROM reducing
      sql/mysql_priv.h:
        reference in Item_field::fix_field related changes
      sql/sql_base.cc:
        reference in Item_field::fix_field related changes
      sql/sql_derived.cc:
        fixed bug of calling setup_fields without correct lex->current_select pointer
      1dfa625f
  25. 19 Dec, 2002 1 commit
    • unknown's avatar
      row IN subselects (SCRUM) · a05b0f08
      unknown authored
      mysql-test/r/subselect.result:
        test of row IN subslect
      mysql-test/t/subselect.test:
        test of row IN subslect
      sql/item.cc:
        New helper Item - reference on item list by number
        cache item for row
      sql/item.h:
        layout fixed 
        New helper Item - reference on item list by number
        cache item for row
      sql/item_cmpfunc.cc:
        changed Item_in_optimizer to be able work with row
      sql/item_cmpfunc.h:
        changed Item_in_optimizer to be able work with row
      sql/item_row.cc:
        Fixed row Item to be compatible with row subselect
      sql/item_row.h:
        Fixed row Item to be compatible with row subselect
      sql/item_subselect.cc:
        changed name of class to corerectly reflex its function
        row IN subselect
      sql/item_subselect.h:
        changed name of class to corerectly reflex its function
        row IN subselect
      sql/sql_class.cc:
        changed name of class to corerectly reflex its function
      sql/sql_class.h:
        changed name of class to corerectly reflex its function
      sql/sql_yacc.yy:
        changed name of class to corerectly reflex its function
      a05b0f08
  26. 10 Dec, 2002 1 commit
    • unknown's avatar
      postreview fix (SCRUM) · 91d3e2b3
      unknown authored
      NULL fixed
      max_length fixed
      layout fixed
      
      
      mysql-test/r/row.result:
        NULL fixed
      mysql-test/t/row.test:
        NULL fixed
      sql/item.cc:
        postreview fix
      sql/item.h:
        postreview fix
      sql/item_cmpfunc.cc:
        layout fix
        postreview fix
        max_length fix
        NULL fixed
      sql/item_cmpfunc.h:
        postreview fix
      sql/item_row.cc:
        NULL fixed
      sql/item_row.h:
        NULL fixed
      sql/sql_class.cc:
        postreview fix
      91d3e2b3
  27. 07 Dec, 2002 1 commit
    • unknown's avatar
      Row item fixing (SCRUM related) · 71622d51
      unknown authored
      Inserted comment
      
      
      sql/item_row.cc:
        Row item fixing
      sql/item_row.h:
        Row item fixing
      sql/sql_select.cc:
        Inserted comment
      71622d51
  28. 29 Nov, 2002 1 commit
    • unknown's avatar
      checking columns of top items · 042c34d8
      unknown authored
      mysql-test/r/row_test.result:
        changed error message (report requestet columns number)
        new tests
      mysql-test/t/row_test.test:
        new tests
      sql/item.h:
        checking columns of wrapper items
      042c34d8
  29. 15 Nov, 2002 1 commit
    • unknown's avatar
      basic row Items (SCRUM) · 3f742831
      unknown authored
      include/mysql_com.h:
        basic row Items
      include/mysqld_error.h:
        more wide error mening
      libmysqld/Makefile.am:
        basic row Items
      mysql-test/r/subselect.result:
        more wide error mening
      sql/Makefile.am:
        basic row Items
      sql/filesort.cc:
        basic row Items
      sql/item.cc:
        basic row Items
      sql/item.h:
        basic row Items
      sql/item_cmpfunc.cc:
        basic row Items
      sql/item_cmpfunc.h:
        basic row Items
      sql/item_func.cc:
        basic row Items
      sql/item_func.h:
        basic row Items
      sql/item_strfunc.cc:
        basic row Items
      sql/item_strfunc.h:
        basic row Items
      sql/item_subselect.cc:
        basic row Items
      sql/item_sum.cc:
        basic row Items
      sql/share/czech/errmsg.txt:
        more wide error mening
      sql/share/danish/errmsg.txt:
        more wide error mening
      sql/share/dutch/errmsg.txt:
        more wide error mening
      sql/share/english/errmsg.txt:
        more wide error mening
      sql/share/estonian/errmsg.txt:
        more wide error mening
      sql/share/french/errmsg.txt:
        more wide error mening
      sql/share/german/errmsg.txt:
        more wide error mening
      sql/share/greek/errmsg.txt:
        more wide error mening
      sql/share/hungarian/errmsg.txt:
        more wide error mening
      sql/share/italian/errmsg.txt:
        more wide error mening
      sql/share/japanese/errmsg.txt:
        more wide error mening
      sql/share/korean/errmsg.txt:
        more wide error mening
      sql/share/norwegian-ny/errmsg.txt:
        more wide error mening
      sql/share/norwegian/errmsg.txt:
        more wide error mening
      sql/share/polish/errmsg.txt:
        more wide error mening
      sql/share/portuguese/errmsg.txt:
        more wide error mening
      sql/share/romanian/errmsg.txt:
        more wide error mening
      sql/share/russian/errmsg.txt:
        more wide error mening
      sql/share/serbian/errmsg.txt:
        more wide error mening
      sql/share/slovak/errmsg.txt:
        more wide error mening
      sql/share/spanish/errmsg.txt:
        more wide error mening
      sql/share/swedish/errmsg.txt:
        more wide error mening
      sql/share/ukrainian/errmsg.txt:
        more wide error mening
      sql/sql_base.cc:
        fix_fields error handling
      sql/sql_lex.cc:
        basic row Items
      sql/sql_select.cc:
        basic row Items
      sql/sql_yacc.yy:
        basic row Items
      3f742831