An error occurred fetching the project authors.
  1. 31 Oct, 2003 1 commit
  2. 01 Oct, 2003 1 commit
    • unknown's avatar
      Fix for #1430 · e1108c02
      unknown authored
      there was an error about sendind prepared parameters to the server
      
      
      libmysqld/lib_sql.cc:
        parameter's length added as a parameter
      sql/ha_berkeley.cc:
        these lines sometimes crashes in embedded library
        so i #ifdef-ed it
      sql/item.h:
        add the data_len parameter in the embedded case
      sql/sql_prepare.cc:
        i added macroses to make headers of store_param_xxx functions
        they have different number of parameters in standalone an embedded servers
        also get_param_length now is implemented differently in embedded server
      e1108c02
  3. 22 Sep, 2003 1 commit
    • unknown's avatar
      - Polished mysql-copyright a bit and added call to remove · be66b2e1
      unknown authored
         cmd-line-utils/readline from the commercial distribution
       - fixed some copyright headers so mysql-copyright can process them
      
      
      Build-tools/mysql-copyright:
         - remove the cmd-line-utils/readline directory from the commercial
           distribution
         - make use of more builtin Perl functions instead of forking 
           subprocesses
      include/my_pthread.h:
         - fixed copyright header
      sql/filesort.cc:
         - fixed copyright header
      sql/gen_lex_hash.cc:
         - fixed copyright header
      sql/item.h:
         - fixed copyright header
      sql/item_cmpfunc.cc:
         - fixed copyright header
      sql/records.cc:
         - fixed copyright header
      be66b2e1
  4. 02 Sep, 2003 1 commit
    • unknown's avatar
      fixed BUG#1180 (changing WHERE clause of prepared statements by optimisation) · 313fee35
      unknown authored
      sql/item.h:
        constructor and method for aloning AND/OR structure of WHERE clause
      sql/item_cmpfunc.cc:
        constructor and method for aloning AND/OR structure of WHERE clause
      sql/item_cmpfunc.h:
        constructor and method for aloning AND/OR structure of WHERE clause
      sql/item_func.cc:
        constructor for aloning AND/OR structure of WHERE clause
      sql/item_func.h:
        constructor for aloning AND/OR structure of WHERE clause
      sql/sql_lex.cc:
        field for saving WHERE root
      sql/sql_lex.h:
        field for saving WHERE root
      sql/sql_prepare.cc:
        saving WHERE root
        creating new AND/OR structure before executing prepared statement
      tests/client_test.c:
        test suite for bug #1180
      313fee35
  5. 29 Aug, 2003 1 commit
  6. 27 Aug, 2003 1 commit
    • unknown's avatar
      fixed bug #910 (right type of ifnull function) · f6f23208
      unknown authored
      mysql-test/r/create.result:
        added test for bug #910 (right type of ifnull function)
      mysql-test/t/create.test:
        added test for bug #910 (right type of ifnull function)
      sql/field.h:
        added new constructors of Field_decimal, Field_tiny, Field_short, Field_float,
        Field_null, Field_year
        for using in Item::tmp_table_field_from_field_type
      sql/item.cc:
        added Item::tmp_table_field_from_field_type
      sql/item.h:
        added Item::tmp_table_field_from_field_type
      f6f23208
  7. 23 Aug, 2003 1 commit
    • unknown's avatar
      fixed bug of lack of fix_fields call (after merge bugfix (SCRUM)) · 07b50407
      unknown authored
      fixed bug in Item_sum
      fixed bug in dependence remover
      after merge fix
      
      
      mysql-test/r/subselect.result:
        after merge fix
      mysql-test/r/union.result:
        new test
      mysql-test/t/subselect.test:
        after merge fix
      mysql-test/t/union.test:
        new test
      sql/item.cc:
        fixed returned value
      sql/item.h:
        fixed flag dropper
        (I was not able to find Item whicj need more to be fix_fielded twice)
      sql/item_subselect.h:
        fixed initialisation
      sql/item_sum.cc:
        fixed absence of walk method of Item_sum
      sql/item_sum.h:
        fixed absence of walk method of Item_sum
      sql/mysql_priv.h:
        setup_fields reverter
      sql/sql_base.cc:
        setup_fields reverter
      sql/sql_derived.cc:
        fixed bug of lack of fix_fields call
      sql/sql_union.cc:
        fixed bug of lack of fix_fields call
      07b50407
  8. 21 Aug, 2003 1 commit
  9. 16 Aug, 2003 1 commit
    • unknown's avatar
      Code cleanup · c62cd144
      unknown authored
      sql/item.cc:
        As far as now transformer called after setup_wild() it is impossible to have '*' Item
      sql/item.h:
        As far as now transformer called after setup_wild() it is impossible to have '*' Item
      sql/item_subselect.cc:
        replaced Item_ref_on_list_position (which need erly ref_array initialisation)
      sql/mysql_priv.h:
        setup_ref_array moved to st_select_lex class
      sql/sql_delete.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_derived.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_lex.cc:
        removed double initialisation
        select_n_having_items moved to any query initializations, because it used in setup_ref_array method
        setup_ref_array moved to st_select_lex class
      sql/sql_lex.h:
        setup_ref_array moved to st_select_lex class
      sql/sql_select.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_table.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_union.cc:
        setup_ref_array moved to st_select_lex class
      sql/sql_update.cc:
        setup_ref_array moved to st_select_lex class
      c62cd144
  10. 15 Aug, 2003 1 commit
  11. 11 Aug, 2003 2 commits
    • unknown's avatar
      fixed collation of Item_cache family (BUG#951) · 086d2b75
      unknown authored
      mysql-test/r/subselect.result:
        test of collation
      mysql-test/t/subselect.test:
        test of collation
      sql/item.cc:
        coping collation in the cache
      sql/item.h:
        coping collation in the cache
      086d2b75
    • unknown's avatar
      Fix: create table t1 (a char(10) character set cp1251) SELECT _koi8r'blabla' as a · bddc6175
      unknown authored
      The above query created a field of koi8r charset, not cp1251
      
      Change:
      CREATE TABLE a (a CHAR(1) CHARACTER SET utf8) 
      Length now means character length, not byte length.
      The above creates a field that guarantees can store a multibyte value
      1 character long. For utf8 the above creates a field that can store
      3 bytes.
      
      bddc6175
  12. 05 Aug, 2003 1 commit
  13. 29 Jul, 2003 1 commit
    • unknown's avatar
      count HAVING clause elements with select list elements, because agregate... · 5cd3915f
      unknown authored
      count HAVING clause elements with select list elements, because agregate function can be present in it (BUG#922)
      removerd unused loop_id
      
      
      mysql-test/r/subselect.result:
        test of BUG#922
      mysql-test/t/subselect.test:
        test of BUG#922
      sql/item.cc:
        removerd unused loop_id
        we need count HAVING clause elements, because agregate function can be present in it
      sql/item.h:
        removerd unused loop_id
      sql/item_subselect.cc:
        new name of field
      sql/sql_derived.cc:
        new name of field
      sql/sql_lex.cc:
        new name of field
      sql/sql_lex.h:
        new name of field
      sql/sql_select.cc:
        new name of field
      sql/sql_union.cc:
        new name of field
      5cd3915f
  14. 20 Jul, 2003 1 commit
    • unknown's avatar
      bug #715: SELECT YEAR+0 FROM foobar is parsed as 'SELECT' 'YEAR' '+0' => syntax error · e153a19f
      unknown authored
      mysql-test/r/bigint.result:
        test results updated
      mysql-test/r/type_decimal.result:
        test results updated
      mysql-test/t/bigint.test:
        new tests added
      mysql-test/t/type_decimal.test:
        error numbers updated
      sql/item.h:
        round(9999999999999999999) fixed
      sql/sql_yacc.yy:
        bug #715: SELECT YEAR+0 FROM foobar is parsed as 'SELECT' 'YEAR' '+0'   => syntax error
        unary '+' added
      e153a19f
  15. 02 Jul, 2003 2 commits
    • unknown's avatar
      475e0a9f
    • unknown's avatar
      Item tree iterator · 7644ca44
      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
      7644ca44
  16. 01 Jul, 2003 1 commit
    • unknown's avatar
      after review changes (SCRUM) · b4a58234
      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
      b4a58234
  17. 26 Jun, 2003 2 commits
    • unknown's avatar
      Item::str_value can't be used for storing value · 21fc702e
      unknown authored
      (fixed error in Item_cache_str)
      
      
      sql/item.cc:
        Item::str_value can't be used for storing value
      sql/item.h:
        Item::str_value can't be used for storing value
      21fc702e
    • unknown's avatar
      LEFT JOIN optimization: Change LEFT JOIN to normal join if possible · fc8d108f
      unknown authored
      mysql-test/r/select.result:
        Added test for LEFT JOIN optimization
      mysql-test/t/select.test:
        Added test for LEFT JOIN optimization
      sql/item.h:
        LEFT JOIN optimization
      sql/item_cmpfunc.cc:
        LEFT JOIN optimization
      sql/item_cmpfunc.h:
        LEFT JOIN optimization
      sql/item_func.cc:
        LEFT JOIN optimization
      sql/item_func.h:
        LEFT JOIN optimization
      sql/item_strfunc.cc:
        LEFT JOIN optimization
      sql/sql_base.cc:
        Heart of LEFT JOIN optimization
      fc8d108f
  18. 24 Jun, 2003 3 commits
  19. 04 Jun, 2003 1 commit
    • unknown's avatar
      Added SQLSTATE to client/server protocol · f2131b44
      unknown 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
      
      
      BitKeeper/etc/ignore:
        added libmysqld/sql_state.c
      client/mysql.cc:
        Added SQLSTATE to error messages
        Added new function put_error() to be able to clean up some old code.
      client/mysqltest.c:
        Write ERROR SQLSTATE for all errors
      dbug/dbug.c:
        Portability fixes
      include/m_string.h:
        Rename bmove_allign as bmove_align
      include/mysql.h:
        Added SQLSTATE (for embedded version)
      include/mysql_com.h:
        Send correct SQLSTATE for the error to the client
      libmysql/libmysql.c:
        Changed default error state to HY000
        Applied code cleanup patch
      libmysqld/Makefile.am:
        Added sql_state.cc
      libmysqld/libmysqld.c:
        Added sqlstate
      mysql-test/r/analyse.result:
        Updated results
      mysql-test/r/ansi.result:
        Updated results
      mysql-test/r/auto_increment.result:
        Updated results
      mysql-test/r/bdb-deadlock.result:
        Updated results
      mysql-test/r/bdb.result:
        Updated results
      mysql-test/r/comments.result:
        Updated results
      mysql-test/r/create.result:
        Updated results
      mysql-test/r/ctype_collate.result:
        Updated results
      mysql-test/r/delayed.result:
        Updated results
      mysql-test/r/delete.result:
        Updated results
      mysql-test/r/derived.result:
        Updated results
      mysql-test/r/distinct.result:
        Updated results
      mysql-test/r/drop.result:
        Updated results
      mysql-test/r/err000001.result:
        Updated results
      mysql-test/r/explain.result:
        Updated results
      mysql-test/r/flush.result:
        Updated results
      mysql-test/r/fulltext.result:
        Updated results
      mysql-test/r/func_gconcat.result:
        Updated results
      mysql-test/r/func_system.result:
        Updated results
      mysql-test/r/grant_cache.result:
        Updated results
      mysql-test/r/group_by.result:
        Updated results
      mysql-test/r/handler.result:
        Updated results
      mysql-test/r/heap.result:
        Updated results
      mysql-test/r/heap_btree.result:
        Updated results
      mysql-test/r/heap_hash.result:
        Updated results
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/innodb_handler.result:
        Updated results
      mysql-test/r/insert_select.result:
        Updated results
      mysql-test/r/insert_update.result:
        Updated results
      mysql-test/r/join.result:
        Updated results
      mysql-test/r/join_outer.result:
        Updated results
      mysql-test/r/key.result:
        Updated results
      mysql-test/r/lock.result:
        Updated results
      mysql-test/r/lock_multi.result:
        Updated results
      mysql-test/r/merge.result:
        Updated results
      mysql-test/r/multi_update.result:
        Updated results
      mysql-test/r/myisam.result:
        Updated results
      mysql-test/r/null.result:
        Updated results
      mysql-test/r/olap.result:
        Updated results
      mysql-test/r/order_by.result:
        Updated results
      mysql-test/r/packet.result:
        Updated results
      mysql-test/r/query_cache.result:
        Updated results
      mysql-test/r/row.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000009.result:
        Updated results
      mysql-test/r/rpl_empty_master_crash.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/rpl_replicate_do.result:
        Updated results
      mysql-test/r/rpl_rotate_logs.result:
        Updated results
      mysql-test/r/select.result:
        Updated results
      mysql-test/r/select_safe.result:
        Updated results
      mysql-test/r/show_check.result:
        Updated results
      mysql-test/r/sql_mode.result:
        Updated results
      mysql-test/r/subselect.result:
        Updated results
      mysql-test/r/temp_table.result:
        Updated results
      mysql-test/r/truncate.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/r/type_decimal.result:
        Updated results
      mysql-test/r/type_float.result:
        Updated results
      mysql-test/r/type_ranges.result:
        Updated results
      mysql-test/r/union.result:
        Updated results
      mysql-test/r/update.result:
        Updated results
      mysql-test/r/user_var.result:
        Updated results
      mysql-test/r/varbinary.result:
        Updated results
      mysql-test/r/variables.result:
        Updated results
      mysql-test/t/ansi.test:
        Test of sql_mode
      mysql-test/t/derived.test:
        Updated results
      mysql-test/t/func_system.test:
        Make this independen of the MySQL server name
      mysql-test/t/lowercase_table.test:
        Cleanup
      mysql-test/t/olap.test:
        A lot of new tests
      mysql-test/t/sql_mode.test:
        More test for sql_mode
      mysql-test/t/subselect.test:
        Added a few new tests (to find a bug in the item_ref code)
      scripts/Makefile.am:
        Added mysql_fix_privilege_tables.sql
      scripts/mysql_fix_privilege_tables.sh:
        Totally new script.  This bascily just pipes mysql_fix_privilege_tables.sql through 'mysql' to 'mysqld'
      sql/Makefile.am:
        Added sql_state.cc
      sql/item.cc:
        Extended Item_field::eq() to be able to better match GROUP BY fields on the command line.
        Needed for ROLLUP
      sql/item.h:
        Added function to be able to avoid calling current_thd() when doing new Item.
      sql/item_sum.cc:
        Moved copy_or_same() and some reset() functions from item_sum.h
        Needed to be able to access thd->mem_root.
      sql/item_sum.h:
        Moved some functions to item_sum.cc
        Added make_unique() for ROLLUP
      sql/item_uniq.h:
        Fixed return value
      sql/mysql_priv.h:
        Updated MODE flags
      sql/mysqld.cc:
        Added ANSI as it's own mode
        Moved charset_info variables here
        Cleaned up handler_count handling (for NT)
        Added table_alias_charset, for easier --lower-case-table-name handling
      sql/net_serv.cc:
        New comment
      sql/protocol.cc:
        Send SQLSTATE to client
      sql/set_var.cc:
        Better SQL_MODE handling (Setting complex options also sets sub options)
      sql/set_var.h:
        Better SQL_MODE handling
      sql/sql_base.cc:
        Make alias depend on --lower-case-table-names
        Make find_item_in_list also check database name
      sql/sql_cache.cc:
        Indentation cleanup
      sql/sql_list.h:
        Added safety assert
        Addes support of alloc without current_thd()
      sql/sql_prepare.cc:
        Update after prototype change
      sql/sql_select.cc:
        Added ROLLUP
      sql/sql_select.h:
        structures for rollup
      sql/sql_show.cc:
        Easier SQL_MODE handling
      sql/sql_string.cc:
        Move CHARSET_INFO to mysqld (to be together with all other global variables)
      sql/sql_string.h:
        Added function to be able to avoid calling current_thd() when doing new Item.
      sql/sql_table.cc:
        Simpler --lower-case-table-name handling
      sql/sql_union.cc:
        Update after prototype change
      sql/sql_yacc.yy:
        ROLLUP
      sql/unireg.h:
        bmove_allign ->bmove_align
      strings/Makefile.am:
        Fix to be able to compile str_test.c
      strings/ctype.c:
        Removed empty lines
      strings/str_test.c:
        Added test of bmove_align
      strings/strings-x86.s:
        Faster bmove_align, bmove_upp and strmake
      strings/strings.asm:
        move_allg
      f2131b44
  20. 30 May, 2003 1 commit
  21. 20 May, 2003 1 commit
  22. 14 May, 2003 1 commit
    • unknown's avatar
      subselect transformation moved in after-fix_field place · 93155e67
      unknown authored
      removed "of is null" if it is possible
        (this cset should be SCRUM related, but not approved as scrum task yet)
      
      
      mysql-test/r/subselect.result:
        new subselect test result (new place of error detecting & and more subselect reducing)
      sql/item.cc:
        layout fix
      sql/item.h:
        unneed ';'
        fixed print pethod
      sql/item_cmpfunc.cc:
        new method to support transformation after fix_fields
      sql/item_cmpfunc.h:
        new method to support transformation after fix_fields
        fixed Item printing
      sql/item_subselect.cc:
        new transformation
      sql/item_subselect.h:
        new transformation
      sql/sql_derived.cc:
        'table' & 'table_list' now is not union
      sql/sql_lex.cc:
        'table' & 'table_list' now is not union to support reinit only shared tables (but all)
      sql/sql_lex.h:
        mark fake st_select_lex
      sql/sql_olap.cc:
        fixed table assignment
        TODO added
      sql/sql_select.cc:
        'table' & 'table_list' now is not union
        transforming subselect
      sql/sql_union.cc:
        prepare make on fix_fields
      sql/sql_yacc.yy:
        fixed layout
      sql/table.h:
        'table & 'table_list' now is different fields
      93155e67
  23. 06 May, 2003 1 commit
  24. 02 May, 2003 1 commit
  25. 27 Apr, 2003 1 commit
    • unknown's avatar
      Fixed problem when comparing a key for a multi-byte-character set. (bug 152) · dd089517
      unknown authored
      Use 0x.... as strings if 'new' mode. (bug 152)
      Don't report -max on windows when InnoDB is enabled. (bug 332)
      Reset current_linfo;  This could cause a hang when doing PURGE LOGS.
      Fix for row numbers in EXPLAIN (bug 322)
       Fix that USE_FRM works for all table types (bug 97)
      
      
      VC++Files/libmysql/libmysql.dsp:
        Added new source files
      myisam/mi_key.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_range.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_rkey.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_search.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_test2.c:
        Fixed printf statements
      myisam/myisamdef.h:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/sort.c:
        Fixed printf statements
      mysql-test/r/ctype_latin1_de.result:
        New test results
      mysql-test/r/join.result:
        New test results
      mysql-test/r/repair.result:
        New test results
      mysql-test/r/rpl_alter.result:
        New test results
      mysql-test/t/ctype_latin1_de-master.opt:
        --new is needed to get 0x... strings to work properly
      mysql-test/t/ctype_latin1_de.test:
        New test for latin1_de
      mysql-test/t/repair.test:
        Test of USE_FRM and HEAP tables
      sql/field.cc:
        Fixed problem when comparing a key for a multi-byte-character set.
      sql/item.cc:
        Use 0x.... as strings if 'new' mode
      sql/item.h:
        Use 0x.... as strings if 'new' mode
      sql/mysqld.cc:
        Don't report -max on windows when InnoDB is enabled.
      sql/sql_analyse.cc:
        Removed unused variable
      sql/sql_insert.cc:
        Removed debug message
      sql/sql_repl.cc:
        Reset current_linfo;  This could cause a hang when doing PURGE LOGS.
      sql/sql_select.cc:
        Fix for row numbers in EXPLAIN
      sql/sql_table.cc:
        Fix that USE_FRM works for all table types (without strange errors)
      sql/sql_yacc.yy:
        Removed compiler warnings.
      dd089517
  26. 22 Apr, 2003 1 commit
    • unknown's avatar
      fixed bug 185 (constant IN (SELECT field ...) do not return NULL correctly) · 33269dc4
      unknown authored
      mysql-test/r/subselect.result:
        new test results
        test of bug 185
      mysql-test/t/subselect.test:
        test of bug 185
      sql/item.h:
        new method
      sql/item_cmpfunc.cc:
        new Item to control NULL value in HAVING clouse
      sql/item_cmpfunc.h:
        new Item to control NULL value in HAVING clouse
      sql/item_subselect.cc:
        if IN was rewrited through WHERE thien it will be rewrited in following way:
        
        WHERE left_expr=item or is null(item) heving is_not_null_test(item)
      sql/item_subselect.h:
        Item_is_not_null_test can change was_null flag
      sql/sql_select.cc:
        some layout fix
      33269dc4
  27. 04 Apr, 2003 1 commit
    • unknown's avatar
      Fix to support update + bianry logs with prepared statements (Dynamic query) · a9ca5c95
      unknown authored
      sql/item.cc:
        query_val_str to return param item value in string format
      sql/item.h:
        Misc defination changes for Item_param
      sql/sql_class.h:
        Changes for PREP_STMT
      sql/sql_string.cc:
        Duplicate String::replace to take char * and length as arguments
      sql/sql_yacc.yy:
        Change to take param marker position to Item_param as an argument
      sql/sql_prepare.cc:
        Fix for binary + update logs
      sql/sql_string.h:
        Added new replace()
      a9ca5c95
  28. 19 Mar, 2003 1 commit
    • unknown's avatar
      Getting closer to be more SQL99 in dyadic operations · 5ca52f5a
      unknown authored
      mysql-test/r/ctype_collate.result:
        NO COLLATION has less coercibility than IMPLICIT and COERCIBLE
      sql/item.cc:
        Function to choose collation for dyadic operations
      sql/item.h:
        NO COLLATION has less coercibility than IMPLICIT and COERCIBLE
      sql/item_func.cc:
        Function to choose collation for dyadic operations
      sql/item_strfunc.cc:
        Function to choose collation for dyadic operations
      sql/item_strfunc.h:
        Use arg's attributes
      5ca52f5a
  29. 18 Mar, 2003 1 commit
    • unknown's avatar
      Fixes to avoid errors from valgrind · 2ae89fca
      unknown authored
      Fixed problem with 'wrong packet number' in union
      
      
      include/my_global.h:
        Fix for valgrind
      mysql-test/t/rpl_rotate_logs.test:
        Fix to avoid timeing problem
      sql/item.h:
        Indentation change
      sql/set_var.cc:
        Fix to avoid reference to uninitialized memory
      sql/sql_select.cc:
        More DBUG_PRINT messages
        Fixed problem with 'wrong packet number' in union (tmp_join.error was not correctly reset)
      sql/sql_union.cc:
        Simple code cleanup
      strings/ctype-simple.c:
        Fix for valgrind
      2ae89fca
  30. 17 Mar, 2003 1 commit
    • unknown's avatar
      · a1585e66
      unknown authored
      mysql-test/t/ctype_many.test:
        Automatic client-server charset recoding has been added
      mysys/charset.c:
        Automatic client-server charset recoding has been added
      sql/item.cc:
        Automatic client-server charset recoding has been added
      sql/item.h:
        Automatic client-server charset recoding has been added
      sql/item_cmpfunc.cc:
        Automatic client-server charset recoding has been added
      sql/item_func.cc:
        Automatic client-server charset recoding has been added
      sql/item_strfunc.cc:
        Automatic client-server charset recoding has been added
      sql/mysqld.cc:
        Automatic client-server charset recoding has been added
      sql/protocol.cc:
        Automatic client-server charset recoding has been added
      sql/sql_string.cc:
        Automatic client-server charset recoding has been added
      sql/sql_yacc.yy:
        Automatic client-server charset recoding has been added
      strings/ctype-utf8.c:
        Automatic client-server charset recoding has been added
      a1585e66
  31. 11 Mar, 2003 1 commit
  32. 10 Mar, 2003 1 commit
  33. 07 Mar, 2003 1 commit
    • unknown's avatar
      sql_acl.cc, item.h: · 57ca912f
      unknown authored
        use of new argument
      sql_analyse.h:
        macros from mysql_priv.h. Should be deleted soon.
      mysql_priv.h:
        _default_charset_info has been removed
      item_cmpfunc.h:
        Use cmp_charset
      hostname.cc, hash_filo.h:
        Move charset to constructor argument
      
      
      sql/hash_filo.h:
        Move charset to constructor argument
      sql/hostname.cc:
        Move charset to constructor argument
      sql/item_cmpfunc.h:
        Use cmp_charset
      sql/mysql_priv.h:
        _default_charset_info has been removed
      sql/sql_analyse.h:
        macros from mysql_priv.h. Should be deleted soon.
      sql/item.h:
        use of new argument
      sql/sql_acl.cc:
        use of new argument
      57ca912f
  34. 03 Mar, 2003 2 commits
    • unknown's avatar
      Coercibility is now stored in user vars · 67abbc0b
      unknown authored
      sql/item.h:
        Change constant values order according to the word "coercibility" nature
      sql/item_func.cc:
        Change constant values order according to the word "coercibility" nature
      67abbc0b
    • unknown's avatar
      Strings which appear without charset context, · bf56f26c
      unknown authored
      like number-to-string-convertion-result, now 
      takes current database character set, instead of
      thread character set. This makes it easy to be
      SQL99 conformant and 4.0 compatible.
      
      Item->thd_charset() is renamed to Item->default_charset()
      as old name doesn't describe its nature anymore.
      
      bf56f26c