An error occurred fetching the project authors.
  1. 04 Jul, 2003 1 commit
    • 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
  2. 24 Jun, 2003 1 commit
  3. 20 Jun, 2003 2 commits
  4. 03 Jun, 2003 3 commits
  5. 28 May, 2003 2 commits
  6. 22 May, 2003 1 commit
  7. 13 May, 2003 1 commit
    • unknown's avatar
      Proper replication of CONNECTION_ID() and 4.1 PASSWORD() (bugs 177 and 344), · 5d26a94f
      unknown authored
      new test for this.
      
      
      sql/item_create.cc:
        Proper replication of CONNECTION_ID() (bug 177).
        This is just for replication; mysqlbinlog|mysql still does not work
        with CONNECTION_ID(), it will wait for row-level binlogging.
      sql/item_strfunc.cc:
        Proper replication of the new 4.1 PASSWORD() (bug 344)
      5d26a94f
  8. 28 Apr, 2003 1 commit
  9. 22 Apr, 2003 1 commit
  10. 10 Apr, 2003 1 commit
    • unknown's avatar
      added compress/uncompress function · f82e15ba
      unknown authored
      sql/mysql_priv.h:
        added have_compress variable
      sql/mysqld.cc:
        added have_compress variable
      sql/set_var.cc:
        added have_compress variable
      f82e15ba
  11. 03 Apr, 2003 1 commit
  12. 19 Mar, 2003 1 commit
  13. 18 Mar, 2003 1 commit
    • unknown's avatar
      SRID support. · f21f78ea
      unknown authored
      GeomertyFromWKB() function.
      SRID() function.
      ::store() methods for Field_geom.
      Code cleanup.
      
      
      myisam/sp_key.c:
        SRID support.
      mysql-test/r/gis.result:
        We should use GeometryFromWKB().
      mysql-test/t/gis.test:
        We should use GeometryFromWKB().
      sql/field.cc:
        SRID support.
        ::store() methods for Field_geom.
        Code cleanup.
      sql/field.h:
        SRID support.
        ::store() methods for Field_geom.
        Code cleanup.
      sql/item_cmpfunc.cc:
        SRID support.
        Code cleanup.
      sql/item_create.cc:
        Code cleanup.
      sql/item_create.h:
        Code cleanup.
      sql/item_func.cc:
        SRID support.
        Code cleanup.
      sql/item_func.h:
        SRID support.
      sql/item_strfunc.cc:
        SRID support.
        GeometryFromWKB() function.
        Code cleanup.
      sql/item_strfunc.h:
        SRID support.
        GeometryFromWKB() function.
        Code cleanup.
      sql/lex.h:
        GeometryFromWKB() function.
        SRID() function.
      sql/spatial.cc:
        Code cleanup.
      sql/spatial.h:
        Code cleanup.
      sql/sql_yacc.yy:
        Fix for xxxFromText() functions.
        GeometryFromWKB() function.
      f21f78ea
  14. 14 Mar, 2003 1 commit
    • unknown's avatar
      SCRUM · bc96bb2e
      unknown authored
      IS_USED_LOCK('lock') implementation
      
      
      sql/item_create.cc:
        create_func_is_used_lock implementation
      sql/item_create.h:
        create_func_is_used_lock declaration
      sql/item_func.cc:
        thread_id member added to the ULL class
      sql/item_func.h:
        class Item_func_is_used_lock added
      sql/lex.h:
        IS_USED_LOCK function added to the SQL
      bc96bb2e
  15. 28 Feb, 2003 1 commit
    • unknown's avatar
      Many files: · 3467b168
      unknown authored
         Coercibility, initial stage
      item_func.h:
        Coercibility, initial stage
      
      
      sql/item_func.h:
        Coercibility, initial stage
      sql/item.cc:
         Coercibility, initial stage
      sql/item_create.cc:
         Coercibility, initial stage
      sql/item_create.h:
         Coercibility, initial stage
      sql/item.h:
         Coercibility, initial stage
      sql/item_func.cc:
         Coercibility, initial stage
      sql/lex.h:
         Coercibility, initial stage
      sql/sql_yacc.yy:
         Coercibility, initial stage
      3467b168
  16. 27 Feb, 2003 1 commit
    • unknown's avatar
      Portability fixes · e16918ff
      unknown authored
      Don't define crc32 if we are not linking with gzip
      
      
      cmd-line-utils/libedit/libedit_term.h:
        Rename: cmd-line-utils/libedit/term.h -> cmd-line-utils/libedit/libedit_term.h
      BitKeeper/etc/ignore:
        added scripts/make_win_src_distribution
      client/connect_test.c:
        Removed wrong include file
        (my_global.h should never be included by an external client)
      client/insert_test.c:
        Removed wrong include file
        (my_global.h should never be included by an external client)
      client/select_test.c:
        Removed wrong include file
        (my_global.h should never be included by an external client)
      cmd-line-utils/libedit/Makefile.am:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/el.h:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/key.h:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/makelist:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/read.c:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/readline.c:
        Portability fixes (for HPUX11 and AIX)
      cmd-line-utils/libedit/readline/readline.h:
        Systems that has sys/cdefs may not have __BEGIN_DECLS
      cmd-line-utils/libedit/sig.c:
        sig_t is not portable
      cmd-line-utils/libedit/sig.h:
        sig_t is not portable
      cmd-line-utils/libedit/term.c:
        Portablity fixes
        Fixed core dump when using a terminal without arrow key definitions
      heap/_check.c:
        Portability fix
      heap/hp_hash.c:
        Portability fix
      heap/hp_rkey.c:
        Portability fix
      include/my_global.h:
        Portability fixes for HPUX11
      libmysql/libmysql.c:
        Removed wrong cast
      mysql-test/r/union.result:
        New union tests
      mysql-test/t/union.test:
        New union tests
      sql/gen_lex_hash.cc:
        Fixed portability bug.
      sql/gstream.h:
        Portablity fix
      sql/item_create.cc:
        Don't define crc32 if we are not linking with gzip
      sql/item_create.h:
        Don't define crc32 if we are not linking with gzip
      sql/item_func.cc:
        Don't define crc32 if we are not linking with gzip
      sql/item_func.h:
        Don't define crc32 if we are not linking with gzip
      sql/lex.h:
        Don't define crc32 if we are not linking with gzip
      sql/sql_show.cc:
        Name can't be NULL
      e16918ff
  17. 07 Feb, 2003 1 commit
    • unknown's avatar
      Fix problem in MIN/MAX optimisation (from last patch) · 419976bd
      unknown authored
      Don't make OLD_PASSWORD() a reserved word
      
      
      mysql-test/r/explain.result:
        Test select count(*)
      mysql-test/r/func_crypt.result:
        Test old_password()
      mysql-test/t/explain.test:
        Test select count(*)
      mysql-test/t/func_crypt.test:
        Test old_password()
      sql/item_create.cc:
        Don't make OLD_PASSWORD() a reserved word
      sql/item_create.h:
        Don't make OLD_PASSWORD() a reserved word
      sql/lex.h:
        Don't make OLD_PASSWORD() a reserved word
      sql/opt_range.cc:
        Remove blank space
      sql/opt_sum.cc:
        Fix problem in MIN/MAX optimisation
      419976bd
  18. 28 Jan, 2003 1 commit
    • unknown's avatar
      fixed bugs in temporary tables in subselect implementation (SCRUM) · 90502d2b
      unknown authored
      merging with switching on static tables optimization (SCRUM)
      fixed subselects with uncacheable results
      added test for fixed bugs from bugreports
      
      
      mysql-test/r/subselect.result:
        changes in subselect test after switching on static tables optimization
        fixed bug test added
        uncacheable subselects
      mysql-test/t/subselect.test:
        changes in subselect test after switching on static tables optimization
        fixed bug test added
        uncacheable subselects
      sql/item_create.cc:
        fixed subselects with uncacheable results
      sql/item_func.cc:
        fixed subselects with uncacheable results
      sql/item_subselect.cc:
        fixed subselects with uncacheable results
        clean up
      sql/item_subselect.h:
        fixed subselects with uncacheable results
      sql/sql_lex.cc:
        fixed subselects with uncacheable results
      sql/sql_lex.h:
        fixed subselects with uncacheable results
      sql/sql_select.cc:
        fixed bugs in temporary tables in subselect implementation
        fixed subselects with uncacheable results
      sql/sql_union.cc:
        fixed subselects with uncacheable results
      sql/sql_yacc.yy:
        fixed subselects with uncacheable results
      90502d2b
  19. 27 Jan, 2003 1 commit
  20. 25 Jan, 2003 1 commit
    • unknown's avatar
      Added timeout for wait_for_master_pos · 6337190c
      unknown authored
      Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
      Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      
      
      mysql-test/r/rpl000009.result:
        Fixed replication test after fixing replication of DROP/CREATE DATABASE
      mysql-test/t/rpl000009.test:
        Fixed replication test after fixing replication of DROP/CREATE DATABASE
      sql/item_create.cc:
        Added timeout for wait_for_master_pos
      sql/item_create.h:
        Added timeout for wait_for_master_pos
      sql/item_func.cc:
        Added timeout for wait_for_master_pos
      sql/item_func.h:
        Added timeout for wait_for_master_pos
      sql/lex.h:
        Added timeout for wait_for_master_pos
      sql/slave.h:
        Added timeout for wait_for_master_pos
        Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      sql/sql_parse.cc:
        Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
      sql/sql_repl.cc:
        Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
      6337190c
  21. 04 Jan, 2003 1 commit
    • unknown's avatar
      Added support for DROP TEMPORARY TABLE · 30c11344
      unknown authored
      Removed mysql_warnings() API function.
      Post merge fixes.
      
      
      client/mysqltest.c:
        Don't use mysql_warnings().
      include/mysql.h:
        Removed mysql_warnings() API function
      libmysql/libmysql.c:
        Removed mysql_warnings() API function
      mysql-test/r/rpl_log_pos.result:
        Updated results
      mysql-test/t/connect.test:
        Removed empty lines
      mysql-test/t/rpl_log_pos.test:
        Update to new syntax
      sql/item.h:
        Fix after merge
      sql/item_create.cc:
        Fix after merge
      sql/mysql_priv.h:
        Added support for DROP TEMPORARY TABLE
      sql/sql_db.cc:
        Added support for DROP TEMPORARY TABLE
      sql/sql_parse.cc:
        SHOW WARNINGS now shows notes, warnings and errors.
        Support for DROP TEMPORARY TABLE
        Post merge fixes
      sql/sql_repl.cc:
        Post merge fixes
      sql/sql_table.cc:
        Added support for DROP TEMPORARY TABLE
      30c11344
  22. 26 Dec, 2002 1 commit
    • unknown's avatar
      Cut hostnames at HOSTNAME_LENGTH to avoid theoretical hostname overruns · bfd3f4ef
      unknown authored
      Changed long packat handling to check for packets of length 0xffffff.
      This does however break packet handling for older clients.
      If you are using packets >= 16M then you need to upgrade client and server
      after this patch.
      
      
      Docs/internals.texi:
        Updated documentation for 4.1 protocol
      sql/ha_innodb.cc:
        Optimization of checking command
      sql/item.h:
        Removed automatic set of length for Item_string
      sql/item_create.cc:
        Optimized create of create_func_current_user()
      sql/net_serv.cc:
        Fixed wrong max packet length
      sql/sql_acl.cc:
        Safety fix.
      sql/sql_parse.cc:
        Cut hostnames at HOSTNAME_LENGTH to avoid theoretical hostname overruns
      bfd3f4ef
  23. 05 Dec, 2002 1 commit
  24. 24 Nov, 2002 1 commit
    • unknown's avatar
      Added new ANSI functions LOCALTIME, LOCALTIMESTAMP and CURRENT_USER · 1f12631c
      unknown authored
      Added CEIL as an alias for CEILING
      Cleaned up CHECK constraint handling.
      (We don't anymore require braces after CHECK)
      Added casting to CHAR.
      
      
      mysql-test/r/bigint.result:
        Moved casting test to cast.test
      mysql-test/r/func_time.result:
        Test of new functions
      mysql-test/t/bigint.test:
        Moved casting test to cast.test
      mysql-test/t/func_time.test:
        Test of new functions
      sql/item_create.cc:
        Added casting to CHAR
      sql/item_func.h:
        Added casting to CHAR
      sql/item_timefunc.h:
        Added casting to CHAR
      sql/lex.h:
        Added new ANSI functions LOCALTIME, LOCALTIMESTAMP and CURRENT_USER
        Added CEIL as an alias for CEILING
      sql/sql_yacc.yy:
        Cleaned up CHECK constraint handling.
      1f12631c
  25. 22 Nov, 2002 1 commit
    • unknown's avatar
      Moved safe_to_cache_query from thd to lex. · 9bfd8cf7
      unknown authored
      This is required for prepared statements and stored procedures.
      
      
      BitKeeper/etc/ignore:
        Added bkpull.log bkpull.log.2 bkpull.log.3 build.log sql/safe_to_cache_query.txt to the ignore list
      sql/item_create.cc:
        Moved safe_to_cache_query from thd to lex.
      sql/item_func.cc:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_cache.cc:
        Moved safe_to_cache_query from thd to lex.
        Note: Query_cache::is_cacheable() has both a thd and lex argument.
        We assumed that it's the lex->safe_to_cache_query we should test.
      sql/sql_class.cc:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_class.h:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_lex.cc:
        Moved safe_to_cache_query from thd to lex.
        We set it to 1 initially. It's then set to 0 in cases where
        it's know not to be safe. (Before this change, it was set to
        0 in thd, and then set to 1 before parsing.)
      sql/sql_lex.h:
        Moved safe_to_cache_query from thd to lex.
      sql/sql_parse.cc:
        Moved safe_to_cache_query from thd to lex.
        No point in setting it here now, it's set in lex_start() later.
      sql/sql_prepare.cc:
        Moved safe_to_cache_query from thd to lex.
        Must set it after lex_start() has been called.
      sql/sql_yacc.yy:
        Moved safe_to_cache_query from thd to lex.
      9bfd8cf7
  26. 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
  27. 08 Aug, 2002 1 commit
  28. 06 Aug, 2002 1 commit
  29. 17 Jul, 2002 1 commit
    • unknown's avatar
      Arjens LOG functions changes with small changes and tests added to mysql-test · 904a1e07
      unknown authored
      Docs/manual.texi:
        Manual changes to doccument new functions and function changes
      mysql-test/r/func_math.result:
        Extend tests for LOG family functions
      mysql-test/t/func_math.test:
        Extend tests for LOG family functions
      sql/gen_lex_hash.cc:
        Lex hash changes
      sql/item_create.cc:
        Rename old log function to ln
      sql/item_create.h:
        More log functions
      sql/item_func.cc:
        Implementation of new log function behavior
      sql/item_func.h:
        Class definition for new functions
      sql/lex.h:
        Function names
      sql/sql_yacc.yy:
        Symbols for new LOG function
      tests/function.res:
        One more test result change
      tests/function.tst:
        One more test change
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      904a1e07
  30. 30 Jun, 2002 1 commit
    • unknown's avatar
      Update for running gcc 3.x (mainly on HPUX) · dde1b416
      unknown authored
      Portability fixes for HPUX
      Rename of CHECK_LOCK to IS_FREE_LOCK
      Apply lower_case_table_names also to databases
      Cleanup of describe code
      Don't allow \ in database names
      
      
      Build-tools/Do-compile:
        Added option --make-options
      Docs/manual.texi:
        Changelog
        Added XOR, ^ and IS_FREE_LOCK() descriptions
      acinclude.m4:
        Update for running gcc 3.x on HPUX
      client/mysql.cc:
        Portability fix
      client/mysqlbinlog.cc:
        Fix for using gcc 3.1
      configure.in:
        Fix for using gcc 3.1
      include/my_global.h:
        Fix for using gcc 3.1
      include/my_pthread.h:
        Removed warning on HPUX
      innobase/configure.in:
        Portability fix (for gcc 3.1 on HPUX)
      innobase/ut/ut0ut.c:
        Portability fix (for gcc 3.1 on HPUX)
      mysql-test/r/func_test.result:
        Test of new functions
      mysql-test/r/rpl_get_lock.result:
        Test of new functions
      mysql-test/t/func_test.test:
        Test of new functions
      mysql-test/t/rpl_get_lock.test:
        Test of new functions
      mysys/my_tempnam.c:
        Portability fix
      sql/item_cmpfunc.cc:
        Added comments to Item_cond_xor.
        Fixed NULL handling for XOR
      sql/item_create.cc:
        rename of CHECK_LOCK to IS_FREE_LOCK
      sql/item_create.h:
        rename of CHECK_LOCK to IS_FREE_LOCK
      sql/item_func.cc:
        Cleanup XOR handling
      sql/item_func.h:
        rename of CHECK_LOCK to IS_FREE_LOCK
      sql/lex.h:
        rename of CHECK_LOCK to IS_FREE_LOCK
      sql/mysqld.cc:
        Moved chroot() to be exectued earlier.
      sql/sql_db.cc:
        Apply lower_case_table_names also to databases
      sql/sql_parse.cc:
        Apply lower_case_table_names also to databases
      sql/sql_select.cc:
        Cleanup describe code (after Sinisa's patch for EXPLAIN + UNION)
      sql/table.cc:
        Don't allow \ in database names
      dde1b416
  31. 29 Jun, 2002 1 commit
    • unknown's avatar
      Added functions : · c2928189
      unknown authored
      * binary XOR
      * logical XOR
      * CHECK_LOCK("lock_name")
      
      c2928189
  32. 11 Jun, 2002 1 commit
    • unknown's avatar
      This changeset is mostly new version of previous commit modified according · 1027b835
      unknown authored
      to Monty's code style and optimization comments 
      
      
      client/client_priv.h:
        New value for --single-transaction option
      client/mysqldump.c:
        Add --single-transaction option for consistent dumps
      mysql-test/r/func_str.result:
        New functions test results
      mysql-test/t/func_str.test:
        Tests for SHA/AES functions
      mysys/Makefile.am:
        Extra files require compilation now
      sql/item_create.cc:
        New functions
      sql/item_create.h:
        New functions
      sql/item_strfunc.cc:
        Implementation of SHA/AES_ENCRYPT/AES_DECRYPT
      sql/item_strfunc.h:
        Required class definition
      sql/lex.h:
        Add symbols for implemented functions
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      1027b835
  33. 17 May, 2002 1 commit
  34. 22 Feb, 2002 1 commit
    • unknown's avatar
      Added GIS extension · fe48e577
      unknown authored
      BitKeeper/etc/ignore:
        Added myisam/rt_test myisam/sp_test to the ignore list
      fe48e577
  35. 03 Jan, 2002 1 commit
  36. 02 Jan, 2002 1 commit
    • unknown's avatar
      New CAST syntax · 213d66d9
      unknown authored
      Cleanup of multi-table-delete in sql_yacc.yy
      Changed syntax of MAXIMUM QUERIES PER HOUR to MAX_QUERIES_PER_HOUR to
      not get too many reserved words.
      
      
      Docs/manual.texi:
        Updated information about CAST
      mysql-test/r/bigint.result:
        New CAST syntax
      mysql-test/r/create.result:
        New CAST syntax
      mysql-test/r/variables.result:
        Fix after merge with 3.23
      mysql-test/t/bigint.test:
        New CAST syntax
      mysql-test/t/create.test:
        New CAST syntax
      sql/item_create.cc:
        New CAST syntax
      sql/item_func.h:
        New CAST syntax
      sql/item_timefunc.cc:
        New CAST syntax
      sql/item_timefunc.h:
        New CAST syntax
      sql/lex.h:
        Changed syntax to MAX_QUERIES_PER_HOUR to not get too many reserved words.
      sql/mysql_priv.h:
        Cleanup multi-delete
      sql/sql_parse.cc:
        Cleanup multi-delete
      sql/sql_yacc.yy:
        Cleanup multi-delete.
        New CAST syntax.
        Removed some restricted words.
      213d66d9