An error occurred fetching the project authors.
  1. 22 Apr, 2003 1 commit
  2. 16 Apr, 2003 1 commit
    • unknown's avatar
      Add mysys specific error messages · e5c62e32
      unknown authored
      Make RELAY_THREAD and alias for IO_THREAD
      Added new interface for string -> (unsigned) long long.
      
      
      include/my_sys.h:
        Add mysys specific error messages
      sql/lex.h:
        Make RELAY_THREAD an alias for IO_THREAD
      sql/sql_yacc.yy:
        Make RELAY_THREAD an alias for IO_THREAD
      e5c62e32
  3. 10 Apr, 2003 1 commit
    • unknown's avatar
      added compress/uncompress function · 75bdeb1b
      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
      75bdeb1b
  4. 03 Apr, 2003 1 commit
  5. 02 Apr, 2003 1 commit
    • unknown's avatar
      GEOMCOLLFROMWKB(), GEOMETRYCOLLECTIONFROMWKB(), · c709993b
      unknown authored
      LINEFROMWKB(), LINESTRINGFROMWKB(), MLINEFROMWKB(), MPOINTFROMWKB(),
      MPOLYFROMWKB(), MULTILINESTRINGFROMWKB(), MULTIPOINTFROMWKB(),
      MULTIPOLYGONFROMWKB(), POINTFROMWKB(), POLYFROMWKB(), POLYGONFROMWKB()
      functions have been added (as synonyms for GEOMFROMWKB()).
      
      
      mysql-test/t/gis.test:
        GEOMCOLLFROMWKB(), GEOMETRYCOLLECTIONFROMWKB(),
        LINEFROMWKB(), LINESTRINGFROMWKB(), MLINEFROMWKB(), MPOINTFROMWKB(),
        MPOLYFROMWKB(), MULTILINESTRINGFROMWKB(), MULTIPOINTFROMWKB(),
        MULTIPOLYGONFROMWKB(), POINTFROMWKB(), POLYFROMWKB(), POLYGONFROMWKB()
        functions have been added (as synonyms for GEOMFROMWKB()).
      sql/lex.h:
        GEOMCOLLFROMWKB(), GEOMETRYCOLLECTIONFROMWKB(),
        LINEFROMWKB(), LINESTRINGFROMWKB(), MLINEFROMWKB(), MPOINTFROMWKB(),
        MPOLYFROMWKB(), MULTILINESTRINGFROMWKB(), MULTIPOINTFROMWKB(),
        MULTIPOLYGONFROMWKB(), POINTFROMWKB(), POLYFROMWKB(), POLYGONFROMWKB()
        functions have been added (as synonyms for GEOMFROMWKB()).
      c709993b
  6. 31 Mar, 2003 1 commit
    • unknown's avatar
      lex.h: · 2e3527b7
      unknown authored
        Use MBRContains() style for what we have implemented. Contains() will be used for real "contains" relation in the future.
      
      
      sql/lex.h:
        Use MBRContains() style for what we have implemented. Contains() will be used for real "contains" relation in the future.
      2e3527b7
  7. 27 Mar, 2003 1 commit
    • unknown's avatar
      lex.h: · 34559e80
      unknown authored
        GeometryCollectionFromText is now alias for GeomCollFromText
      
      
      sql/lex.h:
        GeometryCollectionFromText is now alias for GeomCollFromText
      34559e80
  8. 18 Mar, 2003 2 commits
    • unknown's avatar
      Allow optimzation of multi-table-update also for InnoDB tables · f45236de
      unknown authored
      MEMORY is alias for HEAP for CREATE TABLE ... TYPE=HEAP
      Fixed bug in multi-table-update where a row could be updated several times
      
      
      mysql-test/r/heap.result:
        Test of CREATE TABLE ... type=MEMORY
      mysql-test/r/innodb.result:
        Added multi-update-test
      mysql-test/r/multi_update.result:
        Added multi-update-test
      mysql-test/t/heap.test:
        Test of CREATE TABLE ... type=MEMORY
      mysql-test/t/innodb.test:
        Added multi-update-test
      mysql-test/t/multi_update.test:
        Added multi-update-test
      sql/ha_innodb.h:
        Allow optimzation of multi-table-update also for InnoDB tables
      sql/handler.h:
        Allow optimzation of multi-update also for InnoDB tables
      sql/key.cc:
        After merge fix
      sql/lex.h:
        MEMORY is alias for HEAP
      sql/sql_test.cc:
        Fixed wrong printf
      sql/sql_update.cc:
        Fixed bug in multi-table-update where a row could be updated several times
      sql/sql_yacc.yy:
        MEMORY is alias for HEAP
      f45236de
    • unknown's avatar
      SRID support. · 3ccd93c7
      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.
      3ccd93c7
  9. 17 Mar, 2003 1 commit
    • unknown's avatar
      This is full commit of group_concat with support subselects · 0b505fb4
      unknown authored
      include/mysqld_error.h:
        add warning
      sql/field.h:
        add friend class
      sql/item_sum.cc:
        add function
      sql/item_sum.h:
        add class
      sql/lex.h:
        add lex
      sql/mysql_priv.h:
        change push_warning
      sql/mysqld.cc:
        add new option
      sql/set_var.cc:
        add new system variable
      sql/share/english/errmsg.txt:
        add new message text
      sql/sql_class.h:
        change MY_ERROR class
      sql/sql_error.cc:
        change push_warning
      sql/sql_lex.h:
        add qorder_list for function
      sql/sql_yacc.yy:
        add structure of group_concat
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      0b505fb4
  10. 14 Mar, 2003 1 commit
    • unknown's avatar
      SCRUM · 76aa0ea5
      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
      76aa0ea5
  11. 28 Feb, 2003 2 commits
    • unknown's avatar
      Added GeometryFromText, MultiPointFromText aliases. · 77f8757a
      unknown authored
      Added GeometryCollection type.
      
      
      77f8757a
    • unknown's avatar
      Many files: · 1a2c7c18
      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
      1a2c7c18
  12. 27 Feb, 2003 1 commit
    • unknown's avatar
      Portability fixes · 669cbe6e
      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
      669cbe6e
  13. 26 Feb, 2003 1 commit
    • unknown's avatar
      sql_yacc.yy, lex.h: · e0100ed8
      unknown authored
        SET NAMES is now working
      
      
      sql/lex.h:
        SET NAMES is now working
      sql/sql_yacc.yy:
        SET NAMES is now working
      e0100ed8
  14. 20 Feb, 2003 1 commit
    • unknown's avatar
      Windows portabilty fixups (last commit caused some errors, so recomitting) - SCRUM · 20e237e5
      unknown authored
      strings/strto.c:
        Windows won't compile for a wrong argument passing, expects a charset pointer
      sql/filesort.cc:
        Remove unused variable
      sql/lex.h:
        Change POINT->POINT_SYM due to redefination error from windef.h
      sql/mysqld.cc:
        Fix Embedded Server related code
      sql/protocol.cc:
        Remove unused variables from Embedded Server
      sql/sql_class.h:
        Remove silly usage
      sql/sql_derived.cc:
        Windows won't let you compile for this kind of assignments
      sql/sql_help.cc:
        Need a cast to make it compile
      sql/sql_parse.cc:
        Remove unused variables from Embedded server
      sql/sql_yacc.yy:
        Change POINT->POINT_SYM due to redefination error from windef.h
      mysys/mf_keycache.c:
        Add a correct cast and remove the unused variables
      libmysqld/lib_sql.cc:
        Remove unused variable
      libmysqld/libmysqld.c:
        Port the netware change to remove mysql_once_init to libmysqld
      20e237e5
  15. 16 Feb, 2003 1 commit
    • unknown's avatar
      SCRUM: 'Replication: PURGE LOGS with date' task · e1cf7fb3
      unknown authored
      Added:
      
      PURGE [MASTER] LOGS BEFORE date/date_expression
      expire-logs-days option
        With this option old files are deleted when
            - mysqld is started
            - log is rotated
            - someone does FLUSH LOGS
      
      
      
      
      
      
      sql/lex.h:
        For PURGE LOGS BEFORE
      sql/log.cc:
        Added purge_logs_before_date to MYSQL_LOG class
      sql/mysql_priv.h:
        For startup option --expire-logs-days
      sql/mysqld.cc:
        Added options expire-logs-days
        When mysqld is started old log files are deleted.
      sql/sql_class.h:
        For PURGE LOGS BEFORE and expire-log-days option
      sql/sql_lex.h:
        For PURGE LOGS BEFORE
      sql/sql_parse.cc:
        Old logs are deleted
        when someone does FLUSH LOGS
      sql/sql_repl.cc:
        For PURGE LOGS BEFORE and expire-log-days option
      sql/sql_repl.h:
        For PURGE LOGS BEFORE and expire-log-days option
      sql/sql_yacc.yy:
        For PURGE LOGS BEFORE
      e1cf7fb3
  16. 12 Feb, 2003 1 commit
    • unknown's avatar
      Fixed a lot of wrong memory references as reported by valgrind · fcb61f59
      unknown authored
      Portability fixes
      Added new client function: mysql_get_server_version()
      New server help code (From Victor Vagin)
      Fixed wrong usage of binary()
      Disabled RTREE usage for now.
      
      
      
      BitKeeper/etc/ignore:
        added scripts/fill_help_tables.sql
      client/mysql.cc:
        Some fixes when using 'help'
      cmd-line-utils/libedit/compat.h:
        Portability fix
      cmd-line-utils/libedit/fgetln.c:
        Portability fix
      include/mysql.h:
        Added new client function: mysql_get_server_version()
      libmysql/libmysql.c:
        Added new client function: mysql_get_server_version()
      libmysqld/libmysqld.c:
        Fixed prototype
      mysql-test/install_test_db.sh:
        Added creation of help tables
      mysql-test/r/connect.result:
        Added help tables
      mysql-test/r/myisam.result:
        Test of RTREE index
      mysql-test/r/type_ranges.result:
        updated results
      mysql-test/t/myisam.test:
        Test of RTREE index
      mysql-test/t/type_ranges.test:
        Updated test
      mysys/charset.c:
        Indentation change
      mysys/my_symlink.c:
        Removed compiler warning
      scripts/fill_help_tables.sh:
        Update for new help tables
      sql/field.cc:
        Indentation changes
      sql/filesort.cc:
        Optimized character set usage
      sql/item_cmpfunc.cc:
        Fix wrong usage of binary()
      sql/item_cmpfunc.h:
        Fix wrong usage of binary()
      sql/item_func.cc:
        Fix wrong usage of binary()
      sql/item_func.h:
        Fix wrong usage of binary()
      sql/item_strfunc.cc:
        Fix wrong usage of binary()
      sql/item_sum.cc:
        Fix wrong usage of binary()
      sql/item_sum.h:
        Fix wrong usage of binary()
      sql/key.cc:
        Indentation change
      sql/lex.h:
        HELP -> HELP_SYM
      sql/mysql_priv.h:
        Make get_field() more general
      sql/password.c:
        Indentation change + variable initialisation moved
      sql/sql_acl.cc:
        Make get_field() more general
      sql/sql_base.cc:
        Added comments + assertion for double call to mysql_lock_tables
      sql/sql_cache.cc:
        Indentation changes
      sql/sql_class.h:
        Added need_strxnfrm to SORT_FIELD to be able to optimise character set handling in filesort
      sql/sql_derived.cc:
        Renamed variables
      sql/sql_help.cc:
        New help functions (from Victor Vagin)
      sql/sql_lex.cc:
        Removed variables that doesn't have to be initialized for each query
      sql/sql_lex.h:
        Removed not used variable (olap)
      sql/sql_parse.cc:
        Fixed (not fatal) access of unitialized memory
        Indentation / code cleanup
      sql/sql_prepare.cc:
        Indentaion cleanup
      sql/sql_table.cc:
        Disabled RTREE until 5.0
      sql/sql_udf.cc:
        Make get_field() more general
      sql/sql_yacc.yy:
        Removed access to uninitialized memory
        Always set offset_limit and select_limit when using LIMIT (removed warnings)
        Allow usage of 'help week'
      sql/table.cc:
        Make get_field() more general
        More comments
      sql/table.h:
        Fixded type of TABLE_LIST->derived
      sql/time.cc:
        Stricter date / datetime handling (to be able to handle timestamps with days and microseconds)
      strings/ctype-bin.c:
        Added cha
      fcb61f59
  17. 11 Feb, 2003 3 commits
  18. 07 Feb, 2003 2 commits
    • unknown's avatar
      Update lengths for fields in MYSQL_FIELD · 5dd528a2
      unknown authored
      client/mysql.cc:
        Use field->name_length
      sql/lex.h:
        fix after merge
      5dd528a2
    • unknown's avatar
      Fix problem in MIN/MAX optimisation (from last patch) · 5db7246f
      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
      5db7246f
  19. 06 Feb, 2003 1 commit
    • unknown's avatar
      Added START TRANSACTION syntax · dacf7f8f
      unknown authored
      Added ALL as parameter option for all group functions.
      Make join handling uniform. This allows us to use ',', JOIN and INNER JOIN the same way.
      Sort NULL last if DESC is used (ANSI SQL 99 requirement)
      
      
      include/my_global.h:
        Moved LL from mysql_priv (as this is also in config-win.h)
      mysql-test/r/distinct.result:
        Updated results
      mysql-test/r/func_group.result:
        Updated results
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/join.result:
        Updated results
      mysql-test/r/order_by.result:
        Updated results
      mysql-test/t/func_group.test:
        Added test for SUM(ALL ...)
      mysql-test/t/innodb.test:
        Added test for START TRANSACTION
      mysql-test/t/join.test:
        Test different join syntaxes
      mysql-test/t/order_by.test:
        Added new test of NULL ordering.
      sql/filesort.cc:
        Sort NULL last if DESC is used
      sql/lex.h:
        Added OLD_PASSWORD() as synonym for PASSWORD.
      sql/mysql_priv.h:
        Removed LL()
      sql/opt_range.cc:
        Sort NULL last if DESC is used
      sql/opt_range.h:
        Sort NULL last if DESC is used
      sql/slave.cc:
        Indentation changes
      sql/sql_parse.cc:
        After merge fix
      sql/sql_select.cc:
        Added comment
      sql/sql_yacc.yy:
        Added START TRANSACTION syntax
        Added ALL as parameter option for all group functions.
        Make join handling uniform.
      dacf7f8f
  20. 25 Jan, 2003 1 commit
    • unknown's avatar
      Added timeout for wait_for_master_pos · db47e4ca
      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
      db47e4ca
  21. 21 Jan, 2003 1 commit
    • unknown's avatar
      Portability fixes (for windows) · 10e22c34
      unknown authored
      Some changes to the prepared statement protocol to make it easier to use and faster.
      
      
      Makefile.am:
        Fix to make dist to work with cmd-line-utils
      client/mysql.cc:
        Portability fixes
      client/mysqlbinlog.cc:
        Portabiliy fixes and remove usafe of FILE
      configure.in:
        Fix to make dist to work with cmd-line-utils
      heap/_check.c:
        Portability fixes
      include/config-win.h:
        Portability fixes
      include/m_ctype.h:
        Indentation cleanup
      include/my_list.h:
        Portability fixes
      include/mysql.h:
        Cleanup of BIND structure
      include/violite.h:
        Portability fixes
      innobase/dict/dict0dict.c:
        Portability fixes
      innobase/dict/dict0load.c:
        Portability fixes
      innobase/include/os0proc.h:
        Portability fixes (Heikki, please check)
      innobase/os/os0proc.c:
        Portability fixes (Heikki, please check)
      innobase/ut/ut0ut.c:
        Portability fixes
      isam/pack_isam.c:
        Portability fixes
      libmysql/libmysql.c:
        Portability fixes
        Remove obscure usage of the length parameter for prepared statements.
      libmysql/libmysql.def:
        Remove not existing functions
      libmysqld/lib_sql.cc:
        Remove compiler warning
      mysql-test/r/explain.result:
        Fix after merge
      mysql-test/r/join.result:
        Fix after merge
      mysys/my_once.c:
        Portability fix
      mysys/tree.c:
        Portability fixes
      sql/field.cc:
        Portability fixes
      sql/filesort.cc:
        move assert.h to mysql_priv.h
      sql/ha_berkeley.cc:
        move assert.h to mysql_priv.h
      sql/ha_innodb.cc:
        move assert.h to mysql_priv.h
      sql/item.cc:
        move assert.h to mysql_priv.h
        Fixed syntax error
      sql/item_cmpfunc.cc:
        move assert.h to mysql_priv.h
      sql/item_func.cc:
        move assert.h to mysql_priv.h
      sql/item_row.cc:
        move assert.h to mysql_priv.h
      sql/item_strfunc.cc:
        Portability fix
      sql/item_subselect.cc:
        Portability fix
      sql/item_sum.cc:
        move assert.h to mysql_priv.h
      sql/lex.h:
        Portability fix
      sql/lock.cc:
        move assert.h to mysql_priv.h
      sql/log.cc:
        move assert.h to mysql_priv.h
      sql/log_event.cc:
        Portability fix
      sql/mf_iocache.cc:
        move assert.h to mysql_priv.h
      sql/mysql_priv.h:
        move assert.h to mysql_priv.h
      sql/mysqld.cc:
        move assert.h to mysql_priv.h
      sql/opt_range.cc:
        move assert.h to mysql_priv.h
      sql/password.c:
        Portability fix
      sql/protocol.cc:
        move assert.h to mysql_priv.h
      sql/set_var.cc:
        Portability fix
      sql/slave.cc:
        move assert.h to mysql_priv.h
      sql/spatial.cc:
        Portability fix
      sql/sql_acl.cc:
        move assert.h to mysql_priv.h
      sql/sql_base.cc:
        move assert.h to mysql_priv.h
      sql/sql_cache.cc:
        move assert.h to mysql_priv.h
      sql/sql_class.cc:
        move assert.h to mysql_priv.h
      sql/sql_handler.cc:
        move assert.h to mysql_priv.h
      sql/sql_help.cc:
        Removed compiler warning
      sql/sql_lex.cc:
        Portability fix
      sql/sql_lex.h:
        Portability fix
      sql/sql_parse.cc:
        move assert.h to mysql_priv.h
      sql/sql_prepare.cc:
        move assert.h to mysql_priv.h
      sql/sql_repl.cc:
        move assert.h to mysql_priv.h
      sql/sql_select.cc:
        move assert.h to mysql_priv.h
      sql/sql_string.cc:
        Portability fix
      sql/sql_string.h:
        Portability fix
      sql/sql_table.cc:
        move assert.h to mysql_priv.h
      sql/sql_yacc.yy:
        Portability fix
        Remove not accessed code
      strings/ctype-bin.c:
        Portability fix
      strings/ctype-mb.c:
        Portability fix
      strings/ctype.c:
        Portability fix
      tests/client_test.c:
        A
      10e22c34
  22. 09 Jan, 2003 1 commit
    • unknown's avatar
      Don't count NULL values in cardinalty for MyISAM tables. · b5e37b24
      unknown authored
      Free row buffer cache after each query for MyISAM tables.
      Added table join option FORCE INDEX
      Fixed core dump bug when connecting with hostname that could not be resolved.
      
      
      include/my_base.h:
        Don't count NULL values in cardinalty
      myisam/mi_check.c:
        Don't count NULL values in cardinalty
      myisam/mi_extra.c:
        Free row buffer cache after each query
      myisam/mi_open.c:
        Avoid realloc if cache size doesn't change
      myisam/mi_search.c:
        Don't count NULL values in cardinalty
      myisam/myisamdef.h:
        Change buffer length from uint to uint32 to make it more portable/predictable
      mysql-test/r/myisam.result:
        Test case for cardinality with NULL keys and FORCE INDEX
      mysql-test/t/myisam.test:
        Test case for cardinality with NULL keys and FORCE INDEX
      sql/lex.h:
        Added table join option FORCE INDEX
      sql/mysql_priv.h:
        Added table join option FORCE INDEX
      sql/opt_range.cc:
        Added table join option FORCE INDEX
      sql/sql_base.cc:
        Added table join option FORCE INDEX
      sql/sql_lex.h:
        Added table join option FORCE INDEX
      sql/sql_parse.cc:
        Added table join option FORCE INDEX
        Don't use strlen() on hostname without first checking if it's not NULL
      sql/sql_select.cc:
        Added table join option FORCE INDEX
      sql/sql_yacc.yy:
        Added table join option FORCE INDEX
      sql/table.h:
        Added table join option FORCE INDEX
      b5e37b24
  23. 19 Dec, 2002 2 commits
    • unknown's avatar
      SAPDB-style syntax · 0a11536c
      unknown authored
      CREATE TABLE tname (a CHAR(10) ASCII)
        as a synonym for
      CREATE TABLE tname (a CHAR(10) CHARACTER SET latin1)
      
      
      0a11536c
    • unknown's avatar
      Introducing SAPDB-style · bc7f8302
      unknown authored
         "fieldname CHAR(n) UNICODE"
      as a synonym to
         "fieldname CHAR(n) CHARACTER SET ucs2"
      
      
      bc7f8302
  24. 13 Dec, 2002 2 commits
    • unknown's avatar
      add VARIANCE function · e10f255d
      unknown authored
      mysql-test/r/func_group.result:
        add 'VARIANCE' tests
      mysql-test/r/having.result:
        add 'VARIANCE' tests
      mysql-test/r/select.result:
        add 'VARIANCE' tests
      mysql-test/t/func_group.test:
        add 'VARIANCE' tests
      mysql-test/t/having.test:
        add 'VARIANCE' tests
      mysql-test/t/select.test:
        add 'VARIANCE' tests
      sql/item.cc:
        add 'VARIANCE' sum function
      sql/item.h:
        add 'VARIANCE' sum function
      sql/item_sum.cc:
        add 'VARIANCE' sum function
      sql/item_sum.h:
        add 'VARIANCE' sum function
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      e10f255d
    • unknown's avatar
      add 'SOUNDS LIKE' syntax · caf1bf0a
      unknown authored
      Docs/manual.texi:
        add 'SOUNDS LIKE' description
      mysql-test/r/func_str.result:
        add 'SOUNDS LIKE' test
      mysql-test/t/func_str.test:
        add 'SOUNDS LIKE' test
      sql/lex.h:
        add 'SOUNDS' symbol
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      caf1bf0a
  25. 11 Dec, 2002 1 commit
  26. 05 Dec, 2002 1 commit
  27. 28 Nov, 2002 1 commit
    • unknown's avatar
      INSERT ... UPDATE syntax (syntax only) · 37a99172
      unknown authored
      sql_yacc.yy and sql_parse.cc cleanup
      
      
      sql/lex.h:
        INSERT ... UPDATE syntax
      sql/sql_parse.cc:
        merged SQLCOM_REPLACE and SQLCOM_INSERT the same way their _SELECT counterparts were merged long time ago - just to remove duplicate code and be consistent :)
        now nobody needs SQLCOM_REPLACE* at all :))
      sql/sql_yacc.yy:
        INSERT ... UPDATE syntax
        cleanup
      37a99172
  28. 24 Nov, 2002 1 commit
    • unknown's avatar
      Added new ANSI functions LOCALTIME, LOCALTIMESTAMP and CURRENT_USER · 72da2e4c
      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.
      72da2e4c
  29. 21 Nov, 2002 1 commit
    • unknown's avatar
      Automatic conversion from CHAR(length) to BLOB when length > 255 · 2723dbdb
      unknown authored
      New operators MOD and DIV
      SELECT ... FROM DUAL
      TRUE = 1 and FALSE = 0
      
      
      include/mysqld_error.h:
        New warning message
      mysql-test/r/func_system.result:
        Added testing of new functions
      mysql-test/r/func_test.result:
        Added testing of new functions
      mysql-test/r/type_blob.result:
        Added testing of new functions
      mysql-test/t/func_system.test:
        Added testing of new functions
      mysql-test/t/func_test.test:
        Added testing of new functions
      mysql-test/t/type_blob.test:
        Added testing of new functions
      sql/item_func.cc:
        Added function DIV
      sql/item_func.h:
        Added function DIV
      sql/lex.h:
        New keywords
      sql/share/czech/errmsg.txt:
        New warning message
      sql/share/danish/errmsg.txt:
        New warning message
      sql/share/dutch/errmsg.txt:
        New warning message
      sql/share/english/errmsg.txt:
        New warning message
      sql/share/estonian/errmsg.txt:
        New warning message
      sql/share/french/errmsg.txt:
        New warning message
      sql/share/german/errmsg.txt:
        New warning message
      sql/share/greek/errmsg.txt:
        New warning message
      sql/share/hungarian/errmsg.txt:
        New warning message
      sql/share/italian/errmsg.txt:
        New warning message
      sql/share/japanese/errmsg.txt:
        New warning message
      sql/share/korean/errmsg.txt:
        New warning message
      sql/share/norwegian-ny/errmsg.txt:
        New warning message
      sql/share/norwegian/errmsg.txt:
        New warning message
      sql/share/polish/errmsg.txt:
        New warning message
      sql/share/portuguese/errmsg.txt:
        New warning message
      sql/share/romanian/errmsg.txt:
        New warning message
      sql/share/russian/errmsg.txt:
        New warning message
      sql/share/serbian/errmsg.txt:
        New warning message
      sql/share/slovak/errmsg.txt:
        New warning message
      sql/share/spanish/errmsg.txt:
        New warning message
      sql/share/swedish/errmsg.txt:
        New warning message
        Translated a lot of error messages
      sql/share/ukrainian/errmsg.txt:
        New warning message
      sql/sql_class.cc:
        Added support for warnings during parsing
      sql/sql_class.h:
        Added support for warnings during parsing
      sql/sql_error.cc:
        Added support for warnings during parsing
      sql/sql_lex.cc:
        Fixed comment
      sql/sql_parse.cc:
        Added automatic conversion from CHAR(length) to BLOB when length > 255
        Added support for BLOB(length)
      sql/sql_yacc.yy:
        New operators MOD and DIV
        SELECT ... FROM DUAL
        TRUE = 1 and FALSE = 0
      2723dbdb
  30. 20 Nov, 2002 1 commit
    • unknown's avatar
      Added some compatibility modes (for the future) · 548e59c6
      unknown authored
      libmysql/libmysql.c:
        Removed ^M from source
      libmysqld/libmysqld.c:
        Added handling of protocol options (to get source to compile)
      sql/lex.h:
        Added compabitlity keywords
      sql/mysql_priv.h:
        Added compatibility modes
      sql/mysqld.cc:
        Added compatibility modes
      sql/sql_delete.cc:
        Cleaned up SAFE_UPDATES handling
      sql/sql_yacc.yy:
        Added compatibility modes
      548e59c6
  31. 16 Nov, 2002 1 commit
    • unknown's avatar
      Small improvement to alloc_root · bd1c2d65
      unknown authored
      Add support for LIMIT # OFFSET #
      Changed lock handling:  Now all locks should be stored in TABLE_LIST instead of passed to functions.
      Don't call query_cache_invalidate() twice in some cases
      mysql_change_user() now clears states to be equal to close + connect.
      Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES
      Fixed a bug with replicate-do and UPDATE
      
      
      BitKeeper/etc/ignore:
        added autom4te.cache/* bdb/dist/autom4te.cache/* innobase/autom4te.cache/*
      include/my_alloc.h:
        Small improvement to alloc_root
      libmysql/libmysql.c:
        Removed compiler warning
      myisam/mi_page.c:
        Better DBUG message
      mysql-test/r/multi_update.result:
        Added test with lock tables
      mysql-test/r/rpl_replicate_do.result:
        Update results
      mysql-test/r/rpl_rotate_logs.result:
        Make test independent of if t1 exists
      mysql-test/t/multi_update.test:
        Added test with lock tables
      mysql-test/t/rpl_rotate_logs.test:
        Make test independent of if t1 exists
      mysys/my_alloc.c:
        Small imprevement to alloc_root
        (Don't free blocks less than ALLOC_MAX_BLOCK_ROOT (4K)
      sql/ha_innodb.cc:
        More debug messages
      sql/ha_myisam.cc:
        Safety change
      sql/lex.h:
        Add support for LIMIT # OFFSET #
      sql/lock.cc:
        Added assertion
      sql/mysql_priv.h:
        Change of lock handling
      sql/mysqld.cc:
        Added function clear_error_messages()
      sql/sql_base.cc:
        Change lock handling by open_ltable() and open_and_lock_tables()
      sql/sql_class.cc:
        Split THD::THD to two functions
        Move some code from cleanup() to ~THD:THD
        Add THD::change_user()
      sql/sql_class.h:
        Prototype changes in class THD
      sql/sql_delete.cc:
        Remove locking argument from mysql_delete()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_insert.cc:
        Remove locking argument from mysql_insert()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
        Don't use bulk insert if bulk_insert_buff_size is 0
      sql/sql_parse.cc:
        Changes to make mysql_change_user() work as close+connect
        Changed command statistics to use statstics_increment to get more speed
        Update code to handle that locks is now stored in TABLE_LIST
      sql/sql_update.cc:
        Remove locking argument from mysql_update()
        Locking type is now stored in TABLE_LIST
        Small code change to not call query_cache_invalidate() twice for transactional tables.
      sql/sql_yacc.yy:
        Locking type is now stored in TABLE_LIST
        Added support for LIMIT # OFFSET # syntax
        Removed some wrong (never true) checks for SQLCOM_MULTI_UPDATE
      mysql-test/t/rpl_replicate_do-slave.opt:
        Changed tables to use t1,t2,...
      mysql-test/t/rpl_replicate_do.test:
        Changed tables to use t1,t2,...
      bd1c2d65
  32. 07 Nov, 2002 1 commit
    • unknown's avatar
      ALL/ANY/SOME · 6987b414
      unknown authored
      decreasing number of rules in sql_yacc.yy to satisfy bison limitation
      fixed subselect Items initializer methods
      
      
      mysql-test/r/subselect.result:
        tests of ALL/ANY/SOME
      mysql-test/t/subselect.test:
        tests of ALL/ANY/SOME
      sql/item_cmpfunc.cc:
        ALL/ANY/SOME
      sql/item_cmpfunc.h:
        ALL/ANY/SOME
      sql/item_subselect.cc:
        ALL/ANY/SOME
        fixed subselect Items initializer methods
      sql/item_subselect.h:
        ALL/ANY/SOME
        fixed subselect Items initializer methods
      sql/lex.h:
        ALL/ANY/SOME
      sql/mysql_priv.h:
        decreasing number of rules in sql_yacc.yy to satisfy bison limitation
      sql/sql_parse.cc:
        decreasing number of rules in sql_yacc.yy to satisfy bison limitation
      sql/sql_yacc.yy:
        ALL/ANY/SOME
        decreasing number of rules in sql_yacc.yy to satisfy bison limitation
      6987b414
  33. 28 Oct, 2002 1 commit
    • unknown's avatar
      add help command on server side · fc4c9c01
      unknown authored
      include/mysqld_error.h:
        add error for corrupt help db
      scripts/Makefile.am:
        add script for fill help db
      scripts/mysql_install_db.sh:
        modify for add help db
      sql/Makefile.am:
        modify for add sql_help.cc
      sql/lex.h:
        add help command
      sql/mysql_priv.h:
        add mysqld_help function declaration
      sql/share/czech/errmsg.txt:
        add message for help-db error
      sql/share/danish/errmsg.txt:
        add message for help-db error
      sql/share/dutch/errmsg.txt:
        add message for help-db error
      sql/share/english/errmsg.txt:
        add message for help-db error
      sql/share/estonian/errmsg.txt:
        add message for help-db error
      sql/share/french/errmsg.txt:
        add message for help-db error
      sql/share/german/errmsg.txt:
        add message for help-db error
      sql/share/greek/errmsg.txt:
        add message for help-db error
      sql/share/hungarian/errmsg.txt:
        add message for help-db error
      sql/share/italian/errmsg.txt:
        add message for help-db error
      sql/share/japanese/errmsg.txt:
        add message for help-db error
      sql/share/korean/errmsg.txt:
        add message for help-db error
      sql/share/norwegian-ny/errmsg.txt:
        add message for help-db error
      sql/share/norwegian/errmsg.txt:
        add message for help-db error
      sql/share/polish/errmsg.txt:
        add message for help-db error
      sql/share/portuguese/errmsg.txt:
        add message for help-db error
      sql/share/romanian/errmsg.txt:
        add message for help-db error
      sql/share/russian/errmsg.txt:
        add message for help-db error
      sql/share/serbian/errmsg.txt:
        add message for help-db error
      sql/share/slovak/errmsg.txt:
        add message for help-db error
      sql/share/spanish/errmsg.txt:
        add message for help-db error
      sql/share/swedish/errmsg.txt:
        add message for help-db error
      sql/share/ukrainian/errmsg.txt:
        add message for help-db error
      sql/sql_lex.h:
        add SQLCOM_END 
        and help_arg in Lex
      sql/sql_parse.cc:
        add SQLCOM_HELP handler
      sql/sql_yacc.yy:
        add help command
      fc4c9c01