An error occurred fetching the project authors.
  1. 11 Aug, 2003 1 commit
    • 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
  2. 05 Aug, 2003 1 commit
  3. 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
  4. 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
  5. 02 Jul, 2003 1 commit
  6. 24 Jun, 2003 3 commits
  7. 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
  8. 30 May, 2003 1 commit
  9. 20 May, 2003 1 commit
  10. 06 May, 2003 1 commit
  11. 02 May, 2003 1 commit
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 11 Mar, 2003 1 commit
  19. 10 Mar, 2003 1 commit
  20. 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
  21. 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
  22. 28 Feb, 2003 1 commit
    • unknown's avatar
      Many files: · 3467b168
      unknown authored
         Coercibility, initial stage
      item_func.h:
        Coercibility, initial stage
      
      
      sql/item_func.h:
        Coercibility, initial stage
      sql/item.cc:
         Coercibility, initial stage
      sql/item_create.cc:
         Coercibility, initial stage
      sql/item_create.h:
         Coercibility, initial stage
      sql/item.h:
         Coercibility, initial stage
      sql/item_func.cc:
         Coercibility, initial stage
      sql/lex.h:
         Coercibility, initial stage
      sql/sql_yacc.yy:
         Coercibility, initial stage
      3467b168
  23. 27 Feb, 2003 1 commit
    • unknown's avatar
      Integer values between 9223372036854775807 and 9999999999999999999 are now · 8bdf015a
      unknown authored
      regarded as unsigned longlongss, not as floats. This make these values work
      similar to values between 10000000000000000000 and 18446744073709551615.
      
      
      mysql-test/r/bigint.result:
        Fixed results for bigints
      mysql-test/t/bigint.test:
        Fixed results for bigints
      sql/item.h:
        Mark unsigned big ints as unsigned
      sql/sql_lex.cc:
        Returns numbers between 9223372036854775807 and 9999999999999999999 as unsigned 64 bit numbers
      8bdf015a
  24. 10 Feb, 2003 1 commit
    • unknown's avatar
      Move tmp_table_used to THD · fd898a3e
      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
      fd898a3e
  25. 03 Feb, 2003 1 commit
    • unknown's avatar
      Fix for MIN/MAX with empty tables · 8c1c18fb
      unknown authored
      MIN(key_column) could in some cases return NULL on a column with NULL and other values.
      MIN(key_column) and MAX(key_column) could in some cases return wrong values when used in OUTER JOIN.
      
      
      configure.in:
        Updated version number
      libmysqld/libmysqld.c:
        Portability fix (for windows)
      mysql-test/r/func_group.result:
        Added test case for MIN/MAX problems
      mysql-test/t/func_group.test:
        Added test case for MIN/MAX problems
      sql/item.h:
        Fix for MIN/MAX with empty tables
      sql/item_sum.h:
        Fix for MIN/MAX with empty tables
      sql/opt_sum.cc:
        MIN(key_column) could in some cases return NULL on a column
        with NULL and other values.
        MIN(key_column) and MAX(key_column) could in some cases
        return wrong values when used in OUTER JOIN.
      sql/sql_select.cc:
        Fix for MIN/MAX with empty tables
      8c1c18fb
  26. 02 Feb, 2003 1 commit
    • unknown's avatar
      after-review changes (577 SCRUM) · 51456451
      unknown authored
      sql/item.cc:
        typo fix
      sql/item.h:
        typo fix
      sql/item_cmpfunc.cc:
        comment
      sql/item_func.cc:
        new interface
      sql/item_subselect.cc:
        comment inserted
      sql/item_sum.cc:
        layout fixed
        comment inserted
      sql/mysql_priv.h:
        names changed
      sql/sql_base.cc:
        some optimization
      sql/sql_delete.cc:
        name changed
      sql/sql_insert.cc:
        name changed
      sql/sql_lex.h:
        name changed
      sql/sql_prepare.cc:
        layout fixed
      sql/sql_select.cc:
        layout fixed
        names changed
        comments inserted
        debugging code removed
      sql/sql_select.h:
        name changed
      sql/sql_union.cc:
        name changed
        layout fixed
      sql/sql_update.cc:
        name changed
      sql/sql_yacc.yy:
        typo fixed
      51456451
  27. 30 Jan, 2003 2 commits
    • unknown's avatar
      changes based on partial revie of task 577 (SCRUM) · d05f4a08
      unknown authored
      sql/item.cc:
        Fixed Item usual constructor to call current_thd only once.
        Fixed copy constructor to receive THD pointer via arguments.
        added comments
        removed counter-1 and unnessesary initializaton of counter
      sql/item.h:
        Fixed copy constructor to receive THD pointer via arguments.
        Renamed get_same to copy_or_same.
        THD pointetr added to copy_or_same and get_tmp_table_item.
      sql/item_cmpfunc.cc:
        fixed layout
        fixed direct call of destructor
      sql/item_func.cc:
        fiex layout
        THD pointetr added to get_tmp_table_item.
      sql/item_func.h:
        THD pointetr added to get_tmp_table_item.
      sql/item_sum.cc:
        Fixed copy constructor to receive THD pointer via arguments.
        Renamed get_same to copy_or_same.
        THD pointetr added to copy_or_same and get_tmp_table_item.
      sql/item_sum.h:
        fixed layout
        Fixed copy constructor to receive THD pointer via arguments.
        Renamed get_same to copy_or_same.
        THD pointetr added to copy_or_same and get_tmp_table_item.
      sql/item_uniq.h:
        Fixed copy constructor to receive THD pointer via arguments.
        Renamed get_same to copy_or_same.
        THD pointetr added to copy_or_same and get_tmp_table_item.
      sql/sql_base.cc:
        count from 0
      sql/sql_select.cc:
        removed counter-1 and unnessesary initializaton of counter
        THD pointetr added to get_tmp_table_item and change_to_use_tmp_fields.
      d05f4a08
    • unknown's avatar
      cyclic reference test removed, becouse testing of Item::fixed field apply more strict limitation · 606e8cb3
      unknown authored
      mysql-test/r/subselect.result:
        test of cyclic reference false alarm
      mysql-test/t/subselect.test:
        test of cyclic reference false alarm
      606e8cb3
  28. 28 Jan, 2003 1 commit
    • unknown's avatar
      Fixes for Netware · 8c613c2c
      unknown authored
      Call pthread_mutex_destroy() on not used mutex.
      Changed comments in .h and .c files from // -> /* */
      Added detection of mutex on which one didn't call pthread_mutex_destroy()
      Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
      Added optimisation for ORDER BY NULL
      
      
      BitKeeper/deleted/.del-ChangeLog~dfc92e15bee6fc75:
        Delete: sql/ChangeLog
      BUILD/compile-pentium-valgrind-max:
        Don't use valgrind with safemalloc as this can hide some bugs
      Makefile.am:
        Added platform dirs
      bdb/os/os_handle.c:
        Portability fix
      client/mysql.cc:
        Fixes for Netware.
        Fixed duplicate output when using 'tee'
        Simple optimisations
      client/mysqldump.c:
        Portability fix
      client/mysqltest.c:
        Portability fix
      configure.in:
        Fixes for Netware
      extra/resolveip.c:
        Fixes for Netware
      include/Makefile.am:
        Fixes for Netware
      include/config-win.h:
        Portability fix
      include/my_global.h:
        Fixes for Netware
      include/my_net.h:
        Fixes for Netware
      include/my_pthread.h:
        Fixes for Netware
        Added detection of mutexes that was not destroyed
      include/my_sys.h:
        Fixes for Netware
        Added 'extern' before external functions
      include/mysql.h:
        Fixes for Netware
      innobase/configure.in:
        Fixes for Netware
      innobase/include/os0thread.h:
        Fixes for Netware
      innobase/os/os0sync.c:
        Fixes for Netware
      innobase/os/os0thread.c:
        Fixes for Netware
      innobase/srv/srv0srv.c:
        Fixes for Netware
      innobase/srv/srv0start.c:
        Fixes for Netware
      innobase/sync/sync0sync.c:
        Fixes for Netware
      isam/test3.c:
        Disable test on Netware
      libmysql/Makefile.shared:
        Added my_sleep
      libmysql/get_password.c:
        Fixes for Netware
      libmysql/libmysql.c:
        Fixes for Netware
        Made mysql_once_init() global
      libmysql/manager.c:
        Fixes for Netware
      myisam/mi_test3.c:
        Disable test for netware
      mysql-test/mysql-test-run.sh:
        Give warning if output file contains errors
      mysql-test/r/count_distinct.result:
        More tests
      mysql-test/r/group_by.result:
        Test of ORDER BY NULL
      mysql-test/t/backup.test:
        Fixes for Netware
      mysql-test/t/count_distinct.test:
        More tests
      mysql-test/t/func_crypt.test:
        Fixes for Netware
      mysql-test/t/grant_cache.test:
        Fixes for Netware
      mysql-test/t/group_by.test:
        Tests of ORDER BY NULL
      mysql-test/t/rpl000015.test:
        Fixes for Netware
      mysql-test/t/rpl000017.test:
        Fixes for Netware
      mysql-test/t/rpl_rotate_logs.test:
        Fixes for Netware
      mysys/Makefile.am:
        Added my_sleep.c and my_netware.c
      mysys/charset.c:
        Fixes for Netware
      mysys/default.c:
        Fixes for Netware
      mysys/mf_tempfile.c:
        Fixes for Netware
      mysys/my_clock.c:
        Fixes for Netware
      mysys/my_copy.c:
        Fixes for Netware
      mysys/my_getwd.c:
        Changed function comment from // -> /* */
      mysys/my_init.c:
        Fixes for Netware
      mysys/my_lock.c:
        Fixes for Netware
      mysys/my_messnc.c:
        Fixes for Netware
      mysys/my_os2cond.c:
        Removed comment
      mysys/my_os2dirsrch.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2dirsrch.h:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2file64.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2mutex.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2thread.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_os2tls.c:
        Changed function comment from // -> /* */
        Fixed indentation
      mysys/my_pthread.c:
        Fixes for Netware
      mysys/my_redel.c:
        Fixes for Netware
      mysys/my_tempnam.c:
        Fixes for Netware
      mysys/my_thr_init.c:
        Remove created mutexes when program ends.
      mysys/mysys_priv.h:
        Cleanup
      mysys/safemalloc.c:
        Prefix error messages with "Error:"
      mysys/thr_alarm.c:
        Destroy internal mutex on end_thr_alarm.
      mysys/thr_mutex.c:
        Added detection of mutex on which one didn't call pthread_mutex_destroy()
      scripts/make_binary_distribution.sh:
        Fixes for Netware
      sql/des_key_file.cc:
        Free mutex at end
      sql/ha_innodb.cc:
        Free mutex at end
      sql/ha_myisam.cc:
        Changed warnings from REPAIR Note:
        (For mysql-test-run)
      sql/hostname.cc:
        Fixes for Netware
      sql/item.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/item_func.cc:
        Free used mutexes
      sql/item_sum.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/log.cc:
        Free used mutexes
      sql/my_lock.c:
        Fixes for Netware
      sql/mysql_priv.h:
        Fixes for Netware
      sql/mysqld.cc:
        Fixes for Netware
        Added Have_crypt
        Properly free mutexes from MYSQL_LOG by calling cleanup
        Free mutex before exit
      sql/repl_failsafe.cc:
        Fixes for Netware
      sql/set_var.cc:
        Added have_crypt
      sql/share/english/errmsg.txt:
        Added version socket and port to stderr log
      sql/slave.cc:
        Remove global MASTER_INFO variable and use instead an allocated variable.
        This allows us to correctly free used mutex.
      sql/slave.h:
        Move constructors and destuctors to slave.cc
        (To make it easier to clear all needed variables)
      sql/sql_base.cc:
        Safety fix
      sql/sql_class.h:
        Portability fixes.
        Added 'cleanup' to log handling to be able to free mutexes.
      sql/sql_insert.cc:
        Fixes for Netware
      mysys/my_sleep.c:
        E
      sql/sql_parse.cc:
        Fixes for Netware
      sql/sql_select.cc:
        Added optimisation for ORDER BY NULL
      sql/sql_select.h:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_table.cc:
        Fixed bug in create_tmp_field() which causes a memory overrun
      sql/sql_udf.cc:
        Free mutex on end
      vio/test-ssl.c:
        Simple code cleanup
      vio/test-sslclient.c:
        Simple code cleanup
      vio/test-sslserver.c:
        Simple code cleanup
      vio/viotest-ssl.c:
        Simple code cleanup
      8c613c2c
  29. 26 Jan, 2003 3 commits
    • unknown's avatar
      after merge fix of 577 task (SCRUM, pre commit to be able to merge with static... · 69e453db
      unknown authored
      after merge fix of 577 task (SCRUM, pre commit to be able to merge with static tables optimization fix)
      fixed derived tables with subselect inside
      
      
      mysql-test/r/derived.result:
        test of subselects inside derived tables
      mysql-test/t/derived.test:
        test of subselects inside derived tables
      mysql-test/t/subselect.test:
        subselect test (not finished)
      sql/item.cc:
        after merge fix
      sql/item.h:
        after merge fix
      sql/item_cmpfunc.h:
        after merge fix
      sql/item_subselect.cc:
        after merge fix
      sql/item_sum.h:
        after merge fix
      sql/mysql_priv.h:
        fixed derived tables with subselect inside
      sql/sql_class.h:
        after merge fix
      sql/sql_derived.cc:
        fixed derived tables with subselect inside
      sql/sql_lex.cc:
        fixed derived tables with subselect inside
      sql/sql_lex.h:
        fixed derived tables with subselect inside
      sql/sql_parse.cc:
        fixed derived tables with subselect inside
        after merge fix
      sql/sql_prepare.cc:
        after merge fix
      sql/sql_select.cc:
        after merge fix
        fixed derived tables with subselect inside
      69e453db
    • unknown's avatar
      removed switching off static table optimization for subselects (SCRUM ,... · 31f782f4
      unknown authored
      removed switching off static table optimization for subselects (SCRUM , pre-commit  to be able merge with temporary table fix)
      
      
      
      sql/item.cc:
        report other table for outer reference
      sql/item.h:
        report other table for outer reference
      sql/item_cmpfunc.cc:
        report other table for outer reference
      sql/sql_select.cc:
        removed switching off static table optimization for subselects
      31f782f4
    • unknown's avatar
      making the keyword ROW for row items optional · 793c07eb
      unknown authored
      793c07eb
  30. 25 Jan, 2003 1 commit
    • unknown's avatar
      fixed subselects with temporary tables (SCRUM) · d94eecbb
      unknown authored
      fixed memory leacks
      
      
      mysql-test/r/subselect.result:
        some changes in subselect tests
      mysql-test/t/subselect.test:
        some changes in subselect tests
      sql/item.cc:
        some item made copyable
        methods for creating copy of item list
        tmp_table_field() splited
      sql/item.h:
        some item made copyable
        methods for creating copy of item list
        tmp_table_field() splited
      sql/item_cmpfunc.cc:
        changed references creation
      sql/item_cmpfunc.h:
        changed references creation
      sql/item_func.cc:
        some item made copyable
        methods for creating copy of item list
        changed references creation
      sql/item_func.h:
        some item made copyable
        methods for creating copy of item list
        changed references creation
        tmp_table_field() splited
      sql/item_subselect.cc:
        changed references creation
      sql/item_sum.cc:
        some item made copyable
        methods for creating copy of item list
      sql/item_sum.h:
        some item made copyable
        methods for creating copy of item list
      sql/item_timefunc.h:
        tmp_table_field() splited
      sql/item_uniq.h:
        some item made copyable
        methods for creating copy of item list
      sql/mysql_priv.h:
        fixed subselects with temporary tables
      sql/sql_base.cc:
        fixed subselects with temporary tables
      sql/sql_class.h:
        fixed subselects with temporary tables
      sql/sql_delete.cc:
        fixed subselects with temporary tables
      sql/sql_derived.cc:
        fixed subselects with temporary tables
      sql/sql_do.cc:
        fixed subselects with temporary tables
      sql/sql_insert.cc:
        fixed subselects with temporary tables
      sql/sql_lex.cc:
        fixed subselects with temporary tables
      sql/sql_lex.h:
        fixed subselects with temporary tables
      sql/sql_list.h:
        fixed subselects with temporary tables
      sql/sql_load.cc:
        fixed subselects with temporary tables
      sql/sql_olap.cc:
        fixed subselects with temporary tables
      sql/sql_parse.cc:
        fixed subselects with temporary tables
      sql/sql_prepare.cc:
        fixed subselects with temporary tables
      sql/sql_select.cc:
        fixed subselects with temporary tables
      sql/sql_select.h:
        fixed subselects with temporary tables
      sql/sql_table.cc:
        fixed subselects with temporary tables
      sql/sql_union.cc:
        fixed subselects with temporary tables
      sql/sql_update.cc:
        fixed subselects with temporary tables
      sql/sql_yacc.yy:
        fixed subselects with temporary tables
      d94eecbb
  31. 24 Jan, 2003 1 commit
  32. 22 Jan, 2003 1 commit
    • unknown's avatar
      SCRUM · 284a80dc
      unknown authored
      DEFAULT in SELECT & UPDATE corrections
      
      
      mysql-test/r/replace.result:
        test slightly extended
      mysql-test/t/replace.test:
        test slightly extended with replace(default)
      sql/item.cc:
        DEFAULT_ITEM replaced
      sql/item.h:
        some modifications after talking with Sergey
      284a80dc
  33. 21 Jan, 2003 1 commit
    • unknown's avatar
      SCRUM · a87396cd
      unknown authored
      Default in UPDATE & SELECT
      
      
      sql/field.h:
        brackets was omitted
      sql/item.cc:
        now only DEFAULT_ITEM
      sql/item.h:
        Item_default class deletion
      sql/sql_yacc.yy:
        changes in syntax for DEFAULT in UPDATE & SELECT
      sql/table.cc:
        default_values member removed
      sql/table.h:
        member changed with inline function
      a87396cd
  34. 20 Jan, 2003 1 commit
    • unknown's avatar
      SCRUM · 9d2da263
      unknown authored
      embedded-related changes
      
      
      include/mysql_com.h:
        net_flush emptification
      libmysqld/lib_sql.cc:
        Some Protocol:: methods implemented
      sql/convert.cc:
        changes to use convert in embedded library
      sql/field.cc:
        set_key_image changed
      sql/item.cc:
        obsolete functions removed
      sql/item.h:
        embedded-related changes in Protocol class
      sql/log.cc:
        there's no ports in embedded library
      sql/mysqld.cc:
        some debug stuff
      sql/protocol.cc:
        embedded-related changes
      sql/protocol.h:
        embedded-related changes
      sql/sql_cache.cc:
        comment added
      sql/sql_class.cc:
        no need to do special embedded select_send::send_row
      sql/sql_class.h:
        embedded-related changes
      sql/sql_parse.cc:
        comments added debugging stuff deleted
      sql/sql_show.cc:
        non-protocol sending removed
      9d2da263