An error occurred fetching the project authors.
  1. 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
  2. 26 Sep, 2003 1 commit
    • unknown's avatar
      SCRUM: · 17053698
      unknown authored
      WL#604 Privileges in embedded library
      code added to check privileges in embedded library
      NO_EMBEDDED_ACCESS_CHECKS macros inserted in code so we can exclude
      access-checking parts. Actually we now can exclude these parts from
      standalone server as well. Do we need it?
      Access checks are disabled in embedded server by default. One should
      edit libmysqld/Makefile manually to get this working.
      We definitely need the separate configure for embedded server
      
      
      include/mysql.h:
        options added so user of embedded library can set the client host
        it will work as if the usual client connects from this host
      libmysqld/Makefile.am:
        Usually one doesn't need access checking in embedded library
        we definitely should separate configure for embedded server
      libmysqld/lib_sql.cc:
        necessary code for getting passwords and access checks added
      libmysqld/libmysqld.c:
        code #ifdef-ed - we use this only when we check permissions
      sql-common/client.c:
        one mysql_close left now
      sql/item_strfunc.cc:
        #ifndef-s added
      sql/log.cc:
        #ifndef-s added
      sql/mysql_priv.h:
        #ifndef-s added
        also i removed default parameters from check_access and check_table_access
        definitions to set definitions working
      sql/mysqld.cc:
        #ifndef-s added
        localhost renamed to my_localhost
      sql/repl_failsafe.cc:
        parameters added
      sql/set_var.cc:
        #ifndef-s added
      sql/sql_acl.cc:
        #ifndef-s added
      sql/sql_acl.h:
        #ifndef-s added
      sql/sql_base.cc:
        #ifndef-s added
      sql/sql_cache.cc:
        #ifndef-s added
      sql/sql_class.cc:
        #ifndef-s added
      sql/sql_db.cc:
        #ifndef-s added
      sql/sql_derived.cc:
        #ifndef-s added
      sql/sql_insert.cc:
        #ifndef-s added
      sql/sql_parse.cc:
        a horde of #ifndef-s added
      sql/sql_prepare.cc:
        #ifndef-s added
      sql/sql_repl.cc:
        parameters added
      sql/sql_show.cc:
        #ifndef-s added
      sql/sql_update.cc:
        #ifndef-s added
      17053698
  3. 18 Sep, 2003 1 commit
    • unknown's avatar
      SCRUM · 4c638048
      unknown authored
      embedded library
      some dirty places cleaned:
      
      uint removed from mysql.h as Miguel suggested
      empty_string renamed as my_empty_string to get rid of name's intersections
      using embedded library
      
      
      include/mysql.h:
        uint -> unsigned int
      include/mysql_com.h:
        this caused warnings when not in expression
      libmysqld/lib_sql.cc:
        uint -> unsigned int
      sql-common/client.c:
        uint -> unsigned int
      sql/item_strfunc.cc:
        empty_string -> my_empty_string
      sql/mysql_priv.h:
        empty_string -> my_empty_string
      sql/set_var.cc:
        empty_string -> my_empty_string
      sql/sql_class.cc:
        empty_string -> my_empty_string
      sql/sql_prepare.cc:
        net_flush ifdef-ed
      4c638048
  4. 15 Sep, 2003 1 commit
  5. 29 Aug, 2003 1 commit
    • unknown's avatar
      Revert change of lower-case-table handling as this breaks how alias works. · 6d17d7f5
      unknown authored
      Changes like this should be done to 4.1, not to a stable release
      
      
      mysql-test/r/lowercase_table.result:
        Revert change of lower-case-table handling
      mysql-test/t/lowercase_table.test:
        Revert change of lower-case-table handling
      sql/sql_class.cc:
        Revert change of lower-case-table handling
      sql/sql_class.h:
        Revert change of lower-case-table handling
      sql/sql_parse.cc:
        Revert change of lower-case-table handling
      sql/sql_table.cc:
        Revert change of lower-case-table handling
      sql/sql_yacc.yy:
        Revert change of lower-case-table handling
      6d17d7f5
  6. 28 Aug, 2003 1 commit
    • unknown's avatar
      Portability fixes · 6fd5403d
      unknown authored
      client/mysqltest.c:
        Removed not used functions
      myisam/mi_dynrec.c:
        Added assert to avoid compilation errors
      mysql-test/r/isam.result:
        Updated results after merge
      sql/log_event.cc:
        Cleanup
      sql/mysql_priv.h:
        Cleanup
      sql/sql_class.cc:
        Moved Table_ident functions to .cc file to allow them to use table_case_convert()
      sql/sql_class.h:
        Moved Table_ident functions to .cc file to allow them to use table_case_convert()
      6fd5403d
  7. 19 Aug, 2003 2 commits
    • unknown's avatar
      Fix for BUG#1086. Now we don't preserve event's log_pos through · e3541b8a
      unknown authored
      log-slave-updates since this causes unexpected values in 
      Exec_master_log_pos in A->B->C replication setup, synchronization
       problems in master_pos_wait()... 
      Still this brokes some functionality in sql/repl_failsafe.cc 
      (but this file is not used now)
      
      
      mysql-test/r/rpl_log.result:
        SHOW BINLOG EVENTS for binlog on slave should give the same 
        Orig_log_pos and Pos values
      sql/log_event.cc:
        Do not propagate our master's log pos to our bin log
      sql/repl_failsafe.cc:
        Added comment about broken SHOW NEW MASTER
      sql/slave.cc:
        Do not propagate our master's log pos to our bin log
      sql/sql_class.cc:
        THD::log_pos is no longer needed
      sql/sql_class.h:
        THD::log_pos is no longer needed
      sql/sql_parse.cc:
        Added comment about broken SHOW NEW MASTER
      e3541b8a
    • unknown's avatar
      After merge fixes + bugs from last merge · aa900a5e
      unknown authored
      mysql-test/mysql-test-run.sh:
        Use --skip-bdb with valgrind (as bdb tables causes valgrind to hang)
        Fix --ddd option
      mysql-test/t/union.test:
        After merge fix
      sql/item.cc:
        Fixed typo
      sql/log_event.cc:
        Move current_tablenr to open_tables()
      sql/protocol.h:
        Fixed wrong memory reference
      sql/set_var.cc:
        After merge fix
      sql/slave.cc:
        Reset thd->lex.current_select before execute
      sql/sql_base.cc:
        Move current_tablenr to open_tables()
      sql/sql_class.cc:
        Move current_tablenr to open_tables()
        Add missing update_charset()
      sql/sql_parse.cc:
        Move current_tablenr to open_tables()
        Simple cleanup
      sql/table.cc:
        Code cleanup
      aa900a5e
  8. 18 Aug, 2003 1 commit
    • unknown's avatar
      After merge fixes · 2901c3b8
      unknown authored
      Use server character set if --default-character-set is not used
      Added convert_string() for more efficient alloc+character-set convert of strings
      
      
      BitKeeper/deleted/.del-convert.result~a3b56e1db6f498e9:
        Delete: mysql-test/r/convert.result
      BitKeeper/deleted/.del-convert.test~f4ceb743194dfe72:
        Delete: mysql-test/t/convert.test
      BitKeeper/deleted/.del-make_win_src_distribution.old~5c9ebdc4a852b43b:
        Delete: scripts/make_win_src_distribution.old
      client/mysql.cc:
        Use server character set if --default-character-set is not used
      client/mysqltest.c:
        Code cleanup (merge identical code)
        More debug messages
      heap/hp_create.c:
        After merge fix
      include/m_ctype.h:
        After merge fix
      include/my_global.h:
        Remove size_str (we already have size_s)
      include/mysql_com.h:
        After merge fix
      libmysql/libmysql.c:
        After merge fix
      libmysqld/Makefile.am:
        After merge fix
      mysql-test/r/auto_increment.result:
        After merge fix
      mysql-test/r/create.result:
        After merge fix
      mysql-test/r/ctype_latin1_de.result:
        After merge fix
      mysql-test/r/distinct.result:
        After merge fix
      mysql-test/r/drop.result:
        After merge fix
      mysql-test/r/fulltext.result:
        After merge fix
      mysql-test/r/func_gconcat.result:
        After merge fix
      mysql-test/r/func_str.result:
        After merge fix
      mysql-test/r/func_test.result:
        After merge fix
      mysql-test/r/grant.result:
        After merge fix
      mysql-test/r/group_by.result:
        After merge fix
      mysql-test/r/handler.result:
        After merge fix
      mysql-test/r/heap.result:
        After merge fix
      mysql-test/r/heap_btree.result:
        After merge fix
      mysql-test/r/heap_hash.result:
        After merge fix
      mysql-test/r/innodb.result:
        After merge fix
      mysql-test/r/insert.result:
        After merge fix
      mysql-test/r/insert_select.result:
        After merge fix
      mysql-test/r/join_outer.result:
        After merge fix
      mysql-test/r/key.result:
        After merge fix
      mysql-test/r/key_cache.result:
        After merge fix
      mysql-test/r/loaddata.result:
        After merge fix
      mysql-test/r/myisam.result:
        After merge fix
      mysql-test/r/null.result:
        After merge fix
      mysql-test/r/null_key.result:
        After merge fix
      mysql-test/r/order_by.result:
        After merge fix
      mysql-test/r/rpl_do_grant.result:
        After merge fix
      mysql-test/r/rpl_error_ignored_table.result:
        After merge fix
      mysql-test/r/rpl_ignore_grant.result:
        After merge fix
      mysql-test/r/rpl_loaddata.result:
        After merge fix
      mysql-test/r/rpl_log.result:
        After merge fix
      mysql-test/r/rpl_log_pos.result:
        After merge fix
      mysql-test/r/rpl_max_relay_size.result:
        After merge fix
      mysql-test/r/rpl_replicate_do.result:
        After merge fix
      mysql-test/r/rpl_reset_slave.result:
        After merge fix
      mysql-test/r/rpl_rotate_logs.result:
        After merge fix
      mysql-test/r/rpl_user_variables.result:
        After merge fix
      mysql-test/r/select.result:
        After merge fix
      mysql-test/r/select_safe.result:
        After merge fix
      mysql-test/r/subselect.result:
        After merge fix
      mysql-test/r/type_blob.result:
        After merge fix
      mysql-test/r/type_decimal.result:
        After merge fix
      mysql-test/r/type_float.result:
        After merge fix
      mysql-test/r/type_ranges.result:
        After merge fix
      mysql-test/r/type_time.result:
        After merge fix
      mysql-test/r/type_uint.result:
        After merge fix
      mysql-test/r/union.result:
        After merge fix
      mysql-test/r/warnings.result:
        After merge fix
      mysql-test/t/auto_increment.test:
        After merge fix
      mysql-test/t/case.test:
        After merge fix
      mysql-test/t/ctype_collate.test:
        After merge fix
      mysql-test/t/ctype_latin1_de.test:
        After merge fix
      mysql-test/t/drop.test:
        After merge fix
      mysql-test/t/func_in.test:
        After merge fix
      mysql-test/t/func_set.test:
        After merge fix
      mysql-test/t/func_str.test:
        After merge fix
      mysql-test/t/func_test.test:
        After merge fix
      mysql-test/t/grant.test:
        After merge fix
      mysql-test/t/group_by.test:
        After merge fix
      mysql-test/t/handler.test:
        After merge fix
      mysql-test/t/heap.test:
        After merge fix
      mysql-test/t/heap_btree.test:
        After merge fix
      mysql-test/t/heap_hash.test:
        After merge fix
      mysql-test/t/innodb.test:
        After merge fix
      mysql-test/t/insert_select.test:
        After merge fix
      mysql-test/t/key.test:
        After merge fix
      mysql-test/t/key_cache.test:
        After merge fix
      mysql-test/t/lock_tables_lost_commit-master.opt:
        After merge fix
      mysql-test/t/lock_tables_lost_commit.test:
        After merge fix
      mysql-test/t/myisam.test:
        After merge fix
      mysql-test/t/row.test:
        After merge fix
      mysql-test/t/subselect.test:
        After merge fix
      mysql-test/t/type_decimal.test:
        After merge fix
      mysql-test/t/type_ranges.test:
        After merge fix
      mysql-test/t/type_uint.test:
        After merge fix
      mysql-test/t/variables.test:
        After merge fix
      mysql-test/t/warnings.test:
        After merge fix
      scripts/make_win_src_distribution.sh:
        after merge fixes
      sql-common/client.c:
        After merge fix
        Change my_connect() to use poll()
        If character set is not given, use servers character set.
      sql/field.cc:
        After merge fix
        Don't give warnings when storing data in fields in optimizer.
      sql/ha_myisammrg.h:
        After merge fix
      sql/log.cc:
        After merge fix
      sql/log_event.cc:
        After merge fix
      sql/mysqld.cc:
        After merge fix
      sql/opt_range.cc:
        After merge fix
      sql/set_var.cc:
        Code cleanup
        Fixed wrong usage of base_names (like medium.key_buffer) that caused core dumps
      sql/set_var.h:
        Fixed wrong usage of base_names (like medium.key_buffer) that caused core dumps
      sql/slave.cc:
        After merge fix
      sql/sql_acl.cc:
        After merge fix
        Code cleanup
      sql/sql_class.cc:
        Added convert_string() for more efficient alloc+character-set convert of strings
        Add cached flags to avoid calling mysql_charset_same() during parsing.
      sql/sql_class.h:
        Added convert_string() for more efficient alloc+character-set convert of strings
        Add cached flags to avoid calling mysql_charset_same() during parsing.
      sql/sql_handler.cc:
        After merge fix
      sql/sql_lex.h:
        After merge fix
      sql/sql_parse.cc:
        Optimize and fix memory reference errors reported by valgrind
      sql/sql_repl.cc:
        After merge fix
      sql/sql_yacc.yy:
        After merge fix
        Avoid calling mysql_charset_same() when parsing identifiers
      strings/ctype-latin1.c:
        Port latin_de conversion code from 4.0
      2901c3b8
  9. 18 Jul, 2003 1 commit
    • unknown's avatar
      few compile-time bugs fixed · 4df473b8
      unknown authored
      include/mysql.h:
        fixed compile-time bug
      sql/sql_class.cc:
        fixed compile-time bug
      sql/sql_class.h:
        fixed compile-time bug
      4df473b8
  10. 01 Jul, 2003 1 commit
    • unknown's avatar
      First version of new authentification procedure: now authentification is... · dbb088b0
      unknown authored
      First version of new authentification procedure: now authentification is one-stage (instead of two-stage in 4.1)
      
      For now following tasks have been done:
      - PASSWORD() function was rewritten. PASSWORD() now returns SHA1
        hash_stage2; for new passwords user.password contains '*'hash_stage2; sql_yacc.yy also fixed; 
      
      - password.c: new functions were implemented, old rolled back to 4.0 state
      
      - server code was rewritten to use new authorization algorithm (check_user(), change
        user, and other stuff in sql/sql_parse.cc)
      
      - client code was rewritten to use new authorization algorithm
        (mysql_real_connect, myslq_authenticate in sql-common/client.c)
      
      - now server barks on 45-byte-length 4.1.0 passwords and refuses 4.1.0-style
        authentification. Users with 4.1.0 passwords are blocked (sql/sql_acl.cc)
      
      - mysqladmin.c was fixed to work correctly with new passwords
      
      Tests for 4.0-4.1.1, 4.1.1-4.1.1 (with or without db/password) logons was performed;
      mysqladmin also was tested. Additional check are nevertheless necessary.
      
      
      BitKeeper/etc/ignore:
        Added start_mysqld.sh mysys/main.cc to the ignore list
      client/mysqladmin.c:
        fixed with new password api
      include/mysql.h:
        So as scramble_323 accepts only null-terminated message, two scramble buffs are necessary.
        gotta be fixed
      include/mysql_com.h:
        new constants and password.c api changes
      libmysql/libmysql.c:
        mysql_change_user rewritten to work with new password api
      scripts/mysql_create_system_tables.sh:
        fixed 'Password' column length to 41
      scripts/mysql_fix_privilege_tables.sql:
        fixed 'Password' column length to 41
      sql-common/client.c:
        mysql_real_connect rewritten to support new handshake procedure
      sql/item_strfunc.cc:
        Item_func_password and Item_func_old_password rewritten with new password api
      sql/item_strfunc.h:
        bit commented, numbers replaced with #defined constants
      sql/mysql_priv.h:
        removed unnecessary declaration as now all constants defined is in mysql_com.h
      sql/mysqld.cc:
        scramble initialization moved to sql_parce.cc:check_connection
      sql/password.c:
        All 4.1 functions were rolled back to 4.0 with attempt to save all possible 4.0-4.1 changes.
        Names for 4.0 functions were suffixed with '_323'
        Functions for new handshake were added.
      sql/slave.cc:
        Fixed to new constant; Bug #766 remains to be fixed
      sql/slave.h:
        fixed to new constant; Buf #766 remains to be fixed
      sql/sql_acl.cc:
        rewritten to support new passwords (41 byte-long) and password api
      sql/sql_acl.h:
        ditto
      sql/sql_class.cc:
        initialization for new members added
      sql/sql_class.h:
        same thing as in struct mysql - scramble is used for new family of functions, scramble_323 - for old
      sql/sql_parse.cc:
        check_connections was renamed to check_connection as this name reflects better what this function does
        authorization part of check_connection was rewritten
        check_user was rewritten with new password and acl api
        new function 'authenticate', which optionally re-request scramble from client was added
        fixed some typos
        COM_CHANGE_USER piece of dipsatch_command() was rewritten
      sql/sql_repl.h:
        HASH_PASSWORD_LENGTH replaced with SCRAMBLED_PASSWORD_CHAR_LENGTH
        bug #766 remains
      sql/sql_yacc.yy:
        Two-argument form of PASSWORD() was removed
        PASSWORD() function was fixed with new password api.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      dbb088b0
  11. 26 Jun, 2003 1 commit
    • unknown's avatar
      cond_count moved to SELECT_LEX_NODE · 54cd790b
      unknown authored
      fixed BUG #726
      
      
      mysql-test/r/subselect.result:
        test of bug #726
      mysql-test/t/subselect.test:
        test of bug #726
      sql/item_cmpfunc.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/item_subselect.cc:
        fixed current_select pointer
      sql/sql_base.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_class.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_class.h:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_lex.cc:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_lex.h:
        cond_count moved to SELECT_LEX_NODE
      sql/sql_select.cc:
        cond_count moved to SELECT_LEX_NODE
      54cd790b
  12. 30 May, 2003 1 commit
    • unknown's avatar
      character_set_server is now updatable · f46e958e
      unknown authored
      character_set_database was added
      Code optimization: reuse more code for all character sets variables
      
      
      sql/mysqld.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/set_var.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/set_var.h:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_base.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_class.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_class.h:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_db.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_load.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_table.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_yacc.yy:
        character_set_server is now updatable
        character_set_database was added
      BitKeeper/etc/ignore:
        Added scripts/mysql_create_system_tables to the ignore list
      f46e958e
  13. 26 Apr, 2003 1 commit
    • unknown's avatar
      Fix for -fbranch-probabilites (bug 268) · 62af18cb
      unknown authored
      Fix for LEFT/RIGHT/MID with multi-byte-character sets (bug 314)
      Fix for new bison 1.875
      max_insert_delayed_threads and delayed_insert_timeout now works as documented (bug 211)
      Don't show port in SHOW PROCESSLIST for system threads
      Fix problem with ORDER BY being discarded for some DISTINCT queries (bug 275)
      Fixed bug with NATURAL LEFT JOIN, NATURAL RIGHT JOIN and RIGHT JOIN when
      using many joined tables (Bug 212)
      
      
      acinclude.m4:
        Fix for -fbranch-probabilites
      configure.in:
        Fix for -fbranch-probabilites
      myisam/mi_open.c:
        Give error instead of writing to stderr (Which user can't see)
      mysql-test/r/join.result:
        Update results after change to NATURAL/LEFT/RIGHT JOIN
      mysql-test/r/join_outer.result:
        Update results after change to NATURAL/LEFT/RIGHT JOIN
      mysql-test/r/select.result:
        Update results after change to NATURAL/LEFT/RIGHT JOIN
      mysql-test/t/join.test:
        Update results after change to NATURAL/LEFT/RIGHT JOIN
      sql/item_strfunc.cc:
        Fix for LEFT/RIGHT/MID with multi-byte-character sets
      sql/mysqld.cc:
        Fix for new bison 1.875 (Wrong error text message when one got syntax error)
      sql/sql_class.cc:
        Don't show port in SHOW PROCESSLIST for system threads
      sql/sql_insert.cc:
        max_insert_delayed_threads now works as documented.
        delayed_insert_timeout now works on Linux
      sql/sql_parse.cc:
        Added comment
      sql/sql_select.cc:
        Fix problem with ORDER BY being discarded and results returned un-sorted
      sql/sql_yacc.yy:
        Fixed bug with NATURAL LEFT JOIN, NATURAL RIGHT JOIN and RIGHT JOIN when
        using many joined tables.
      62af18cb
  14. 23 Apr, 2003 1 commit
    • unknown's avatar
      Variable names have been renamed: · bb12690a
      unknown authored
        client_collation -> collation_client
        result_collation -> collation_results
        connection_collation -> collation_connection
      
      
      BitKeeper/etc/ignore:
        Added client/ssl_test to the ignore list
      bb12690a
  15. 07 Apr, 2003 1 commit
    • unknown's avatar
      sys_var_collation is now abstract class · b9b15d52
      unknown authored
      Two separate classes sys_var_client_collation and sys_var_literal_collation have been added
      for "literal_collation" and "client_collation" variables.
      
      
      b9b15d52
  16. 02 Apr, 2003 1 commit
  17. 01 Apr, 2003 1 commit
  18. 19 Mar, 2003 1 commit
    • unknown's avatar
      Added support for ULONG division with DIV · d7bedeb9
      unknown authored
      Fixed non fatal memory leak in slave code.
      
      
      mysql-test/r/func_test.result:
        Added test for DIV
      mysql-test/t/func_test.test:
        Added test for DIV
      mysys/my_alloc.c:
        More DBUG statements
      sql/item_func.cc:
        Added support for ULONG division with DIV
      sql/log_event.cc:
        Fixed memory leak (Wrong call to init_sql_alloc)
      sql/slave.cc:
        Fixed memory leak (Wrong call to init_sql_alloc)
      sql/sql_base.cc:
        More DBUG statements
      sql/sql_class.cc:
        Added init_for_queries() to fix memory leak in slave code
      sql/sql_class.h:
        Added init_for_queries() to fix memory leak in slave code
      sql/sql_error.cc:
        More DBUG statements
      sql/sql_parse.cc:
        Added init_for_queries() to fix memory leak in slave code
      sql/unireg.h:
        Moved memory defaults to include file
      d7bedeb9
  19. 18 Mar, 2003 1 commit
    • unknown's avatar
      - renamed "rnd" to "my_rnd" as the name was too generic (and is an exported · f04be0b9
      unknown authored
         symbol in libmysqlclient) (thanks to Dennis Haney for the initial patch)
       - cleanup: removed client/password.c (not used at all) and
         libmysql/password.c (should rather be a symlink to sql/password.c instead)
       - applied HPUX11 portability fix for char_val declaration to sql/password.c
         (taken from libmysql/password.c)
      
      
      BitKeeper/deleted/.del-password.c~c036d4f8b3280843:
        Delete: client/password.c
      BitKeeper/deleted/.del-password.c~76f30876e68eddb4:
        Delete: libmysql/password.c
      include/mysql_com.h:
         - replaced "rnd" with "my_rnd"
      libmysql/Makefile.am:
         - removed dead piece of code ($qs was not defined)
         - symlink password.c from the sql directory
      libmysqld/Makefile.am:
         - use password.c from the sql directory instead
      sql/item_func.cc:
         - replaced "rnd" with "my_rnd"
      sql/mysqld.cc:
         - replaced "rnd" with "my_rnd"
      sql/password.c:
         - replaced "rnd" with "my_rnd"
      sql/sql_class.cc:
         - replaced "rnd" with "my_rnd"
      sql/sql_crypt.cc:
         - replaced "rnd" with "my_rnd"
      f04be0b9
  20. 13 Mar, 2003 1 commit
  21. 11 Mar, 2003 1 commit
    • unknown's avatar
      Simple fixes (nothing notable) · fa4f6e89
      unknown authored
      dbug/dbug.c:
        Remove duplicate va_end() call
      mysql-test/mysql-test-run.sh:
        Longer stack trace from valgrind
      mysys/my_lib.c:
        Fixed wrong dbug printf
      sql/slave.cc:
        Simple optimization
      sql/sql_class.cc:
        Added DBUG info
      fa4f6e89
  22. 03 Mar, 2003 1 commit
    • unknown's avatar
      ha_innodb.h, ha_innodb.cc, handler.h, handler.cc, sql_class.cc: · e70b22e5
      unknown authored
        Fix a hang on the adaptive hash S-latch if an application program uses mysql_use_result() and performs queries on two connections at the same time
      
      
      sql/sql_class.cc:
        Fix a hang on the adaptive hash S-latch if an application program uses mysql_use_result() and performs queries on two connections at the same time
      sql/handler.cc:
        Fix a hang on the adaptive hash S-latch if an application program uses mysql_use_result() and performs queries on two connections at the same time
      sql/handler.h:
        Fix a hang on the adaptive hash S-latch if an application program uses mysql_use_result() and performs queries on two connections at the same time
      sql/ha_innodb.cc:
        Fix a hang on the adaptive hash S-latch if an application program uses mysql_use_result() and performs queries on two connections at the same time
      sql/ha_innodb.h:
        Fix a hang on the adaptive hash S-latch if an application program uses mysql_use_result() and performs queries on two connections at the same time
      e70b22e5
  23. 27 Feb, 2003 1 commit
    • unknown's avatar
      Added detection if pthread_attr_getstacksize() exists · e6dad704
      unknown authored
      Fixed bug in RAND() usage in mysqlbinlog
      
      
      configure.in:
        Added detection if pthread_attr_getstacksize() exists
      include/thr_lock.h:
        Fixed wrong comment
      sql/log_event.cc:
        Fixed bug in RAND() usage in mysqlbinlog
      sql/mysqld.cc:
        Portablity fix
      sql/repl_failsafe.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/slave.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/sql_class.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/sql_insert.cc:
        Set host_or_ip for system threads (to make other code simpler)
      sql/sql_show.cc:
        Set host_or_ip for system threads (to make other code simpler)
      e6dad704
  24. 12 Feb, 2003 1 commit
  25. 11 Feb, 2003 1 commit
    • unknown's avatar
      backporting Peter's fix for better RAND() initialization from 4.0 · 02132f55
      unknown authored
      sql/sql_class.cc:
        backporting Peter's fix for better RAND() initialization from 4.0
        to see what it does try
        perl -e 'while($N=shift) { printf "N=%-10d",$N; @b=@c=(); for (1..$N) { @A=split(" ",`mysql -BNe "select rand(), rand(), rand(), rand()"`); for(0..3) { $b[$_]+=$a[$_]; $c[$_]+=$a[$_]*$a[$_]; }} for (0..3) { printf "%15.14f ",($c[$_]-$b[$_]*$b[$_]/$N)/$N } print "\n" }' 10 10 10 100 100 10 100 1000
        before and after the fix
      02132f55
  26. 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
  27. 30 Jan, 2003 3 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
      'Replicate user variables' task · 6828a4c0
      unknown authored
      include/my_sys.h:
        Addet reset_dinamic
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      6828a4c0
    • 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
  28. 29 Jan, 2003 1 commit
  29. 28 Jan, 2003 2 commits
  30. 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
  31. 20 Jan, 2003 1 commit
    • unknown's avatar
      SCRUM · f9dff974
      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
      f9dff974
  32. 18 Jan, 2003 1 commit
  33. 16 Jan, 2003 1 commit
    • unknown's avatar
      Added support sql_mode, which can be used to produce various outputs · d08e02eb
      unknown authored
      of SHOW CREATE TABLE 'name'. Depending on the mode, the output can
      be compatible with various databases, including earlier versions of
      MySQL
      .
      
      
      sql/field.cc:
        Added support for sql_mode.
        
        Changed find_set() to be aware of possible error. If the argument
        contains a value that is not legal in the set, err_pos and err_len
        are set.
      sql/field.h:
        Added support for sql_mode.
        
        Changed find_set() to be aware of possible error. If the argument
        contains a value that is not legal in the set, err_pos and err_len
        are set.
      sql/item_func.cc:
        Added support for sql_mode.
      sql/mysql_priv.h:
        Some new sql modes.
      sql/mysqld.cc:
        Added support for sql mode, including some new modes.
      sql/set_var.cc:
        Added support for sql_mode.
        
        Added function that can be used to check values in a set.
      sql/set_var.h:
        Added support for sql_mode.
        
        Added function that can be used to check values in a set.
      sql/sql_class.cc:
        Removed previous usage of opt_sql_mode.
      sql/sql_class.h:
        Removed previous usage of opt_sql_mode.
      sql/sql_lex.cc:
        Changed previous version of sql_mode to the new noe.
      sql/sql_parse.cc:
        Changed previous version of sql_mode to the new noe.
      sql/sql_select.cc:
        Changed previous version of sql_mode to the new noe.
      sql/sql_show.cc:
        Added support for various sql_modes for printing CREATE TABLE.
      sql/sql_yacc.yy:
        Changed previous version of sql_mode to the new noe.
      d08e02eb
  34. 14 Jan, 2003 1 commit
    • unknown's avatar
      Updates for multi-byte character sets · 910c125b
      unknown authored
      (Note: test 'union' fails, but Sanja promised to fix this)
      
      
      include/m_ctype.h:
        Changed prototype for strntod() to inform the user that source may be modified.
      include/m_string.h:
        Moved my_vsnprintf to strings library
      include/my_sys.h:
        Moved my_vsnprintf to strings library
      libmysql/Makefile.shared:
        Moved my_vsnprintf to strings library
      mysql-test/r/alter_table.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/create.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/ctype_many.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/fulltext.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/innodb.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/merge.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/select.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/show_check.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_blob.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_enum.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_ranges.result:
        Moved my_vsnprintf to strings library
      mysql-test/r/type_set.result:
        Moved my_vsnprintf to strings library
      mysys/Makefile.am:
        Moved my_vsnprintf to strings library
      sql/field.cc:
        Fixed for character set handling
      sql/field.h:
        Fixed for character set handling
      sql/item.cc:
        Fixed for character set handling
      sql/item.h:
        Fixed for character set handling
      sql/item_func.cc:
        Fixed for character set handling
      sql/item_func.h:
        Fixed for character set handling
      sql/item_strfunc.cc:
        Fixed for character set handling
      sql/item_sum.cc:
        Fixed for character set handling
      sql/item_sum.h:
        Fixed for character set handling
      sql/item_timefunc.cc:
        Fixed for character set handling
      sql/mysqld.cc:
        Update to use new test_if_int()
      sql/opt_range.cc:
        Fixed for character set handling
      sql/procedure.h:
        Fixed for character set handling
      sql/sql_class.cc:
        Fixed for character set handling
      sql/sql_string.cc:
        Added multi byte support to append.
        Added set_latin1()
      sql/sql_string.h:
        Added set_latin1()
      sql/sql_update.cc:
        Cosmetic changes
      strings/Makefile.am:
        Moved my_vsnprintf to strings library
      strings/ctype-simple.c:
        Code review + cleanup
      strings/ctype-utf8.c:
        Fixed strntod()
      strings/my_vsnprintf.c:
        Added support for %#d and %#u
      910c125b
  35. 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
  36. 29 Dec, 2002 1 commit