An error occurred fetching the project authors.
  1. 18 Aug, 2003 1 commit
    • unknown's avatar
      After merge fixes · 89ad93a8
      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
      89ad93a8
  2. 18 Jul, 2003 1 commit
    • unknown's avatar
      Style fixes, comments for 4.1.1 authorization · a4b15d53
      unknown authored
      Now special 1-byte packet is used for request of old password
      Fixed bug with --skip-grant-tables and acl_getroot
      
      
      include/mysql.h:
        removed scramble_323 member as now scramble_323 function does not count
        on trailing zero for scramble
      include/mysql_com.h:
        updated declarations
      libmysql/libmysql.c:
        now server sends special 1-byte packet instead of old scramble
        to re-request password.
        mysql->scramble_323 replaced with mysql->scramble
      sql-common/client.c:
        now server sends special 1-byte packet instead of old scramble
        to re-request password.
        mysql->scramble_323 replaces with mysql->scramble
      sql/password.c:
        comments beautified
        hash_password now accepts password length
      sql/protocol.cc:
        added send_old_password_request function
      sql/protocol.h:
        added send_old_password_request function
      sql/sql_acl.cc:
        style fixes, bug with --skip-grant-tables and acl_getroot
        fixed
      sql/sql_class.h:
        thd->scramble_323 removed as now
        old functions accept not null-terminated scrambles
      sql/sql_crypt.cc:
        fixed with new hash_password proto
      sql/sql_parse.cc:
        style fixes
        few comments added
      a4b15d53
  3. 08 Jul, 2003 1 commit
    • unknown's avatar
      implementation of mysql_stmt_reset client end · e6407dfd
      unknown authored
      include/mysql.h:
        add mysql_stmt_reset prototype
      include/mysql_com.h:
        add COM_STMT_RESET
      libmysql/libmysql.def:
        Add mysql_stmt_reset def
      sql/sql_prepare.cc:
        Fix selects hang after windows slowdown issue fix (send_fields)
      sql/sql_parse.cc:
        Add COM_STMT_RESET
      sql/mysql_priv.h:
        add defination of mysql_stmt_reset
      e6407dfd
  4. 07 Jul, 2003 1 commit
    • unknown's avatar
      Preliminary support for options --secure-auth, · c9d13748
      unknown authored
      --old-passwords
      Support for option --old-protocol was removed.
      Some test performed.
      Tests for SSL and replication are pending.
      More strict following to specification for --old-passwords
      is in the TODO.
      
      
      include/mysql_com.h:
        support for 3.20 passwords removed from
        scramble_323
      include/mysqld_error.h:
        added error code for --secure-auth mode
      libmysql/libmysql.c:
        removed support for 3.20 password and protocol
        version 9
      mysql-test/r/connect.result:
        added check for new syntax of 
        set password
      mysql-test/r/func_crypt.result:
        tests for two-argument of password() were removed.
        Instead added tests for cooperation of password() and
        old_passwords session/global variable, passwords() and spaces 
        in argument string
      mysql-test/t/connect.test:
        added check for new syntax of
        set password
      mysql-test/t/func_crypt.test:
        tests for two-argument of password() were removed.
        Instead added tests for cooperation of password() and
        old_passwords session/global variable, passwords() and spaces 
        in argument string
      sql-common/client.c:
        removed support for 3.20 servers and 
        protocol version 9
      sql/item_strfunc.h:
        fixed comment
      sql/mysql_priv.h:
        added declarartion for option opt_secure_auth
      sql/mysqld.cc:
        added option opt_secure_auth
        option old-password placed according to
        sort order
      sql/password.c:
        removed support for 3.20 clients and 
        old scrambles
      sql/set_var.cc:
        added system variable 'secure_auth'
        added system/thread variable 'old_passwords'
      sql/set_var.h:
        sys_old_passwords needs to be exported 
        because sys_old_passwords.after_update is used
        in sql_acl.cc
      sql/sql_acl.cc:
        support for 3.20 passwords removed
        now acl_init honors options works properly with
        options/variables --secure-auth and --old-passwords
      sql/sql_acl.h:
        support for 3.20 clients removed
      sql/sql_class.h:
        added system/thread variable old_passwords
      sql/sql_parse.cc:
        support for 3.20 clients removed
        now check_user takes into account option
        secure_auth
      sql/sql_yacc.yy:
        global variable use_old_passwords 
        replaced with thread-specific variable 
        old_passwords
      sql/share/czech/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/danish/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/dutch/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/english/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/estonian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/french/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/german/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/greek/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/hungarian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/italian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/japanese/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/korean/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/norwegian-ny/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/norwegian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/polish/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/portuguese/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/romanian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/russian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/serbian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/slovak/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/spanish/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/swedish/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      sql/share/ukrainian/errmsg.txt:
        error message for --secure-auth added
        (as suggested by Paul)
      c9d13748
  5. 04 Jul, 2003 2 commits
    • unknown's avatar
      Bug fixes for authentication · 42c7698c
      unknown authored
      OLD_PASSWORD made a keyword to allow set password=old_password('abc') constructions.
      
      
      BitKeeper/etc/ignore:
        Added BitKeeper/post-commit BitKeeper/post-commit-manual build_tags.sh tests/connect_test BUILD/compile-pentium-maintainer to the ignore list
      include/mysql_com.h:
        scramble return type changed to void as now it's not used
      libmysql/libmysql.c:
        fixed bug with with failed authentification when scramble contained zero byte
      sql-common/client.c:
        applied patch from Lycos team
        fixed bug with scramble containing zero byte
      sql/item_create.cc:
        removed create_func_old_password, create_func_password as they are not used any more
      sql/item_create.h:
        removed create_func_old_password, create_func_password as they are not used any more
      sql/item_strfunc.cc:
        Added alloc() function to Item_func_password, Item_func_old_password, which is used in sql_yacc.yy
      sql/item_strfunc.h:
        Added alloc() function to Item_func_password, Item_func_old_password, which is used in sql_yacc.yy
      sql/lex.h:
        OLD_PASSWORD now is keyword, to allow statements like
        set password=old_password('abc')
      sql/password.c:
        fixed scramble return value
        trailing zero now is not written
      sql/sql_acl.cc:
        incorporated patch from Lycos team
        41 replaced with constant
        acl_getroot rewritten to support ER_AUTH_... error
      sql/sql_parse.cc:
        authenticate merged with check_user
        check_user return values reversed, support for ER_AUTH in check_user.added
      sql/sql_yacc.yy:
        OLD_PASSWORD now is keyword, to allow statements like
        set password=old_password('abc')
      42c7698c
    • unknown's avatar
      SCRUM · 6ca76051
      unknown authored
      Including client code into embedded library
      
      Code trimming (fixes of comments etc)
      
      
      include/mysql_com.h:
        Comment fixed
      include/mysql_embed.h:
        comment fixed
      include/violite.h:
        comment fixed
      libmysql/libmysql.c:
        #undef should work anyway
      libmysqld/libmysqld.c:
        comment fixed
      sql-common/client.c:
        #undef should work anyway
      sql/net_serv.cc:
        #undef should work anyway
      6ca76051
  6. 01 Jul, 2003 1 commit
    • unknown's avatar
      First version of new authentification procedure: now authentification is... · 2b0a481c
      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
      2b0a481c
  7. 18 Jun, 2003 1 commit
    • unknown's avatar
      SCRUM · 7b2b9e71
      unknown authored
      including client code into embedded server
      code to guess what library to use added
      net_field_length moved to pack.c
      
      
      include/mysql.h:
        typedefinitions moved for suitability
        mysql_option.methods_to_use added
      include/mysql_com.h:
        net_store_length declaration
      libmysql/libmysql.c:
        net_store_length moved to sql-common/pack.c
      libmysqld/libmysqld.c:
        added code to guess whether to use remote or embedded connection
      sql-common/client.c:
        options checking added
      sql-common/pack.c:
        net_store_length implementation moved here
      sql/protocol.cc:
        net_store_length moved to sql-common/pack.c
      7b2b9e71
  8. 17 Jun, 2003 1 commit
    • unknown's avatar
      SCRUM · 1315f390
      unknown authored
      client capabilities included into libmysqld
      some API methods became "virtual"
      lots of duplicated code removed
      
      IMHO all the above made library's code way more pleasant to look at, didn't it?
      
      
      BitKeeper/deleted/.del-lib_vio.c~d779731a1e391220:
        Delete: libmysqld/lib_vio.c
      BitKeeper/etc/ignore:
        Added libmysqld/client.c libmysqld/client_settings.h libmysqld/libmysql.c libmysqld/pack.c to the ignore list
      client/mysqltest.c:
        we don't need this now
      include/mysql.h:
        MYSQL and related structures unified
        four methods made "virtual"
        relative wrappers added
      include/mysql_com.h:
        todo added
      include/mysql_embed.h:
        now we include implementations of Vio structure in libmysqld
      include/sql_common.h:
        declarations changed
      include/violite.h:
        implementation of Vio included in libmysqld
      libmysql/client_settings.h:
        changes to make this working with both client and embedded
      libmysql/libmysql.c:
        global variables and my_net_local_init moved to sql-common/pack.c
      libmysqld/Makefile.am:
        libmysql.c, client.c, pack.c symlinked and added to sources
        lib_vio.c removed
      libmysqld/examples/Makefile.am:
        now we need CLIENT_LIBS here
      libmysqld/lib_sql.cc:
        code duplications removed
        emb_advanced_command was made from simple_command
      libmysqld/libmysqld.c:
        duplicated code removed
      sql-common/client.c:
        code trimmed with new model of calling
      sql-common/pack.c:
        some code moved here from libmysql.c and protocol.cc
      sql/client_settings.h:
        we don't need mysql_use_result for mini_client
      sql/net_serv.cc:
        file included in embedded server
      sql/protocol.cc:
        code moved to sql-common/pack.c
      1315f390
  9. 14 Jun, 2003 1 commit
    • unknown's avatar
      Cleanup after split of libmysql.c to client.c and libmysql.c. A 4.1... · cb9dfd2a
      unknown authored
      Cleanup after split of libmysql.c to client.c and libmysql.c.  A 4.1 master/slave will now use the 4.1 protocol
      Fixed wrong value for SQLSTATE_LENGTH
      Added CLIENT_REMEMBER_OPTIONS to mysql_real_connect()
      Changed mysql_port and mysql_unix_port to mysqld_xxxx
      
      
      client/mysql.cc:
        Removed valgrind & compiler warnings
      client/sql_string.h:
        Fix to remove valgrind warnings
      include/mysql.h:
        Added read_timeout and write_timeout to mysql options struct.
        This is to be used for slave when connection to master.
        code cleanup
      include/mysql_com.h:
        Fixed wrong value for SQLSTATE_LENGTH
        Added CLIENT_REMEMBER_OPTIONS
      include/sql_common.h:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      include/sql_state.h:
        Removed default states
      libmysql/client_settings.h:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      libmysql/libmysql.c:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      mysql-test/r/type_blob.result:
        Update results after someone updated error messages without running tests
      mysys/charset.c:
        More debug information
      mysys/errors.c:
        Fixed wrong error message
      sql-common/client.c:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      sql/Makefile.am:
        Added sql_client.cc
      sql/client_settings.h:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      sql/log.cc:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/mysql_priv.h:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/mysqld.cc:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/protocol.cc:
        Fix for SQLSTATE_LENGTH
        Moved function to sql_client.c
      sql/repl_failsafe.cc:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      sql/set_var.cc:
        Changed mysql_port and mysql_unix_port to mysqld_xxxx
      sql/slave.cc:
        Cleanup after split of libmysql.c to client.c and libmysql.c
      cb9dfd2a
  10. 08 Jun, 2003 1 commit
    • unknown's avatar
      Fix for mysql_list_fields & reset stmt buffers from stmt_free_result · 5c2c1318
      unknown authored
        Windows build fix 
      
      
      VC++Files/sql/mysqld.dsp:
        Added sql_state.c to wrk space
      include/mysql_com.h:
        Windows build fix (mismatch declaration of my_bool and bool from defination)
      include/thr_alarm.h:
        Windows build fix
      libmysql/libmysql.c:
        Fix for mysql_list_fields & reset stmt buffers from stmt_free_result
      tests/client_test.c:
        Updated test for DEFAULT value for mysql_list_fields()
        New tests for mysql_stmt_free_result()
      5c2c1318
  11. 04 Jun, 2003 2 commits
    • 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
    • unknown's avatar
      SCRUM · a8be856b
      unknown authored
      simultaneously usable libraries
      
      unification of client structures
      
      
      include/mysql.h:
        Unification of MYSQL structure for client library and embedded library
      include/mysql_com.h:
        unification NET structure for client and embedded library
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      a8be856b
  12. 26 May, 2003 2 commits
    • unknown's avatar
      New 4.1 protocol; SQLSTATE, CLIENT_MULTI_RESULTS, client character set · a8184622
      unknown authored
       
      
      
      Docs/internals.texi:
        Updated protocol information
      include/mysql.h:
        Added catalog to MYSQL_FIELD
        Added sqlstate handling to protocol
      include/mysql_com.h:
        New 4.1 protocol
      libmysql/libmysql.c:
        Added sqlstate handling
        Added CLIENT_MULTI_RESULTS
      sql/field.cc:
        Indentation cleanup
      sql/field.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Changed arguments to close_connection()
      sql/mysqld.cc:
        Changed arguments to close_connection()
        Added checking of extra arguments to mysqld
      sql/protocol.cc:
        Fixed bug in TIME handling
        Added SQLSTATE on errors
        Removed net_send_error()
      sql/protocol.h:
        Removed net_send_error()
      sql/repl_failsafe.cc:
        Fixed arguments to close_connection()
      sql/sql_parse.cc:
        New 4.1 protocol
      a8184622
    • unknown's avatar
      Remove not used flag · 3a7fa9ce
      unknown authored
      3a7fa9ce
  13. 28 Apr, 2003 1 commit
    • unknown's avatar
      SCRUM · f7e7eb65
      unknown authored
      Protocol_cursor task
      net_field_length definitions trimmed with Monty's suggestions
      
      
      BitKeeper/etc/ignore:
        Added sql/pack.c to the ignore list
      include/my_global.h:
        my_ulonglong definition moved here from mysql.h
      include/mysql.h:
        we define my_ulonglong here only if no global.h included
      include/mysql_com.h:
        net_field_length_ll definition is here now
      sql/mini_client.cc:
        unnecessary cast removed
      f7e7eb65
  14. 23 Apr, 2003 1 commit
    • unknown's avatar
      SCRUM · 924a36ec
      unknown authored
      Protocol_cursor class and sql-common/ directory
      
      
      Makefile.am:
        pack.c added to linked sources
      include/mysql.h:
        net_field_length_ll declaration added
      include/mysql_com.h:
        net_field_length declaration added
      libmysql/Makefile.am:
        sql-common files symlinked
      libmysql/Makefile.shared:
        pack.lo target added
      libmysql/libmysql.c:
        net_field_length removed from here
      sql/Makefile.am:
        pack.c added to the sources
      sql/mini_client.cc:
        mc_net_field_length functions replaced with net_field_length
      sql/protocol.h:
        Protocol_cursor class added
      924a36ec
  15. 18 Mar, 2003 1 commit
    • unknown's avatar
      - renamed "rnd" to "my_rnd" as the name was too generic (and is an exported · 03e0f959
      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"
      03e0f959
  16. 07 Feb, 2003 1 commit
    • unknown's avatar
      After merge fixes & remove compiler warnings · 46f98c3c
      unknown authored
      Added lengths for all MYSQL_FIELD string parameters
      Changed field length to 2 byte in .frm files
      
      
      configure.in:
        After merge fixes
      include/ft_global.h:
        Fixed copyright
      include/my_sys.h:
        Remove compiler warnings
      include/mysql.h:
        Added lengths for all MYSQL_FIELD string parameters
      include/mysql_com.h:
        Remove compiler warning
      myisam/ft_boolean_search.c:
        Removed compiler warnings
      myisam/ft_dump.c:
        Removed compiler warnings
      myisam/ft_stopwords.c:
        Copy file from MySQL 4.0
      myisam/mi_delete.c:
        Fixed compiler warning
      myisam/sort.c:
        Indentation changes
      myisam/sp_test.c:
        Remove compiler warnings
      mysql-test/r/func_group.result:
        After merge fixes
      mysql-test/r/group_by.result:
        After merge fixes
      mysql-test/r/rpl_insert_id.result:
        After merge fixes
      mysql-test/r/rpl_master_pos_wait.result:
        After merge fixes
      mysql-test/t/rpl000009.test:
        After merge fixes
      mysql-test/t/rpl_insert_id.test:
        After merge fixes
      mysql-test/t/subselect.test:
        After merge fixes
      sql/item_cmpfunc.cc:
        After merge fixes
      sql/item_cmpfunc.h:
        After merge fixes
      sql/item_func.cc:
        After merge fixes
      sql/item_func.h:
        After merge fixes
      sql/item_strfunc.cc:
        After merge fixes
      sql/item_strfunc.h:
        After merge fixes
      sql/log.cc:
        After merge fixes
      sql/mysql_priv.h:
        After merge fixes
      sql/mysqld.cc:
        After merge fixes
      sql/sql_db.cc:
        After merge fixes
      sql/sql_handler.cc:
        After merge fixes
      sql/sql_parse.cc:
        After merge fixes
      sql/sql_show.cc:
        After merge fixes
      sql/sql_udf.cc:
        After merge fixes
      sql/table.cc:
        Changed field length to 2 byte in .frm files
      sql/unireg.cc:
        Changed field length to 2 byte in .frm files
      46f98c3c
  17. 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
  18. 18 Jan, 2003 1 commit
  19. 04 Jan, 2003 1 commit
    • unknown's avatar
      Added support for max_allowed_packet in option files read by mysql_option() · 5281333e
      unknown authored
      Extended max_allowed_packet for clients to 1G
      Fixed bug in sending compressed rows >= 16M
      Fix bug in skiping too long packets from clients.
      Added checking of wrong command number sent by client.
      
      
      include/mysql.h:
        Added max_allowed_packet as option parameter.
      include/mysql_com.h:
        Added COM_END to be able to check for wrong commands.
      libmysql/libmysql.c:
        Extended max_allowed_packet for clients to 1G
        Added support for max_allowed_packet in option files read by mysql_option()
      mysys/my_compress.c:
        Debugging output
      sql/net_pkg.cc:
        Fixed wrong handling of blobs >= 16M
      sql/net_serv.cc:
        Changed MAX_THREE_BYTES -> MAX_PACKET_LENGTH
        More DEBUG output and more comments
        Fixed bug in sending compressed rows >= 16M
        Optimized sending of big packets (fewer memcpy and compress data in bigger blocks)
        Fix bug in skiping too long packets from clients.
        (old code didn't always work for big packets)
      sql/sql_class.h:
        Changed type of variable
      sql/sql_parse.cc:
        Added checking of wrong command number sent by client.
        Changed handling of too big packets to make code safer
      tests/big_record.pl:
        E
      5281333e
  20. 20 Dec, 2002 1 commit
    • unknown's avatar
      mysql_com.h: · 3e7d0c79
      unknown authored
        ulong fails to compile on FreeBSD. Peter, alsways use "unsigned long" instead!!!
      
      
      include/mysql_com.h:
        ulong fails to compile on FreeBSD. Peter, alsways use "unsigned long" instead!!!
      3e7d0c79
  21. 19 Dec, 2002 1 commit
  22. 16 Dec, 2002 1 commit
    • unknown's avatar
      Big purge about embedded library (scrum) · a42aa8db
      unknown authored
      client/mysql.cc:
        #ifdef EMBEDDED_LIBRARY added
      client/mysqltest.c:
        #ifdef EMBEDDED_LIBRARY added
      include/mysql.h:
        MYSQL structure changed for embedded case
      include/mysql_com.h:
        NET structure changed for embedded case
      include/violite.h:
        no need to special vio types
      libmysqld/embedded_priv.h:
        superfluous functions removed
      libmysqld/lib_sql.cc:
        several modifications
      libmysqld/lib_vio.c:
        file should be removed
      libmysqld/libmysqld.c:
        several modifications
      sql/ha_berkeley.cc:
        modification for embedded case
      sql/ha_innodb.cc:
        modifications for embedded case
      sql/ha_myisam.cc:
        modifications for embedded case
      sql/item_func.cc:
        modifications for embedded case
      sql/log.cc:
        #ifdef-ed parts of file which don't work in embedded case
      sql/log_event.cc:
        #ifdef-ed parts of file which don't work in embedded case
      sql/log_event.h:
        #ifdef-ed parts of file which don't work in embedded case
      sql/mf_iocache.cc:
        file doesn't work in embedded case
      sql/mini_client.cc:
        file should be removed from embedded library
      sql/mysqld.cc:
        several modifications
      sql/net_pkg.cc:
        #ifdef-ed functions which can't work in embedded case
      sql/net_serv.cc:
        file doesn't work in embedded case
      sql/repl_failsafe.cc:
        no replication in embedded case
      sql/repl_failsafe.h:
        no replication in embedded case
      sql/set_var.cc:
        #ifdef-ed variables which have no sense in embedded library
      sql/set_var.h:
        #ifdef-ed variables which have no sense in embedded library
      sql/slave.cc:
        no replication in embedded library
      sql/slave.h:
        no replication in embedded library
      sql/sql_acl.cc:
        modifications for embedded case
      sql/sql_cache.cc:
        modifications for embedded case
      sql/sql_class.cc:
        modifications for embedded case
      sql/sql_class.h:
        THD structure modified for embedded case
      sql/sql_db.cc:
        modification for embedded case
      sql/sql_error.cc:
        modification for embedded case
      sql/sql_help.cc:
        modification for embedded case
      sql/sql_load.cc:
        #ifdef-ed code which doesn't work in embedded case
      sql/sql_parse.cc:
        #ifdef-ed code which doesn't work in embedded case
      sql/sql_prepare.cc:
        #ifdef-ed code which doesn't work in embedded case
      sql/sql_repl.cc:
        no replication in embedded library
      sql/sql_repl.h:
        no replication in embedded library
      sql/sql_select.cc:
        query cache don't work now in embedded library
      sql/sql_show.cc:
        modifications for embedded case
      a42aa8db
  23. 07 Dec, 2002 1 commit
    • unknown's avatar
      item.cc: · 0d60b0c6
      unknown authored
        Fix for save_in_field to take extra bool argumnet (4.0 merge compatibility)
      
      
      sql/item.cc:
        Fix for save_in_field to take extra bool argumnet (missed one)
      sql/sql_prepare.cc:
        cleanups for init_param_items
      0d60b0c6
  24. 04 Dec, 2002 1 commit
    • unknown's avatar
      SCRAM Remove spaces from most changed files. · 66d44ac8
      unknown authored
      This alters not only my code so it looks like I'm not only one adding the spaces.
      
      
      
      client/mysqladmin.c:
        cut spaces
      include/mysql_com.h:
        cut soaces
      sql/item_strfunc.cc:
        cut spaces
      sql/mini_client.cc:
        cut spaces
      sql/mysql_priv.h:
        cut spaces
      sql/mysqld.cc:
        cut spaces
      sql/password.c:
        cut spaces
      sql/sql_parse.cc:
        cut spaces
      sql/sql_yacc.yy:
        cut spaces
      66d44ac8
  25. 30 Nov, 2002 2 commits
    • unknown's avatar
      SCRUM: Montymise code · 842f81e0
      unknown authored
             fix mysql_change_user() for old clients
      
      
      include/mysql_com.h:
        Mover global defines here
      libmysql/libmysql.c:
        Remove end spaces from all lines
      scripts/mysql_fix_privilege_tables.sh:
        Move password modification to separate alter table
      sql/mini_client.cc:
        Defines, fold long lines
      sql/mysqld.cc:
        Backup old scramble for mysql_change_user to work from old clients
      sql/password.c:
        Several minor optimizations
      sql/sql_acl.cc:
        Remove ending spaces
      sql/sql_class.h:
        Add old scramble for mysql_change_user to work with old clients
      sql/sql_parse.cc:
        Remove end spaces.
      842f81e0
    • unknown's avatar
      SCRUM: Secure auth · a7339b76
      unknown authored
      Implement mysql_change_user
      Get rid of double user search at authentication
      Some cleanups
      
      
      client/mysqladmin.c:
        Fix long line
      include/mysql_com.h:
        Fix long lines
      libmysql/libmysql.c:
        mysql_change_user() for new auth + some fixes
      sql/password.c:
        Add author info so who is guilty in errors would be known :)
      sql/sql_acl.cc:
        Move class definitions to .h
      sql/sql_acl.h:
        Add class definitions
      sql/sql_parse.cc:
        Get rid of double user search. Implement mysql_change_user
      a7339b76
  26. 29 Nov, 2002 1 commit
    • unknown's avatar
      Correct bug which exposed itself in rpl000017 · 2cff1d65
      unknown authored
      Commit for merge 
      
      
      client/connect_test.c:
        Roll back wrong change
      include/mysql_com.h:
        Correct prototypes not to have need to include my_global.h
      sql/mysql_priv.h:
        Add expected hash lenght for old paswords.
      sql/password.c:
        Change prototypes
      sql/sql_acl.cc:
        Minor bug correction
      2cff1d65
  27. 24 Nov, 2002 1 commit
    • unknown's avatar
      SCRUM: Main change for Secure connection handling. Still needs some more coding. Commit · aa369242
      unknown authored
      done for merge with newer version of code.
      
      
      client/mysqladmin.c:
        Support for new password format
      include/mysql.h:
        Increase buffer as new scramble is larger
      include/mysql_com.h:
        Add new prototypes for new auth handling
      libmysql/libmysql.c:
        New handshake handling code
      mysql-test/install_test_db.sh:
        Extend password length to handle new passwords
      mysql-test/t/rpl000017-slave.sh:
        Adjust test to work with longer password
      scripts/mysql_fix_privilege_tables.sh:
        Increase password length at priv table convertion
      scripts/mysql_install_db.sh:
        Longer passwords
      sql/item_strfunc.cc:
        New password generation function needs seed for password generation
      sql/mini_client.cc:
        Change MiniClient to handle new auth in replication
      sql/mysqld.cc:
        Remove unneeded flag (was added earlier for same change)
      sql/password.c:
        A lot of changes to handle new authentication and doccumentation
      sql/sql_acl.cc:
        Password handling function adjustment
      sql/sql_acl.h:
        Change prototype
      sql/sql_class.h:
        Extend scramble length
      sql/sql_parse.cc:
        Handling server side of new authentication
      sql/sql_yacc.yy:
        Adjustment for new prototypes
      aa369242
  28. 22 Nov, 2002 1 commit
  29. 15 Nov, 2002 1 commit
    • unknown's avatar
      basic row Items (SCRUM) · 88a9d3e0
      unknown authored
      include/mysql_com.h:
        basic row Items
      include/mysqld_error.h:
        more wide error mening
      libmysqld/Makefile.am:
        basic row Items
      mysql-test/r/subselect.result:
        more wide error mening
      sql/Makefile.am:
        basic row Items
      sql/filesort.cc:
        basic row Items
      sql/item.cc:
        basic row Items
      sql/item.h:
        basic row Items
      sql/item_cmpfunc.cc:
        basic row Items
      sql/item_cmpfunc.h:
        basic row Items
      sql/item_func.cc:
        basic row Items
      sql/item_func.h:
        basic row Items
      sql/item_strfunc.cc:
        basic row Items
      sql/item_strfunc.h:
        basic row Items
      sql/item_subselect.cc:
        basic row Items
      sql/item_sum.cc:
        basic row Items
      sql/share/czech/errmsg.txt:
        more wide error mening
      sql/share/danish/errmsg.txt:
        more wide error mening
      sql/share/dutch/errmsg.txt:
        more wide error mening
      sql/share/english/errmsg.txt:
        more wide error mening
      sql/share/estonian/errmsg.txt:
        more wide error mening
      sql/share/french/errmsg.txt:
        more wide error mening
      sql/share/german/errmsg.txt:
        more wide error mening
      sql/share/greek/errmsg.txt:
        more wide error mening
      sql/share/hungarian/errmsg.txt:
        more wide error mening
      sql/share/italian/errmsg.txt:
        more wide error mening
      sql/share/japanese/errmsg.txt:
        more wide error mening
      sql/share/korean/errmsg.txt:
        more wide error mening
      sql/share/norwegian-ny/errmsg.txt:
        more wide error mening
      sql/share/norwegian/errmsg.txt:
        more wide error mening
      sql/share/polish/errmsg.txt:
        more wide error mening
      sql/share/portuguese/errmsg.txt:
        more wide error mening
      sql/share/romanian/errmsg.txt:
        more wide error mening
      sql/share/russian/errmsg.txt:
        more wide error mening
      sql/share/serbian/errmsg.txt:
        more wide error mening
      sql/share/slovak/errmsg.txt:
        more wide error mening
      sql/share/spanish/errmsg.txt:
        more wide error mening
      sql/share/swedish/errmsg.txt:
        more wide error mening
      sql/share/ukrainian/errmsg.txt:
        more wide error mening
      sql/sql_base.cc:
        fix_fields error handling
      sql/sql_lex.cc:
        basic row Items
      sql/sql_select.cc:
        basic row Items
      sql/sql_yacc.yy:
        basic row Items
      88a9d3e0
  30. 05 Nov, 2002 1 commit
  31. 25 Oct, 2002 1 commit
  32. 19 Oct, 2002 1 commit
  33. 06 Oct, 2002 1 commit
    • unknown's avatar
      One more commit to do the merge of new 4.1 tree · abe55535
      unknown authored
      client/mysqladmin.c:
        Handle new password.c prototypes
      include/mysql_com.h:
        New prototypes
      libmysql/Makefile.shared:
        Client need sha1 compiled in now
      libmysql/password.c:
        Replace copy with symlink
      mysql-test/r/func_crypt.result:
        Fix test results to handle new password function
      mysql-test/t/func_crypt.test:
        New tests for new password function
      sql/item_create.cc:
        add old_password() function
      sql/item_create.h:
        add old_password() function
      sql/item_strfunc.cc:
        add old_password() function
        changes to new password.c functions prototypes
      sql/item_strfunc.h:
        add old_password function
        handle new prototypes
      sql/lex.h:
        add OLD_PASSWORD function
      sql/password.c:
        Continue to work on new password handling
      sql/sql_acl.cc:
        Handle new passwords
      sql/sql_yacc.yy:
        Changes for new prototypes
      abe55535
  34. 02 Oct, 2002 2 commits
    • unknown's avatar
      Changeset to deal with 4.1 -> 4.0 merge · 2bf2be29
      unknown authored
      include/mysql_com.h:
        Partial changes for new secure connection handing required to 
        pull 4.0 -> 4.1 merge
      sql/item_strfunc.cc:
        Handling of dynamic possible length for password
      sql/item_strfunc.h:
        Larger buffer for password
      sql/mysqld.cc:
        Added option to force old password format
      sql/password.c:
        Begin implementing new hashing
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      2bf2be29
    • unknown's avatar
      Fixes and code cleanups after merge with 4.0.3 · 5f6e2afe
      unknown authored
      Warning handling and initial prepared statement handling (last not complete yet)
      Changed a lot of functions that returned 0/1 to my_bool type.
      GRANT handling now uses read/write locks instead of mutex
      Change basic net functions to use THD instead of NET
      (needed for 4.1 protocol)
      Use my_sprintf instead of sprintf() + strlen()
      Added alloc_query() to be able to chare query initialization code with
      prepared statements.
      Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      
      Note that the following test fails (will be fixed ASAP):
      sub_select, union, rpl_rotate_logs and rpl_mystery22
      
      
      BitKeeper/deleted/.del-README~3449730baf983117:
        Delete: mysql-test/t/README
      BitKeeper/deleted/.del-sql_error.cc~2f1caca8d2485dbe:
        Delete: libmysqld/sql_error.cc
      BitKeeper/deleted/.del-sql_prepare.cc~f703729793935ed6:
        Delete: libmysqld/sql_prepare.cc
      Docs/manual.texi:
        Updated variable list
      client/mysql.cc:
        Show warning count to user.
      client/mysqltest.c:
        Add warnings to test results
      configure.in:
        New shared library version number
      include/errmsg.h:
        Indentation cleanup
      include/mysql.h:
        Removed MYSQL_ERROR
        Indentaion cleanups
      include/mysql_com.h:
        Changed functions to returns true/false to my_bool.
      include/mysqld_error.h:
        New error messages
      isam/pack_isam.c:
        Indentation change
      libmysql/Makefile.am:
        Fix of wrong merge
      libmysql/Makefile.shared:
        Indentation cleanup
      libmysql/errmsg.c:
        Removed not used errors
      libmysql/libmysql.c:
        Change functions to return 1 on error (not -1)
        Change type of functions that returns 0/1 to my_bool
        Lot of code optimizations.
        Lot of changes for prepared statements. This now handles sending of binary data to server.
        Receving of binary data is not yet done (will have to wait until server code for this is ready)
        mysql_warning_count and mysql_warnings() implemented.
      libmysql/libmysql.def:
        Added mysql_warnings and mysql_warning_count
      libmysql/manager.c:
        Fixed wrong testing of result from my_connect()
      libmysqld/lib_sql.cc:
        Removed global variable THR_NET
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      libmysqld/libmysqld.c:
        Changed functions to be my_bool
      myisam/ft_boolean_search.c:
        Trivial code cleanup
      myisam/ft_stopwords.c:
        Trivial code cleanup
      myisam/mi_check.c:
        Update to 4.1 structures
      myisam/myisampack.c:
        Trivial code cleanup
      myisam/rt_key.c:
        Code cleanup
      myisam/rt_test.c:
        Code cleanup
        Removed compiler warnings
      myisam/sp_key.c:
        Indentation changes
      myisam/sp_test.c:
        Removed compiler warnings
      mysql-test/README:
        Updated to reflect the new --external flag.
      mysql-test/mysql-test-run.sh:
        --local (start new server) is now default.
        Use --external to test against external server.
      mysql-test/r/rollback.result:
        Updated for 4.1 warnings
      mysql-test/r/rpl_log.result:
        Update for 4.1
      mysql-test/t/rollback.test:
        Updated for 4.1 warnings
      mysql-test/t/rpl_log_pos.test:
        Portability fix
      mysys/hash.c:
        Indentation change
      mysys/my_error.c:
        Indentation change
      mysys/tree.c:
        Updated file description
      sql/field.cc:
        Fixed bugs introduced by merge
        Use my_sprintf instead of sprintf() + strlen()
      sql/field.h:
        Add CHARSET_INFO to field structure
      sql/gstream.h:
        Indentation changes.
        Added GPL copyright header
      sql/ha_innodb.cc:
        Updated parameters for net functions.
      sql/item.cc:
        Updates of Item_param
        Indentation changes
      sql/item.h:
        Removed size_of() function from item.
      sql/item_func.cc:
        Update function usage for 4.1
        Added get_system_var()
      sql/item_func.h:
        Indentation change
      sql/item_strfunc.cc:
        Removed not needed inclusion of gstream.h
        Update to use system variables (from 4.0)
      sql/item_sum.h:
        Removed size_of() functions from item.
      sql/item_timefunc.cc:
        Change sprintf() + strlen() -> my_sprintf()
        Added length parameter to ->append()
      sql/item_timefunc.h:
        Removed size_of() functions from item.
      sql/item_uniq.h:
        Removed size_of() functions from item.
      sql/lex.h:
        Removed SQL_ERROR_COUNT variable
      sql/log.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/log_event.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/mini_client.cc:
        Added check that one always specifies a length to mc_mysql_query()
      sql/mysql_priv.h:
        New prototypes
        Change of NET -> THD parameter for net functions.
      sql/mysqld.cc:
        New startup options:  'max_prepared_statements', 'max_error_count'
        Updated usage of net functions.
      sql/net_pkg.cc:
        Change basic net functions to use THD instead of NET
        (needed to be able to handle 4.0 and 4.1 protocols)
        Lots of function comments
      sql/net_serv.cc:
        Change int return values -> my_bool
        Updated net_write_command() to take an extra header block to be added to the packet.
        (This made the prepared statement code much nicer and more efficient)
      sql/repl_failsafe.cc:
        Update net functions to use THD instead of NET
      sql/set_var.cc:
        Added @@error_count and @@warning_count variables.
        Updated to 4.1 function usage
      sql/set_var.h:
        Added @@error_count and @@warning_count variables.
      sql/share/czech/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/english/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/greek/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/hungarian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/japanese/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/korean/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian-ny/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/polish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/romanian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/slovak/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/swedish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/slave.cc:
        Change basic net functions to use THD instead of NET
        skip_load_data_file recoded to fit new client/server protocol
      sql/spatial.h:
        Added copyright header
        Indentation cleanups
      sql/sql_acl.cc:
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      sql/sql_analyse.cc:
        Change basic net functions to use THD instead of NET
        sprintf() + strlen() -> my_sprintf()
      sql/sql_base.cc:
        More DBUG statements
      sql/sql_class.cc:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_class.h:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_db.cc:
        Code cleanup & optimization.
      sql/sql_delete.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_derived.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_do.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_error.cc:
        Big rewrite of error handling.
      sql/sql_handler.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_insert.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.h:
        Added param_count to st_select_lex_node
      sql/sql_list.h:
        Removed not needed error list.
      sql/sql_load.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_parse.cc:
        Change basic net functions to use THD instead of NET
        Added alloc_query() to be able to chare query initialization code with
        prepared statements.
        Update of warning handling.
        Added create_select_for_variable() (for SHOW COUNT(*) WARNINGS)
      sql/sql_prepare.cc:
        Initial prepared statement handling
      sql/sql_rename.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_repl.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_select.cc:
        Small code cleanups
        Added missing initialization of error that caused some queries that returned an empty result set to fail
      sql/sql_select.h:
        Ensure that JOIN.error is properly initialized
      sql/sql_show.cc:
        Change basic net functions to use THD instead of NET
        A lot of optimization
      sql/sql_table.cc:
        Change basic net functions to use THD instead of NET
        Indentaion cleanup
      sql/sql_udf.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_union.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_update.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_yacc.yy:
        Change basic net functions to use THD instead of NET
        Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      sql/structs.h:
        Moved structures to files where they was used
      sql/table.cc:
        Don't accept empty database names
      sql/uniques.cc:
        Indentation cleanup
      sql/unireg.cc:
        Change basic net functions to use THD instead of NET
      sql/unireg.h:
        Added defaults for warnings and prepared statements
      strings/ctype-simple.c:
        optimization
      tests/client_test.c:
        Fixed wrong paramaters to printf()
      5f6e2afe
  35. 03 Sep, 2002 1 commit
    • unknown's avatar
      subselect with union · c0c822d4
      unknown authored
      new error handling
      Item_ref bug fixed
      
      
      include/mysql_com.h:
        new error handling
        query cache pointer description
      mysql-test/r/distinct.result:
        new result's after Monty's bug fixing
      mysql-test/r/subselect.result:
        subselect with union test
      mysql-test/t/subselect.test:
        subselect with union test
      sql/item.cc:
        subselect with union
        Item_ref bug fixed
      sql/item_cmpfunc.cc:
        Monty's bug fixing
      sql/item_subselect.cc:
        TODO changing
        subselect with union
      sql/item_subselect.h:
        subselect with union
      sql/mysql_priv.h:
        Item_ref bug fixed
      sql/mysqld.cc:
        new error handling
      sql/net_pkg.cc:
        new error handling
      sql/net_serv.cc:
        new error handling
      sql/sql_base.cc:
        Item_ref bug fixed
      sql/sql_class.cc:
        new error handling
      sql/sql_class.h:
        new error handling
      sql/sql_derived.cc:
        subselect with union
      sql/sql_insert.cc:
        new error handling (only with mysql_select now)
      sql/sql_lex.cc:
        subselect with union
      sql/sql_lex.h:
        subselect with union
      sql/sql_parse.cc:
        new error handling
      sql/sql_select.cc:
        new error handling
        subselect with union
        removed thd->where=0 hack
      sql/sql_select.h:
        subselect with union
      sql/sql_union.cc:
        subselect with union
      sql/sql_update.cc:
        new error handling (only with mysql_select now)
      sql/sql_yacc.yy:
        subselect with union
      c0c822d4