1. 16 Oct, 2002 1 commit
    • unknown's avatar
      fix of the small bug in UNION's · d482a3af
      unknown authored
      mysql-test/r/heap_btree.result:
        I donno why this changed, aint my fault
      sql/sql_union.cc:
        fix of the small bug
      d482a3af
  2. 13 Oct, 2002 1 commit
    • unknown's avatar
      fixed bug of multi-level EXPLAIN · ab07c184
      unknown authored
      mysql-test/r/subselect.result:
        test of multi-level EXPLAIN
      mysql-test/t/subselect.test:
        test of multi-level EXPLAIN
      ab07c184
  3. 08 Oct, 2002 1 commit
    • unknown's avatar
      Portability fixes to be able to compile MySQL with VC++ · e04b6011
      unknown authored
      VC++Files/client/mysqlclient.dsp:
        Updated VC++ files for 4.1
      VC++Files/libmysql/libmysql.dsp:
        Updated VC++ files for 4.1
      VC++Files/libmysqld/libmysqld.dsp:
        Updated VC++ files for 4.1
      VC++Files/myisam/myisam.dsp:
        Updated VC++ files for 4.1
      VC++Files/mysys/mysys.dsp:
        Updated VC++ files for 4.1
      VC++Files/sql/mysqld.dsp:
        Updated VC++ files for 4.1
      VC++Files/strings/strings.dsp:
        Updated VC++ files for 4.1
      client/mysql.cc:
        Update for windows
      heap/_check.c:
        Fixed wrong DBUG_PRINT() usage
      include/mysql.h:
        Portability fix (uint -> unsigned int)
      libmysql/libmysql.def:
        Removed old my_casecmp function
      sql/ha_innodb.cc:
        Update for windows
      sql/init.cc:
        Removed not used variable
      sql/log.cc:
        Removed not used variable
      sql/net_pkg.cc:
        Portability fix
      sql/sql_db.cc:
        Portability fixes.  Removed not used variables
      sql/sql_lex.h:
        Portability fix
      sql/sql_parse.cc:
        Portability fix
      sql/sql_prepare.cc:
        Removed not used variables
      sql/sql_select.cc:
        Portability fix
      sql/sql_show.cc:
        Portability fix
      sql/sql_union.cc:
        Portability fix
      e04b6011
  4. 02 Oct, 2002 1 commit
    • unknown's avatar
      Fixes and code cleanups after merge with 4.0.3 · 5f6e2afe
      unknown authored
      Warning handling and initial prepared statement handling (last not complete yet)
      Changed a lot of functions that returned 0/1 to my_bool type.
      GRANT handling now uses read/write locks instead of mutex
      Change basic net functions to use THD instead of NET
      (needed for 4.1 protocol)
      Use my_sprintf instead of sprintf() + strlen()
      Added alloc_query() to be able to chare query initialization code with
      prepared statements.
      Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      
      Note that the following test fails (will be fixed ASAP):
      sub_select, union, rpl_rotate_logs and rpl_mystery22
      
      
      BitKeeper/deleted/.del-README~3449730baf983117:
        Delete: mysql-test/t/README
      BitKeeper/deleted/.del-sql_error.cc~2f1caca8d2485dbe:
        Delete: libmysqld/sql_error.cc
      BitKeeper/deleted/.del-sql_prepare.cc~f703729793935ed6:
        Delete: libmysqld/sql_prepare.cc
      Docs/manual.texi:
        Updated variable list
      client/mysql.cc:
        Show warning count to user.
      client/mysqltest.c:
        Add warnings to test results
      configure.in:
        New shared library version number
      include/errmsg.h:
        Indentation cleanup
      include/mysql.h:
        Removed MYSQL_ERROR
        Indentaion cleanups
      include/mysql_com.h:
        Changed functions to returns true/false to my_bool.
      include/mysqld_error.h:
        New error messages
      isam/pack_isam.c:
        Indentation change
      libmysql/Makefile.am:
        Fix of wrong merge
      libmysql/Makefile.shared:
        Indentation cleanup
      libmysql/errmsg.c:
        Removed not used errors
      libmysql/libmysql.c:
        Change functions to return 1 on error (not -1)
        Change type of functions that returns 0/1 to my_bool
        Lot of code optimizations.
        Lot of changes for prepared statements. This now handles sending of binary data to server.
        Receving of binary data is not yet done (will have to wait until server code for this is ready)
        mysql_warning_count and mysql_warnings() implemented.
      libmysql/libmysql.def:
        Added mysql_warnings and mysql_warning_count
      libmysql/manager.c:
        Fixed wrong testing of result from my_connect()
      libmysqld/lib_sql.cc:
        Removed global variable THR_NET
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      libmysqld/libmysqld.c:
        Changed functions to be my_bool
      myisam/ft_boolean_search.c:
        Trivial code cleanup
      myisam/ft_stopwords.c:
        Trivial code cleanup
      myisam/mi_check.c:
        Update to 4.1 structures
      myisam/myisampack.c:
        Trivial code cleanup
      myisam/rt_key.c:
        Code cleanup
      myisam/rt_test.c:
        Code cleanup
        Removed compiler warnings
      myisam/sp_key.c:
        Indentation changes
      myisam/sp_test.c:
        Removed compiler warnings
      mysql-test/README:
        Updated to reflect the new --external flag.
      mysql-test/mysql-test-run.sh:
        --local (start new server) is now default.
        Use --external to test against external server.
      mysql-test/r/rollback.result:
        Updated for 4.1 warnings
      mysql-test/r/rpl_log.result:
        Update for 4.1
      mysql-test/t/rollback.test:
        Updated for 4.1 warnings
      mysql-test/t/rpl_log_pos.test:
        Portability fix
      mysys/hash.c:
        Indentation change
      mysys/my_error.c:
        Indentation change
      mysys/tree.c:
        Updated file description
      sql/field.cc:
        Fixed bugs introduced by merge
        Use my_sprintf instead of sprintf() + strlen()
      sql/field.h:
        Add CHARSET_INFO to field structure
      sql/gstream.h:
        Indentation changes.
        Added GPL copyright header
      sql/ha_innodb.cc:
        Updated parameters for net functions.
      sql/item.cc:
        Updates of Item_param
        Indentation changes
      sql/item.h:
        Removed size_of() function from item.
      sql/item_func.cc:
        Update function usage for 4.1
        Added get_system_var()
      sql/item_func.h:
        Indentation change
      sql/item_strfunc.cc:
        Removed not needed inclusion of gstream.h
        Update to use system variables (from 4.0)
      sql/item_sum.h:
        Removed size_of() functions from item.
      sql/item_timefunc.cc:
        Change sprintf() + strlen() -> my_sprintf()
        Added length parameter to ->append()
      sql/item_timefunc.h:
        Removed size_of() functions from item.
      sql/item_uniq.h:
        Removed size_of() functions from item.
      sql/lex.h:
        Removed SQL_ERROR_COUNT variable
      sql/log.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/log_event.cc:
        Change sprintf() + strlen() -> my_sprintf()
      sql/mini_client.cc:
        Added check that one always specifies a length to mc_mysql_query()
      sql/mysql_priv.h:
        New prototypes
        Change of NET -> THD parameter for net functions.
      sql/mysqld.cc:
        New startup options:  'max_prepared_statements', 'max_error_count'
        Updated usage of net functions.
      sql/net_pkg.cc:
        Change basic net functions to use THD instead of NET
        (needed to be able to handle 4.0 and 4.1 protocols)
        Lots of function comments
      sql/net_serv.cc:
        Change int return values -> my_bool
        Updated net_write_command() to take an extra header block to be added to the packet.
        (This made the prepared statement code much nicer and more efficient)
      sql/repl_failsafe.cc:
        Update net functions to use THD instead of NET
      sql/set_var.cc:
        Added @@error_count and @@warning_count variables.
        Updated to 4.1 function usage
      sql/set_var.h:
        Added @@error_count and @@warning_count variables.
      sql/share/czech/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/english/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/greek/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/hungarian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/japanese/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/korean/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian-ny/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/norwegian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/polish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/romanian/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/slovak/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/share/swedish/errmsg.txt:
        Removed Warning: from warning error messages.
      sql/slave.cc:
        Change basic net functions to use THD instead of NET
        skip_load_data_file recoded to fit new client/server protocol
      sql/spatial.h:
        Added copyright header
        Indentation cleanups
      sql/sql_acl.cc:
        Change basic net functions to use THD instead of NET
        GRANT handling now uses read/write locks instead of mutex
      sql/sql_analyse.cc:
        Change basic net functions to use THD instead of NET
        sprintf() + strlen() -> my_sprintf()
      sql/sql_base.cc:
        More DBUG statements
      sql/sql_class.cc:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_class.h:
        Change basic net functions to use THD instead of NET
        warning and prepared statement handling
      sql/sql_db.cc:
        Code cleanup & optimization.
      sql/sql_delete.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_derived.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_do.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_error.cc:
        Big rewrite of error handling.
      sql/sql_handler.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_insert.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_lex.h:
        Added param_count to st_select_lex_node
      sql/sql_list.h:
        Removed not needed error list.
      sql/sql_load.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_parse.cc:
        Change basic net functions to use THD instead of NET
        Added alloc_query() to be able to chare query initialization code with
        prepared statements.
        Update of warning handling.
        Added create_select_for_variable() (for SHOW COUNT(*) WARNINGS)
      sql/sql_prepare.cc:
        Initial prepared statement handling
      sql/sql_rename.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_repl.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_select.cc:
        Small code cleanups
        Added missing initialization of error that caused some queries that returned an empty result set to fail
      sql/sql_select.h:
        Ensure that JOIN.error is properly initialized
      sql/sql_show.cc:
        Change basic net functions to use THD instead of NET
        A lot of optimization
      sql/sql_table.cc:
        Change basic net functions to use THD instead of NET
        Indentaion cleanup
      sql/sql_udf.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_union.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_update.cc:
        Change basic net functions to use THD instead of NET
      sql/sql_yacc.yy:
        Change basic net functions to use THD instead of NET
        Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
      sql/structs.h:
        Moved structures to files where they was used
      sql/table.cc:
        Don't accept empty database names
      sql/uniques.cc:
        Indentation cleanup
      sql/unireg.cc:
        Change basic net functions to use THD instead of NET
      sql/unireg.h:
        Added defaults for warnings and prepared statements
      strings/ctype-simple.c:
        optimization
      tests/client_test.c:
        Fixed wrong paramaters to printf()
      5f6e2afe
  5. 26 Sep, 2002 1 commit
    • unknown's avatar
      new EXPLAIN · 404e879b
      unknown authored
      fixed bug in mysql-test/create-test-result
      fixed bug in union-subselect engine
      
      
      mysql-test/create-test-result:
        fixed bug in reject file name assembling
      mysql-test/r/compare.result:
        new EXPLAIN
      mysql-test/r/create.result:
        new EXPLAIN
      mysql-test/r/distinct.result:
        new EXPLAIN
      mysql-test/r/explain.result:
        new EXPLAIN
      mysql-test/r/group_by.result:
        new EXPLAIN
      mysql-test/r/heap.result:
        new EXPLAIN
      mysql-test/r/heap_btree.result:
        new EXPLAIN
      mysql-test/r/heap_hash.result:
        new EXPLAIN
      mysql-test/r/innodb.result:
        new EXPLAIN
      mysql-test/r/join_outer.result:
        new EXPLAIN
      mysql-test/r/key_diff.result:
        new EXPLAIN
      mysql-test/r/key_primary.result:
        new EXPLAIN
      mysql-test/r/merge.result:
        new EXPLAIN
      mysql-test/r/myisam.result:
        new EXPLAIN
      mysql-test/r/null_key.result:
        new EXPLAIN
      mysql-test/r/odbc.result:
        new EXPLAIN
      mysql-test/r/order_by.result:
        new EXPLAIN
      mysql-test/r/range.result:
        new EXPLAIN
      mysql-test/r/select.result:
        new EXPLAIN
      mysql-test/r/subselect.result:
        new EXPLAIN
      mysql-test/r/type_datetime.result:
        new EXPLAIN
      mysql-test/r/union.result:
        new EXPLAIN
      mysql-test/r/user_var.result:
        new EXPLAIN
      mysql-test/r/varbinary.result:
        new EXPLAIN
      mysql-test/t/subselect.test:
        new EXPLAIN
      mysql-test/t/union.test:
        new EXPLAIN
      sql/mysql_priv.h:
        new EXPLAIN
      sql/sql_class.cc:
        new EXPLAIN
      sql/sql_class.h:
        new EXPLAIN
      sql/sql_derived.cc:
        new EXPLAIN
      sql/sql_lex.h:
        new EXPLAIN
      sql/sql_parse.cc:
        new EXPLAIN
      sql/sql_select.cc:
        new EXPLAIN
      sql/sql_union.cc:
        fixed bug in subselect-UNION engine
      sql/table.h:
        new EXPLAIN
      404e879b
  6. 20 Sep, 2002 1 commit
    • unknown's avatar
      Changed table_list->name -> table_list->alias to find places where we where... · 0d2a457f
      unknown authored
      Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      This should fix some issues where --lower-case-table-names doesn't work properly under windows.
      
      
      client/mysql.cc:
        Added missing sslopt-case.h
      sql/lock.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/log_event.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/mysqld.cc:
        Fixed that --ssl and --skip-ssl works
      sql/slave.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_acl.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_base.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_cache.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_handler.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_insert.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_parse.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_show.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_table.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_udf.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_union.cc:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/sql_yacc.yy:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      sql/table.h:
        Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
      0d2a457f
  7. 03 Sep, 2002 1 commit
    • unknown's avatar
      subselect with union · c0c822d4
      unknown authored
      new error handling
      Item_ref bug fixed
      
      
      include/mysql_com.h:
        new error handling
        query cache pointer description
      mysql-test/r/distinct.result:
        new result's after Monty's bug fixing
      mysql-test/r/subselect.result:
        subselect with union test
      mysql-test/t/subselect.test:
        subselect with union test
      sql/item.cc:
        subselect with union
        Item_ref bug fixed
      sql/item_cmpfunc.cc:
        Monty's bug fixing
      sql/item_subselect.cc:
        TODO changing
        subselect with union
      sql/item_subselect.h:
        subselect with union
      sql/mysql_priv.h:
        Item_ref bug fixed
      sql/mysqld.cc:
        new error handling
      sql/net_pkg.cc:
        new error handling
      sql/net_serv.cc:
        new error handling
      sql/sql_base.cc:
        Item_ref bug fixed
      sql/sql_class.cc:
        new error handling
      sql/sql_class.h:
        new error handling
      sql/sql_derived.cc:
        subselect with union
      sql/sql_insert.cc:
        new error handling (only with mysql_select now)
      sql/sql_lex.cc:
        subselect with union
      sql/sql_lex.h:
        subselect with union
      sql/sql_parse.cc:
        new error handling
      sql/sql_select.cc:
        new error handling
        subselect with union
        removed thd->where=0 hack
      sql/sql_select.h:
        subselect with union
      sql/sql_union.cc:
        subselect with union
      sql/sql_update.cc:
        new error handling (only with mysql_select now)
      sql/sql_yacc.yy:
        subselect with union
      c0c822d4
  8. 24 Jul, 2002 1 commit
    • unknown's avatar
      Removed wrong implementation of CUBE/ROLLUP · 0862707d
      unknown authored
      Fixed bugfix of INSERT ... SET db_name.table_name.column_name
      Changed locking to external-locking
      Fix client hangup for some invalid SQL queries.
      
      
      Docs/manual.texi:
        Changelog & recent incompatible changes to 4.0.3
      include/mysqld_error.h:
        New error messages
      myisam/ft_boolean_search.c:
        Removed compiler warning
      myisam/mi_check.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/mi_dynrec.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/mi_extra.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/mi_key.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/mi_open.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/mi_packrec.c:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/myisamdef.h:
        Change mi_fix_rec_buff_for_blob to mi_alloc_rec_buff
      myisam/sort.c:
        Fixed uninitialized variable
      mysql-test/r/insert_set.result:
        Change test case to use database foo
      mysql-test/r/union.result:
        Test wrong usage of union
      mysql-test/t/insert_set.test:
        Test bug in insert
      mysql-test/t/union.test:
        Test wrong usage of union
      sql/item.h:
        Indentation cleanup
      sql/item_cmpfunc.h:
        Indentation cleanup
      sql/item_func.h:
        Indentation cleanup
      sql/item_strfunc.h:
        Indentation cleanup
      sql/item_sum.h:
        Indentation cleanup
      sql/item_timefunc.h:
        Indentation cleanup
      sql/item_uniq.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Fix that we always generate an error message when calling YYABORT
      sql/mysqld.cc:
        Changed command line arguments regarding locking to always use --external-locking
        Disable external locking by default
      sql/procedure.h:
        Cleanup
      sql/set_var.cc:
        change locking -> external_locking
      sql/share/czech/errmsg.txt:
        New error messages
      sql/share/danish/errmsg.txt:
        New error messages
      sql/share/dutch/errmsg.txt:
        New error messages
      sql/share/english/errmsg.txt:
        New error messages
      sql/share/estonian/errmsg.txt:
        New error messages
      sql/share/french/errmsg.txt:
        New error messages
      sql/share/german/errmsg.txt:
        New error messages
      sql/share/greek/errmsg.txt:
        New error messages
      sql/share/hungarian/errmsg.txt:
        New error messages
      sql/share/italian/errmsg.txt:
        New error messages
      sql/share/japanese/errmsg.txt:
        New error messages
      sql/share/korean/errmsg.txt:
        New error messages
      mysql-test/r/olap.result:
        Removed CUBE/ROLLUP
      mysql-test/t/olap.test:
        Removed CUBE/ROLLUP
      sql/share/norwegian-ny/errmsg.txt:
        New error messages
      sql/share/norwegian/errmsg.txt:
        New error messages
      sql/share/polish/errmsg.txt:
        New error messages
      sql/share/portuguese/errmsg.txt:
        New error messages
      sql/share/romanian/errmsg.txt:
        New error messages
      sql/share/russian/errmsg.txt:
        New error messages
      sql/share/slovak/errmsg.txt:
        New error messages
      sql/share/spanish/errmsg.txt:
        New error messages
      sql/share/swedish/errmsg.txt:
        New error messages
      sql/share/ukrainian/errmsg.txt:
        New error messages
      sql/sql_base.cc:
        Removed wrong patch for INSERT...
      sql/sql_insert.cc:
        Fix bug in INSERT ... SET db_name.table_name.column_name
      sql/sql_lex.h:
        Changed NON_EXISTIONG_ONE -> UNSPECIFIED_OLAP_TYPE
      sql/sql_olap.cc:
        Removed wrong implementation of CUBE/ROLLUP
      sql/sql_parse.cc:
        Removed wrong implementation of CUBE/ROLLUP
        Added function to give better error messages
      sql/sql_select.cc:
        Removed wrong implementation of CUBE/ROLLUP
      sql/sql_union.cc:
        Added comment
      sql/sql_yacc.yy:
        Fix that we always generate an error message when calling YYABORT
      0862707d
  9. 23 Jul, 2002 1 commit
    • unknown's avatar
      New SET syntax & system variables. · 728cc2e2
      unknown authored
      Made a some new buffers thread specific and changeable.
      Resize of key_buffer.
      AUTO_COMMIT -> AUTOCOMMIT
      Fixed mutex bug in DROP DATABASE
      Fixed bug when using auto_increment as second part of a key where first part could include NULL.
      Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
      Don't write message to error log when slave reconnects becasue of timeout.
      Fixed possible update problem when using DELETE/UPDATE on small tables
      (In some cases we used index even if table scanning would be better)
      A lot of minior code cleanups
      
      
      BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
        Delete: libmysql/net.c
      BitKeeper/etc/ignore:
        added libmysql/net.c
      Docs/manual.texi:
        New SET syntax & system variables.
      client/client_priv.h:
        moved order of include files
      client/mysql.cc:
        Removed compiler warning
      client/mysqladmin.c:
        Use new SHOW GLOBAL syntax (if server supports it)
      configure.in:
        version change
      include/Makefile.am:
        indentation cleanup
      include/my_getopt.h:
        Made some helper functions global
      include/my_sys.h:
        Removed not used code
      include/myisam.h:
        Added extra argument to ..._extra()
      include/myisammrg.h:
        Added extra argument to ..._extra()
      include/mysql_com.h:
        changed NET to be able to support changeable system variables
      include/mysql_embed.h:
        Added MYSQL_SERVER_SUFFIX
      include/mysql_version.h.in:
        Added check of multiple including (needed for embedded library)
      include/mysqld_error.h:
        New error messages
      innobase/dict/dict0dict.c:
        Remove compiler warnings
      innobase/include/ut0mem.h:
        Remove compiler warnings
      innobase/include/ut0mem.ic:
        Remove compiler warnings
      isam/isamchk.c:
        new init_key_cache() arguments
      isam/isamlog.c:
        new init_key_cache() arguments
      isam/test2.c:
        new init_key_cache() arguments
      isam/test3.c:
        new init_key_cache() arguments
      libmysql/Makefile.am:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/Makefile.shared:
        Removed net.c (Automaticly make it from net_serv.cc)
      libmysql/libmysql.c:
        Changeable system variables
      libmysqld/Makefile.am:
        Added set_var.cc file
      libmysqld/embedded_priv.h:
        Changed order of include fiels
      libmysqld/lib_sql.cc:
        merge with mysqld.cc (for changeable variables)
      libmysqld/libmysqld.c:
        New changeable system variables
      myisam/mi_check.c:
        Added extra argument to ..._extra()
      myisam/mi_extra.c:
        Added extra argument to ..._extra()
      myisam/mi_open.c:
        Removed not used variable
      myisam/mi_test1.c:
        Changed call to init_key_cache
      myisam/mi_test2.c:
        Added extra argument to ..._extra()
      myisam/mi_test3.c:
        Added extra argument to ..._extra()
      myisam/mi_write.c:
        Add cache size argument to bulk-insert-init
      myisam/myisamchk.c:
        Use new key cache
      myisam/myisamdef.h:
        new mi_init_bulk_insert() arguments
      myisam/myisamlog.c:
        Added extra argument to ..._extra()
      myisam/myisampack.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_extra.c:
        Added extra argument to ..._extra()
      myisammrg/myrg_rrnd.c:
        Added extra argument to ..._extra()
      mysql-test/r/insert_select.result:
        New changeable system variables
      mysql-test/r/key.result:
        Test of bug in auto_increment
      mysql-test/r/query_cache.result:
        New changeable system variables
      mysql-test/r/rpl000001.result:
        New changeable system variables
      mysql-test/r/rpl000016.result:
        New changeable system variables
      mysql-test/r/union.result:
        New changeable system variables
      mysql-test/r/user_var.result:
        New changeable system variables
      mysql-test/r/variables.result:
        New changeable system variables
      mysql-test/t/key.test:
        Test of bug in auto_increment
      mysql-test/t/query_cache.test:
        New changeable system variables
      mysql-test/t/rpl000001.test:
        New changeable system variables
      mysql-test/t/rpl000009.test:
        New changeable system variables
      mysql-test/t/rpl000016.test:
        New changeable system variables
      mysql-test/t/rpl_compat.test:
        New changeable system variables
      mysql-test/t/union.test:
        New changeable system variables
      mysql-test/t/user_var.test:
        New changeable system variables
      mysql-test/t/variables.test:
        New changeable system variables
      mysys/default.c:
        Bigger default memory allocation
      mysys/mf_iocache.c:
        Removed compiler warning
      mysys/mf_keycache.c:
        Made key cache resizable on the fly
        Removed not needed extra argument to init_key_cache()
      mysys/my_getopt.c:
        Made some helper functions global
      sql/Makefile.am:
        Aded set_var.cc
      sql/convert.cc:
        Comment cleanup
      sql/field.cc:
        new changeable system variables
      sql/filesort.cc:
        new changeable system variables
      sql/ha_berkeley.cc:
        AUTO_COMMIT -> AUTOCOMMIT
      sql/ha_innodb.cc:
        new changeable system variables
      sql/ha_myisam.cc:
        Added extra argument to ..._extra()
      sql/ha_myisam.h:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.cc:
        Added extra argument to ..._extra()
      sql/ha_myisammrg.h:
        Added extra argument to ..._extra()
      sql/handler.cc:
        Added extra argument to ..._extra()
        Added resize of key cache
        Change ha_table_typelib for use with new system variables
      sql/handler.h:
        Added extra argument to ..._extra()
      sql/item.cc:
        new changeable system variables
      sql/item.h:
        Added better support of Item_uint
      sql/item_func.cc:
        Added support for SET @@[global | session] system_variable
      sql/item_strfunc.cc:
        new changeable system variables
      sql/key.cc:
        Fixed bug in auto_increment on second part keys
      sql/lex.h:
        Removed not needed keywords
      sql/log.cc:
        new changeable system variables
      sql/log_event.cc:
        new changeable system variables
      sql/log_event.h:
        Removed not needed var reference
      sql/mini_client.cc:
        new changeable system variables
        code cleanup
      sql/mini_client.h:
        Indentation cleanup
      sql/mysql_priv.h:
        Changed order of include files & variables to make file more readable
      sql/mysqld.cc:
        Changed order of variables to make file more readable.
        Support for changeable variables
        Rename of system variables
        Moved init_vars to set_var.cc
        Changed output of --help
      sql/net_pkg.cc:
        Added my_net_local_init() to make it possible to set different defaults for network connection depending if you are a client, embedded library or server.
      sql/net_serv.cc:
        new changeable system variables
        To support this, some global variables had to be move to the NET structure.
      sql/records.cc:
        new changeable system variables
        use extra_opt()
      sql/repl_failsafe.cc:
        new changeable system variables
        minior code cleanups
      sql/repl_failsafe.h:
        removed not needed external var reference
      sql/share/czech/errmsg.txt:
        new changeable system variables
      sql/share/danish/errmsg.txt:
        new changeable system variables
      sql/share/dutch/errmsg.txt:
        new changeable system variables
      sql/share/english/errmsg.txt:
        new changeable system variables
      sql/share/estonian/errmsg.txt:
        new changeable system variables
      sql/share/french/errmsg.txt:
        new changeable system variables
      sql/share/german/errmsg.txt:
        new changeable system variables
      sql/share/greek/errmsg.txt:
        new changeable system variables
      sql/share/hungarian/errmsg.txt:
        new changeable system variables
      sql/share/italian/errmsg.txt:
        new changeable system variables
      sql/share/japanese/errmsg.txt:
        new changeable system variables
      sql/share/korean/errmsg.txt:
        new changeable system variables
      sql/share/norwegian-ny/errmsg.txt:
        new changeable system variables
      sql/share/norwegian/errmsg.txt:
        new changeable system variables
      sql/share/polish/errmsg.txt:
        new changeable system variables
      sql/share/portuguese/errmsg.txt:
        new changeable system variables
      sql/share/romanian/errmsg.txt:
        new changeable system variables
      sql/share/russian/errmsg.txt:
        new changeable system variables
      sql/share/slovak/errmsg.txt:
        new changeable system variables
      sql/share/spanish/errmsg.txt:
        new changeable system variables
      sql/share/swedish/errmsg.txt:
        new changeable system variables
      sql/share/ukrainian/errmsg.txt:
        new changeable system variables
      sql/slave.cc:
        new changeable system variables
        Added some suppression of error messages
        Initialize current_thd for all slave threads.
      sql/sql_acl.cc:
        Added checking of arguments for SET PASSWORD (for new SET defintion)
      sql/sql_acl.h:
        new prototypes
      sql/sql_base.cc:
        new changeable system variables
      sql/sql_cache.cc:
        new changeable system variables
      sql/sql_cache.h:
        Renamed some arguments to make code more readable
      sql/sql_class.cc:
        new changeable system variables
      sql/sql_class.h:
        New changeable system variables
        Code cleanup
      sql/sql_db.cc:
        Fixed bug in DROP DATABASE
      sql/sql_delete.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_insert.cc:
        use extra_opt()
        Code cleanup
      sql/sql_lex.cc:
        Added support for SET @@[global | session] system_variable
      sql/sql_lex.h:
        Added support for SET @@[global | session] system_variable
      sql/sql_load.cc:
        Cleanup for embedded library
        Use extra_opt()
      sql/sql_parse.cc:
        Cleanup for embedded library
        New changeable system variables
      sql/sql_repl.cc:
        new changeable system variables
      sql/sql_repl.h:
        Fixed variable definitions
      sql/sql_select.cc:
        new changeable system variables
      sql/sql_show.cc:
        New changeable system variables
      sql/sql_table.cc:
        Fixed bug in DROP DATABASE
      sql/sql_union.cc:
        New changeable system variables
      sql/sql_update.cc:
        Usage of wrong define in test (possible speed problem)
      sql/sql_yacc.yy:
        New changeable system variables
      sql/structs.h:
        Added typedef for SHOW_VAR
      sql/table.cc:
        Fixed bug in auto_increment on second part keys
      sql/uniques.cc:
        Comment fix
      sql/unireg.h:
        A
      728cc2e2
  10. 20 Jul, 2002 1 commit
  11. 16 Jul, 2002 1 commit
  12. 11 Jun, 2002 1 commit
    • unknown's avatar
      Big code cleanup/review before 4.0.2 release. · 595f3d5f
      unknown authored
      (All commit emails since 4.0.1 checked)
      This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
      
      
      BUILD/SETUP.sh:
        Added -DPEDANTIC_SAFEMALLOC as standard debug option
      Docs/manual.texi:
        Changes for new version.
      client/mysql.cc:
        Fixed default value for rehash
        cleanup
      client/mysqladmin.c:
        Cleanup
      client/mysqlbinlog.cc:
        cleanup
      client/mysqldump.c:
        Cleanup
      client/mysqlmanager-pwgen.c:
        Cleanup
      client/mysqlmanagerc.c:
        Cleanup
      client/mysqltest.c:
        Cleanup
      dbug/dbug.c:
        Cleanup
      extra/resolve_stack_dump.c:
        Cleanup & Simple optimizations
      include/ft_global.h:
        Cleanup
      include/my_alloc.h:
        Cleanup
      include/my_global.h:
        Cleanup
      include/my_sys.h:
        Cleanup
      include/myisam.h:
        Cleanup
      libmysql/libmysql.c:
        Cleanup
      libmysql/manager.c:
        Cleanup
      myisam/ft_boolean_search.c:
        Cleanup
      myisam/ft_dump.c:
        Change strcpy -> strmov
      myisam/ft_eval.c:
        Cleanup
      myisam/ft_nlq_search.c:
        Cleanup
      myisa...
      595f3d5f
  13. 27 May, 2002 1 commit
  14. 24 May, 2002 1 commit
  15. 12 May, 2002 1 commit
    • unknown's avatar
      simple subselects ported to new select_lex structures · 684eadc6
      unknown authored
      include/mysqld_error.h:
        simple subselects
      libmysqld/Makefile.am:
        simple subselects
      sql/Makefile.am:
        simple subselects
      sql/item.h:
        simple subselects
      sql/item_strfunc.h:
        simple subselects
      sql/share/czech/errmsg.txt:
        simple subselects
      sql/share/danish/errmsg.txt:
        simple subselects
      sql/share/dutch/errmsg.txt:
        simple subselects
      sql/share/english/errmsg.txt:
        simple subselects
      sql/share/estonian/errmsg.txt:
        simple subselects
      sql/share/french/errmsg.txt:
        simple subselects
      sql/share/german/errmsg.txt:
        simple subselects
      sql/share/greek/errmsg.txt:
        simple subselects
      sql/share/hungarian/errmsg.txt:
        simple subselects
      sql/share/italian/errmsg.txt:
        simple subselects
      sql/share/japanese/errmsg.txt:
        simple subselects
      sql/share/korean/errmsg.txt:
        simple subselects
      sql/share/norwegian-ny/errmsg.txt:
        simple subselects
      sql/share/norwegian/errmsg.txt:
        simple subselects
      sql/share/polish/errmsg.txt:
        simple subselects
      sql/share/portuguese/errmsg.txt:
        simple subselects
      sql/share/romanian/errmsg.txt:
        simple subselects
      sql/share/russian/errmsg.txt:
        simple subselects
      sql/share/slovak/errmsg.txt:
        simple subselects
      sql/share/spanish/errmsg.txt:
        simple subselects
      sql/share/swedish/errmsg.txt:
        simple subselects
      sql/share/ukrainian/errmsg.txt:
        simple subselects
      sql/sql_class.cc:
        simple subselects
      sql/sql_class.h:
        simple subselects
      sql/sql_lex.cc:
        simple subselects
      sql/sql_select.cc:
        simple subselects
      sql/sql_select.h:
        simple subselects
      sql/sql_union.cc:
        simple subselects
      sql/sql_yacc.yy:
        simple subselects
      684eadc6
  16. 09 May, 2002 2 commits
    • unknown's avatar
      total table list managment is changed · 37605692
      unknown authored
      sql/sql_lex.cc:
        tabllist creation routine moved to SELECT_LEX_UNION class & made recursive
      sql/sql_lex.h:
        list creation routine moved to SELECT_LEX_UNION class
      sql/sql_parse.cc:
        list creation routine moved to SELECT_LEX_UNION class
        anonymous union used for storing TABLE*/TABLE_LIST*
      sql/sql_union.cc:
        anonymous union used for storing TABLE*/TABLE_LIST*
      sql/table.h:
        anonymous union used for storing TABLE*/TABLE_LIST*
      37605692
    • unknown's avatar
      removed fake description (EXPLAIN) of first table for last SELECT_LEX with... · b1b54eea
      unknown authored
      removed fake description (EXPLAIN) of first table for last SELECT_LEX with global parameters, because now it is absent
      
      
      b1b54eea
  17. 08 May, 2002 1 commit
  18. 06 May, 2002 1 commit
    • unknown's avatar
      new SELECT_LEX structure · 464ec18e
      unknown authored
      mysql-test/r/derived.result:
        derived table bug test
      mysql-test/t/derived.test:
        derived table bug test
      sql/mysql_priv.h:
        new mysql_new_select call & layout fixing
      sql/sql_class.h:
        passing unit as parameter of Table_ident constructor
      sql/sql_lex.cc:
        new SELECT_LEX structure methods
      sql/sql_lex.h:
        new SELECT_LEX structure definition
      sql/table.h:
        fixed layout
      464ec18e
  19. 12 Apr, 2002 1 commit
  20. 03 Apr, 2002 1 commit
  21. 02 Apr, 2002 1 commit
  22. 26 Mar, 2002 1 commit
    • unknown's avatar
      Derived tables ! · 753c8112
      unknown authored
      mysql-test/r/union.result:
        small bug fixes in unions
      BitKeeper/etc/ignore:
        Added Docs/manual.texi.orig Docs/manual.texi.rej to the ignore list
      mysql-test/t/union.test:
        test for a bug fix in union's
      sql/sql_union.cc:
        bug fix for unions
      753c8112
  23. 22 Mar, 2002 1 commit
  24. 19 Mar, 2002 2 commits
    • unknown's avatar
      Some changes from 4.0. · 8066715a
      unknown authored
      Take a look their for details
      
      8066715a
    • unknown's avatar
      fix for the limit bug in UNION's and some additional syntax · 96adb772
      unknown authored
      checkings
      
      
      mysql-test/r/union.result:
        fix for the limit bug in UNION's
      mysql-test/t/union.test:
        fix for the limit bug in UNION's
      sql/sql_union.cc:
        fix for the limit bug in UNION's
      sql/sql_yacc.yy:
        Syntax checking for options that should appear in main select only.
      96adb772
  25. 15 Mar, 2002 3 commits
  26. 28 Feb, 2002 2 commits
    • unknown's avatar
      Porting surgical changes from 4.0 to 4.1 · aacb14f6
      unknown authored
      aacb14f6
    • unknown's avatar
      Surgical changes in sql_select and sql_union code in order to · 1b2a30a9
      unknown authored
      accomodate EXPLAIN properly for all possible variant of UNION's
      derived tables etc ...
      
      This also fixes all reported (and unreported) bugs when EXPLAIN is
      run on UNION's.
      
      select_describe() now has a very dirty hack to avoid some problems
      with transactional tables on table unlocking.
      
      Code speedup is possible. For the moment all that was important was
      that all tests are passed.
      
      1b2a30a9
  27. 21 Feb, 2002 2 commits
  28. 13 Dec, 2001 1 commit
    • unknown's avatar
      Fixed sleep time in mysql-test-run · a3873537
      unknown authored
      Fixed bug in query cache.
      Cleaned up des_crypt code.
      
      
      BitKeeper/deleted/.del-fsck.mysql~87170d4358b50d60:
        Delete: fs/fsck.mysql
      Docs/manual.texi:
        Changed != to <>
      mysql-test/mysql-test-run.sh:
        Fix sleep times to take into account creation of InnoDB tables.
      mysql-test/r/group_by.result:
        More tests
      mysql-test/r/query_cache.result:
        More tests
      mysql-test/r/union.result:
        More tests
      mysql-test/t/func_str.test:
        Fix for FreeBSD
      mysql-test/t/query_cache.test:
        More tests
      mysql-test/t/union.test:
        More tests
      mysys/my_winsem.c:
        Cleanup comments
      sql/des_key_file.cc:
        Cleanup des_crypt code
      sql/item_strfunc.cc:
        Cleanup des_crypt code
      sql/item_strfunc.h:
        Cleanup des_crypt code
      sql/mysql_priv.h:
        Cleanup des_crypt code
      sql/mysqld.cc:
        Cleanup des_crypt code
      sql/sql_acl.cc:
        For for GRANT and lower-case-table names
      sql/sql_cache.cc:
        Function for integrity checking.
        Fixed bug when merging blocks.
      sql/sql_cache.h:
        Function for integrity checking.
      sql/sql_de...
      a3873537
  29. 22 Nov, 2001 1 commit
    • unknown's avatar
      Fixed fulltext after merge from 3.23.45 · cb304292
      unknown authored
      First (incomplete) version of transaction and as3ap tests.
      
      
      BitKeeper/etc/ignore:
        Added sql-bench/test-transactions to the ignore list
      mysql-test/r/fulltext.result:
        Update fulltext results after merge
      sql-bench/Makefile.am:
        Added transaction test
      sql-bench/run-all-tests.sh:
        Added transaction test
      sql-bench/server-cfg.sh:
        Added transaction test
      sql-bench/test-ATIS.sh:
        Cleanup
      sql/item_func.cc:
        Fix bad merge
      sql/mysqld.cc:
        Cleanup
      sql/sql_base.cc:
        Fix bad merge
      sql/sql_delete.cc:
        Cleanup
      sql/sql_parse.cc:
        Fix bad merge
      sql/sql_select.cc:
        Fix bad merge
      sql/sql_union.cc:
        Fix bad merge
      tools/mysqlmanager.c:
        C
      cb304292
  30. 21 Nov, 2001 1 commit
  31. 25 Oct, 2001 1 commit
    • unknown's avatar
      New alternate UNION syntax and bug fix for multi-table deletes · 8239bbec
      unknown authored
      mysql-test/r/union.result:
        New results for optional UNION syntax
      mysql-test/t/union.test:
        New  test for alternate syntax for UNION
      sql/sql_delete.cc:
        Fixed bug in multi-table delete's with transactional tables
      sql/sql_parse.cc:
        A small change to enable new UNION syntax
      sql/sql_union.cc:
        New alternate UNION syntax
      sql/sql_yacc.yy:
        New alternate UNION syntax
      8239bbec
  32. 19 Oct, 2001 1 commit
    • unknown's avatar
      Unchecked changes, so that I could run mysql-test. · 8f690df2
      unknown authored
      If I ruined anything, write your complaints to sasha@mysql.com
      
      
      sql/sql_delete.cc:
        Unchecked changes, so that I could run mysql-test
      sql/sql_lex.h:
        Unchecked changes, so that I could run mysql-test
      sql/sql_parse.cc:
        Unchecked changes, so that I could run mysql-test
      sql/sql_union.cc:
        Unchecked changes, so that I could run mysql-test
      sql/sql_yacc.yy:
        Unchecked changes, so that I could run mysql-test
      BitKeeper/etc/ignore:
        Added libmysqld/examples/link_sources to the ignore list
      8f690df2
  33. 21 Sep, 2001 1 commit
    • unknown's avatar
      Integrated table->ref_primary_key into table->part_of_key · 93d4beab
      unknown authored
      Fixed bug in UNION
      
      
      client/mysqlbinlog.cc:
        Added error message handling to read_log_event()
      heap/hp_write.c:
        More debug info
      myisam/myisampack.c:
        Cleanup
      mysql-test/mysql-test-run.sh:
        Portability fixes.
      mysql-test/r/union.result:
        More tests cases for UNION
      mysql-test/t/union.test:
        More tests cases for UNION
      sql/Makefile.am:
        Added mysql_embed.h
      sql/item.cc:
        Fixed bug when using the same table multiple times in union.
      sql/log_event.cc:
        Removed use of ## construct (Portability problem)
      sql/log_event.h:
        Added error message handling to read_log_event()
      sql/mysql_priv.h:
        Added mysql_embed.h
      sql/opt_sum.cc:
        Cleanup
      sql/slave.cc:
        cleanup
      sql/sql_base.cc:
        Integrated table->ref_primary_key into table->part_of_key
      sql/sql_union.cc:
        Cleanup
      sql/table.cc:
        Integrated table->ref_primary_key into table->part_of_key
      sql/table.h:
        Integrated table->ref_primary_key into table->part_of_key
      93d4beab
  34. 17 Sep, 2001 1 commit
    • unknown's avatar
      Fixed bug in UNION when doing UNION with the same tables · 48332b89
      unknown authored
      myisam/mi_extra.c:
        More debugging information
      mysql-test/r/union.result:
        Added test for UNION bug
      mysql-test/t/union.test:
        Added test for UNION bug
      sql/sql_base.cc:
        Clear field->query_id when using UNION
      sql/sql_parse.cc:
        Fix for UNION bug
      sql/sql_union.cc:
        Cleanup
      sql/table.h:
        Fix for UNION bug
      tools/Makefile.am:
        Fix for compiling with MIT-threads
      48332b89