An error occurred fetching the project authors.
  1. 28 Nov, 2002 2 commits
    • unknown's avatar
      fixed * without tables in IN bug · 6f80b711
      unknown authored
      fixed sunction-test select in IN bug
      fixed unions in subselect bug
      
      
      include/mysqld_error.h:
        new warning
      mysql-test/r/subselect.result:
        test of * without tables in IN
        test of sunction-test select in IN
        test of unions in subselect
      mysql-test/t/subselect.test:
        test of * without tables in IN
        test of sunction-test select in IN
        test of unions in subselect
      sql/item.cc:
        fixed * substitution without tables
      sql/item_subselect.cc:
        fixed subselect rewriting with function-test subselect
      sql/item_subselect.h:
        mechanism for subselect removing
      sql/share/czech/errmsg.txt:
        new warning
      sql/share/danish/errmsg.txt:
        new warning
      sql/share/dutch/errmsg.txt:
        new warning
      sql/share/english/errmsg.txt:
        new warning
      sql/share/estonian/errmsg.txt:
        new warning
      sql/share/french/errmsg.txt:
        new warning
      sql/share/german/errmsg.txt:
        new warning
      sql/share/greek/errmsg.txt:
        new warning
      sql/share/hungarian/errmsg.txt:
        new warning
      sql/share/italian/errmsg.txt:
        new warning
      sql/share/japanese/errmsg.txt:
        new warning
      sql/share/korean/errmsg.txt:
        new warning
      sql/share/norwegian-ny/errmsg.txt:
        new warning
      sql/share/norwegian/errmsg.txt:
        new warning
      sql/share/polish/errmsg.txt:
        new warning
      sql/share/portuguese/errmsg.txt:
        new warning
      sql/share/romanian/errmsg.txt:
        new warning
      sql/share/russian/errmsg.txt:
        new warning
      sql/share/serbian/errmsg.txt:
        new warning
      sql/share/slovak/errmsg.txt:
        new warning
      sql/share/spanish/errmsg.txt:
        new warning
      sql/share/swedish/errmsg.txt:
        new warning
      sql/share/ukrainian/errmsg.txt:
        new warning
      sql/sql_base.cc:
        fixed case on no name field in UNION subselect
      sql/sql_lex.cc:
        mechanisp of removing single subselect for optimisation purposes
      sql/sql_lex.h:
        mechanisp of removing single subselect for optimisation purposes
      sql/sql_parse.cc:
        error handling
      sql/sql_union.cc:
        fixed unions in subselect
      sql/sql_yacc.yy:
        fixed Lex->describe flag appearence
      6f80b711
    • unknown's avatar
      Fixed the reduce/reduce conflicts introduced by subselects. · b01993fd
      unknown authored
      sql/sql_yacc.yy:
        Fixed the reduce/reduce conflicts introduced by subselects by
        breaking select_init apart.
      b01993fd
  2. 27 Nov, 2002 2 commits
  3. 26 Nov, 2002 1 commit
  4. 25 Nov, 2002 3 commits
    • unknown's avatar
      subselects in insert/replace (SCRUM) · da538d2b
      unknown authored
      mysql-test/r/subselect.result:
        test of insert/replace with subselects
      mysql-test/t/subselect.test:
        test of insert/replace with subselects
      sql/sql_insert.cc:
        subselects in insert/replace
      sql/sql_yacc.yy:
        subselects in insert/replace
      da538d2b
    • unknown's avatar
      removed limit for "FOR UPDATE" and "IN SHARE MODE" (now thay allowed for... · 27f2c605
      unknown authored
      removed limit for "FOR UPDATE" and "IN SHARE MODE" (now thay allowed for non-simple selects and applyed to current select)
      fix for using subselects with update
      test of locking for non-simple queries
      (SCRUM?)
      
      
      sql/sql_yacc.yy:
        removed limit for "FOR UPDATE" and "IN SHARE MODE" (now thay allowed for non-simple selects and applyed to current select)
        fix for using subselects with update
      27f2c605
    • unknown's avatar
      Faster parsing of identifiers · 895e3dbb
      unknown authored
      Compatibility syntax: SERIAL, [PRIMARY] KEY and VALUE
      
      
      
      sql/sql_lex.cc:
        Faster handling of identifiers
      sql/sql_lex.h:
        Faster handling of identifiers
      sql/sql_yacc.yy:
        Added SERIAL (alias for bigint auto_increment)
        Make PRIMARY optional in field specification
        Make VALUE alias for VALUES
      895e3dbb
  5. 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
  6. 23 Nov, 2002 2 commits
    • unknown's avatar
      after merging fix (update SCRUM?) · b99dec07
      unknown authored
      mysql-test/t/subselect.test:
        after merging fix
      sql/sql_lex.cc:
        after merging fix
      sql/sql_update.cc:
        after merging fix
      sql/sql_yacc.yy:
        after merging fix
      b99dec07
    • unknown's avatar
      lock option in table list · b7bcb965
      unknown authored
      sql/sql_lex.cc:
        note about methods location
      b7bcb965
  7. 22 Nov, 2002 1 commit
    • unknown's avatar
      Moved safe_to_cache_query from thd to lex. · 0e9a75a4
      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.
      0e9a75a4
  8. 21 Nov, 2002 2 commits
    • unknown's avatar
      Fixes after merge with 4.0 · c58d9d9a
      unknown authored
      mysql-test/r/heap_btree.result:
        Updated results
      mysql-test/r/heap_hash.result:
        Updated results
      mysql-test/r/merge.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/select.result:
        Updated results
      mysql-test/r/subselect.result:
        Updated results
      sql/item_cmpfunc.h:
        Fix after merge
      sql/log_event.cc:
        Fix after merge
      sql/mysql_priv.h:
        Fix after merge
      sql/sql_acl.cc:
        Fix after merge
      sql/sql_class.cc:
        Fix after merge
      sql/sql_db.cc:
        Fix after merge
      sql/sql_delete.cc:
        Fix after merge
      sql/sql_lex.cc:
        Fix after merge
      sql/sql_lex.h:
        Fix after merge
      sql/sql_parse.cc:
        Fix after merge
      sql/sql_update.cc:
        Fix after merge
      sql/sql_yacc.yy:
        Fix after merge
      c58d9d9a
    • 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
  9. 20 Nov, 2002 2 commits
    • unknown's avatar
      Try to optimize the cache buffer size needed for bulk_insert · 9b9546ed
      unknown authored
      Fix for shutdown on Mac OS X
      
      
      include/my_tree.h:
        Try to optimize the cache buffer size needed for bulk_insert
      myisam/mi_write.c:
        Try to optimize the cache buffer size needed for bulk_insert
      mysql-test/r/bdb.result:
        Make test repeatable
      mysql-test/t/bdb.test:
        Make test repeatable
      mysys/tree.c:
        Try to optimize the cache buffer size needed for bulk_insert
      sql/mysql_priv.h:
        Small optimization
      sql/mysqld.cc:
        Fix for shutdown on Mac OS X
      sql/sql_insert.cc:
        Try to optimize the cache buffer size needed for bulk_insert
      sql/sql_yacc.yy:
        Call thd->strmake() instead of sql_strmake()
      sql/table.cc:
        Try to optimize the cache buffer size needed for bulk_insert
      sql/table.h:
        Try to optimize the cache buffer size needed for bulk_insert
      9b9546ed
    • 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
  10. 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
  11. 11 Nov, 2002 1 commit
    • unknown's avatar
      Fixed that NULL and 0 returns 0 instead of NULL · 3165440c
      unknown authored
      This is coded to not cause a speed impact on top level AND expressions where we don't care if an AND expression returns 0 or NULL
      
      
      mysql-test/r/bdb.result:
        Fix results after serges last patch
      mysql-test/r/innodb.result:
        Fix results after serges last patch
      mysql-test/r/null.result:
        Update for new AND handling of NULL
      scripts/mysqld_safe.sh:
        Fix 'isroot' test to work even if user is not root
      sql/item.h:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/item_cmpfunc.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/item_cmpfunc.h:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_base.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_parse.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_select.cc:
        Fixed that NULL and 0 returns 0 instead of NULL
      sql/sql_yacc.yy:
        Fixed that NULL and 0 returns 0 instead of NULL
      3165440c
  12. 10 Nov, 2002 1 commit
  13. 07 Nov, 2002 2 commits
    • 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
    • unknown's avatar
      Put temporary files in binlog cache when using BEGIN/COMMIT · 72413e7f
      unknown authored
      Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      New variables @@rand_seed1 and @@rand_seed2 (used by replication)
      DROP TEMPORARY TABLE
      
      
      mysql-test/r/rpl_log.result:
        Update of results after last replication change
      mysql-test/r/variables.result:
        Test of new variables @@rand_seed1 and @@rand_seed2
      mysql-test/t/variables.test:
        Test of new variables @@rand_seed1 and @@rand_seed2
      sql/field.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/field.h:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/item_func.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/log.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
        More debug information
      sql/log_event.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/log_event.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/set_var.cc:
        Add system variables @@rand_seed1 and @@rand_seed2
      sql/set_var.h:
        Add system variables @@rand_seed1 and @@rand_seed2
      sql/slave.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_acl.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_base.cc:
        Store DROP of temporary tables in binlog cache
      sql/sql_class.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_db.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_delete.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_insert.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_lex.h:
        DROP TEMPORARY TABLE
      sql/sql_load.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_parse.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_rename.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_repl.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_repl.h:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_table.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_update.cc:
        Put temporary files in binlog cache when using BEGIN/COMMIT
      sql/sql_yacc.yy:
        DROP TEMPORARY
      sql/table.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      sql/unireg.cc:
        Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
      72413e7f
  14. 06 Nov, 2002 1 commit
    • unknown's avatar
      Extensions to support this: · 1e63509d
      unknown authored
      SHOW CREATE DATABASE [IF NOT EXISTS] dbname
      
      Version dependant parts are displayed in appropriative comments:
      CREATE DATABASE /*!32312 IF NOT EXISTS*/ `ucs` /*!40100 DEFAULT CHARACTER SET ucs2*/
      
      
      client/mysqldump.c:
        SHOW CREATE DATABASE IF NOT EXISTS
      sql/mysql_priv.h:
        SHOW CREATE DATABASE IF NOT EXISTS
      sql/sql_db.cc:
        SHOW CREATE DATABASE IF NOT EXISTS
      sql/sql_parse.cc:
        SHOW CREATE DATABASE IF NOT EXISTS
      sql/sql_yacc.yy:
        SHOW CREATE DATABASE IF NOT EXISTS
      1e63509d
  15. 05 Nov, 2002 1 commit
  16. 04 Nov, 2002 2 commits
    • unknown's avatar
      move similar code to inline function · 1b26dbbd
      unknown authored
      1b26dbbd
    • unknown's avatar
      moved similar code to function · 53a386ca
      unknown authored
      onversion with check
      
      
      sql/item.cc:
        removed similar code
      sql/item_sum.cc:
        conversion with check
      sql/sql_delete.cc:
        conversion with check
      sql/sql_derived.cc:
        style fix
      sql/sql_lex.cc:
        conversion with check
        moved similar code to function
      sql/sql_lex.h:
        conversion with check
        moved similar code to function
      sql/sql_parse.cc:
        conversion with check
      sql/sql_update.cc:
        conversion with check
      sql/sql_yacc.yy:
        conversion with check
      53a386ca
  17. 31 Oct, 2002 1 commit
  18. 30 Oct, 2002 3 commits
    • unknown's avatar
      addition correction for 'help' command · 8dbfebc7
      unknown authored
      include/mysqld_error.h:
        change count of error messages
      libmysqld/Makefile.am:
        add sql_help.cc
      sql/sql_help.cc:
        eliminate warnings
      sql/sql_yacc.yy:
        add ';' to end of 'help' command
      8dbfebc7
    • unknown's avatar
      removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion (SCRUM) · 0bb1e716
      unknown authored
      fixed some possible bugs
      
      
      sql/item.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/item_subselect.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/item_sum.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/mysql_priv.h:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_base.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_cache.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_delete.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_lex.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_lex.h:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
        fixed some possible bugs
      sql/sql_parse.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_prepare.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_repl.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_select.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_union.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_update.cc:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      sql/sql_yacc.yy:
        removed SELECT_LEX_UNIT -> SELECT_LEX pointer conversion
      0bb1e716
    • unknown's avatar
      Preparation to thread specific default charset · e086000f
      unknown authored
      e086000f
  19. 29 Oct, 2002 1 commit
    • unknown's avatar
      Added back old LARGEFILE handling · ea3ffb9b
      unknown authored
      Fixed reference to freed memory in acl_init()/grant_init()
      Fixed possible memory leak. (Could only happen in very strange circumstances)
      Fixed bug in ALTER TABLE with BDB tables
      Updated mysql-test for valgrind
      
      
      Docs/manual.texi:
        ChangeLog
      acinclude.m4:
        Added back old LARGEFILE handling.
        (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
      configure.in:
        Added back old LARGEFILE handling.
        (Needed to get MySQL to compile on Solaris 2.9 with gcc 3.x)
      libmysqld/lib_sql.cc:
        Fixed reference to freed memory
      mysql-test/mysql-test-run.sh:
        Added option --valgrind
      mysys/Makefile.am:
        Removed warning when doing make
      sql/mysqld.cc:
        Free regexp memory on shutdown.
        read 'des' key files from data directory
        Fixed reference to freed memory in grant_init()
      sql/slave.cc:
        Fixed wrong printf() argument
      sql/sql_acl.cc:
        Fixed reference to freed memory
      sql/sql_acl.h:
        Fixed reference to freed memory
      sql/sql_base.cc:
        Fixed possible memory leak. (Could only happen in very strange circumstances)
      sql/sql_parse.cc:
        Updated arguments to grant_reload()
      sql/sql_table.cc:
        Fixed bug in ALTER TABLE with BDB tables
      sql/sql_yacc.yy:
        memset -> bzero
      ea3ffb9b
  20. 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
  21. 27 Oct, 2002 1 commit
    • unknown's avatar
      IN subselect · 0241d64b
      unknown authored
      mysql-test/r/subselect.result:
        IN subselect test
      mysql-test/t/subselect.test:
        IN subselect test
      sql/item.cc:
        Item wrappers for IN subselect
      sql/item.h:
        Item wrappers for IN subselect
      0241d64b
  22. 26 Oct, 2002 2 commits
    • unknown's avatar
      sql_yacc.yy: · fc08d48c
      unknown authored
        cleanup
      
      
      sql/sql_yacc.yy:
        cleanup
      fc08d48c
    • unknown's avatar
      code cleanup · c37bbf06
      unknown authored
      fixed subselect error handling bug
      fixed subselect UNION ALL bug
      fixed thd->lex.select restoring
      explain UNION subselect bug
      
      
      mysql-test/r/subselect.result:
        test for:
          subselect UNION ALL bug
          subselect error handling bug
          explain UNION subselect bug
      mysql-test/t/subselect.test:
        test for:
          subselect UNION ALL bug
          subselect error handling bug
          explain UNION subselect bug
      sql/sql_lex.cc:
        fixed subselect UNION ALL bug
      sql/sql_lex.h:
        fixed subselect UNION ALL bug
      sql/sql_parse.cc:
        fixed subselect UNION ALL bug
      sql/sql_select.cc:
        fixed subselect error handling bug
        fixed explain UNION subselect bug
      sql/sql_union.cc:
        fixed thd->lex.select restoring
        code cleanup
        fixed subselect error handling bug
        fixed subselect UNION ALL bug
      sql/sql_yacc.yy:
        fixed subselect UNION ALL bug
      c37bbf06
  23. 25 Oct, 2002 3 commits
  24. 24 Oct, 2002 3 commits
    • unknown's avatar
      altered syntax from SLAVE START|STOP to START|STOP SLAVE · 458ced9f
      unknown authored
      mysql-test/mysql-test-run.sh:
        Added --rpl option which tests all t/rpl*.test tests.
      458ced9f
    • unknown's avatar
      fixed update with subselect (FOR REVIEW) · c8130069
      unknown authored
      mysql-test/r/subselect.result:
        update with subselect test
      mysql-test/t/subselect.test:
        update with subselect test
      sql/mysql_priv.h:
        fixed update with subselect
      sql/sql_base.cc:
        fixed update with subselect
      sql/sql_lex.cc:
        fixed update with subselect
      sql/sql_select.cc:
        fixed update with subselect
      sql/sql_update.cc:
        fixed update with subselect
      sql/sql_yacc.yy:
        fixed update with subselect
      c8130069
    • unknown's avatar
      added new syntax: · 47ffb583
      unknown authored
      STOP|START SLAVE
      rather than SLAVE STOP|START, which is now deprecated and should be deleted in 4.1
      
      
      47ffb583