An error occurred fetching the project authors.
  1. 16 Jul, 2003 1 commit
    • unknown's avatar
      mi_keycache.c: · 1e9de1bb
      unknown authored
        new file
      Many files:
        Added CACHE INDEX command
      
      
      sql/ha_myisam.cc:
        Added CACHE INDEX command
      sql/handler.cc:
        Added CACHE INDEX command
      sql/sql_lex.cc:
        Added CACHE INDEX command
      sql/sql_parse.cc:
        Added CACHE INDEX command
      sql/sql_table.cc:
        Added CACHE INDEX command
      sql/ha_myisam.h:
        Added CACHE INDEX command
      sql/handler.h:
        Added CACHE INDEX command
      sql/mysql_priv.h:
        Added CACHE INDEX command
      sql/sql_lex.h:
        Added CACHE INDEX command
      sql/sql_yacc.yy:
        Added CACHE INDEX command
      1e9de1bb
  2. 19 Jun, 2003 1 commit
    • unknown's avatar
      preload.result, preload.test: · d4f2da6e
      unknown authored
        Removed non-generic info (key used blocks)
      preload.result, preload.test, lex.h, sql_yacc.yy:
        Syntax change for preload statement
      
      
      sql/sql_yacc.yy:
        Syntax change for preload statement
      sql/lex.h:
        Syntax change for preload statement
      mysql-test/t/preload.test:
        Removed non-generic info (key used blocks)
      mysql-test/r/preload.result:
        Removed non-generic info (key used blocks)
      d4f2da6e
  3. 15 Jun, 2003 2 commits
    • unknown's avatar
      bad merge fixed · 47d97685
      unknown authored
      mysql-test/r/fulltext.result:
        test for CREATE FULLTEXT INDEX
      mysql-test/t/fulltext.test:
        test for CREATE FULLTEXT INDEX
      47d97685
    • unknown's avatar
      Fixes for make_win_src_distributions · 102ecc86
      unknown authored
      Removed compiler warnings
      
      
      scripts/make_win_src_distribution.sh:
        Added option --dirname
        Also copy sql-common directory
        Create mysql data files even if mysqld is not installed
      scripts/mysql_create_system_tables.sh:
        Update for usage with make_win_src_distribution
      scripts/mysql_install_db.sh:
        Update for usage with make_win_src_distribution
      sql-common/client.c:
        Portability fix
      sql/item_cmpfunc.cc:
        Removed compiler warning
      sql/sql_acl.cc:
        Indentation cleanup
        Removed compiler warning
      sql/sql_parse.cc:
        Removed compiler warning
      sql/sql_select.cc:
        Removed compiler warning
      sql/sql_yacc.yy:
        Removed compiler warning
      strings/ctype-utf8.c:
        Removed compiler warning
      102ecc86
  4. 12 Jun, 2003 1 commit
    • unknown's avatar
      Many files: · dfbe0f86
      unknown authored
        New feature: preload indexes into key cache.
      mi_preload.c:
        new file
      Many files:
        Added preload statement.
      
      
      sql/ha_myisam.h:
        Added preload statement.
      sql/handler.cc:
        Added preload statement.
      sql/lex.h:
        Added preload statement.
      sql/mysql_priv.h:
        Added preload statement.
      sql/sql_lex.h:
        Added preload statement.
      sql/sql_base.cc:
        Added preload statement.
      sql/sql_table.cc:
        New feature: preload indexes into key cache.
      sql/sql_parse.cc:
        New feature: preload indexes into key cache.
      sql/mysqld.cc:
        New feature: preload indexes into key cache.
      sql/set_var.cc:
        New feature: preload indexes into key cache.
      sql/sql_yacc.yy:
        New feature: preload indexes into key cache.
      sql/ha_myisam.cc:
        New feature: preload indexes into key cache.
      sql/table.h:
        New feature: preload indexes into key cache.
      mysys/mf_keycache.c:
        New feature: preload indexes into key cache.
      myisam/myisamdef.h:
        New feature: preload indexes into key cache.
      myisam/mi_extra.c:
        New feature: preload indexes into key cache.
      myisam/Makefile.am:
        New feature: preload indexes into key cache.
      include/my_base.h:
        New feature: preload indexes into key cache.
      include/my_sys.h:
        New feature: preload indexes into key cache.
      include/myisam.h:
        New feature: preload indexes into key cache.
      dfbe0f86
  5. 06 Jun, 2003 1 commit
    • unknown's avatar
      REVOKE all privileges and delete user(244) · 16dc40f8
      unknown authored
      include/mysqld_error.h:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      mysql-test/r/grant.result:
        Test for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      mysql-test/t/grant.test:
        Test for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/czech/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/danish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/dutch/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/english/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/estonian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/french/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/german/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/greek/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/hungarian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/italian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/japanese/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/korean/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/norwegian-ny/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/norwegian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/polish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/portuguese/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/romanian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/russian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/serbian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/slovak/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/spanish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/swedish/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      sql/share/ukrainian/errmsg.txt:
        Error messages for DROP USER, REVOKE ALL PRIVILEGES, GRANT
      16dc40f8
  6. 04 Jun, 2003 1 commit
    • unknown's avatar
      Added SQLSTATE to client/server protocol · f2131b44
      unknown authored
      bmove_allign -> bmove_align
      Added OLAP function ROLLUP
      Split mysql_fix_privilege_tables to a script and a .sql data file
      Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
      Added table_alias_charset, for easier --lower-case-table-name handling
      Better SQL_MODE handling (Setting complex options also sets sub options)
      New (faster) assembler string functions for x86
      
      
      BitKeeper/etc/ignore:
        added libmysqld/sql_state.c
      client/mysql.cc:
        Added SQLSTATE to error messages
        Added new function put_error() to be able to clean up some old code.
      client/mysqltest.c:
        Write ERROR SQLSTATE for all errors
      dbug/dbug.c:
        Portability fixes
      include/m_string.h:
        Rename bmove_allign as bmove_align
      include/mysql.h:
        Added SQLSTATE (for embedded version)
      include/mysql_com.h:
        Send correct SQLSTATE for the error to the client
      libmysql/libmysql.c:
        Changed default error state to HY000
        Applied code cleanup patch
      libmysqld/Makefile.am:
        Added sql_state.cc
      libmysqld/libmysqld.c:
        Added sqlstate
      mysql-test/r/analyse.result:
        Updated results
      mysql-test/r/ansi.result:
        Updated results
      mysql-test/r/auto_increment.result:
        Updated results
      mysql-test/r/bdb-deadlock.result:
        Updated results
      mysql-test/r/bdb.result:
        Updated results
      mysql-test/r/comments.result:
        Updated results
      mysql-test/r/create.result:
        Updated results
      mysql-test/r/ctype_collate.result:
        Updated results
      mysql-test/r/delayed.result:
        Updated results
      mysql-test/r/delete.result:
        Updated results
      mysql-test/r/derived.result:
        Updated results
      mysql-test/r/distinct.result:
        Updated results
      mysql-test/r/drop.result:
        Updated results
      mysql-test/r/err000001.result:
        Updated results
      mysql-test/r/explain.result:
        Updated results
      mysql-test/r/flush.result:
        Updated results
      mysql-test/r/fulltext.result:
        Updated results
      mysql-test/r/func_gconcat.result:
        Updated results
      mysql-test/r/func_system.result:
        Updated results
      mysql-test/r/grant_cache.result:
        Updated results
      mysql-test/r/group_by.result:
        Updated results
      mysql-test/r/handler.result:
        Updated results
      mysql-test/r/heap.result:
        Updated results
      mysql-test/r/heap_btree.result:
        Updated results
      mysql-test/r/heap_hash.result:
        Updated results
      mysql-test/r/innodb.result:
        Updated results
      mysql-test/r/innodb_handler.result:
        Updated results
      mysql-test/r/insert_select.result:
        Updated results
      mysql-test/r/insert_update.result:
        Updated results
      mysql-test/r/join.result:
        Updated results
      mysql-test/r/join_outer.result:
        Updated results
      mysql-test/r/key.result:
        Updated results
      mysql-test/r/lock.result:
        Updated results
      mysql-test/r/lock_multi.result:
        Updated results
      mysql-test/r/merge.result:
        Updated results
      mysql-test/r/multi_update.result:
        Updated results
      mysql-test/r/myisam.result:
        Updated results
      mysql-test/r/null.result:
        Updated results
      mysql-test/r/olap.result:
        Updated results
      mysql-test/r/order_by.result:
        Updated results
      mysql-test/r/packet.result:
        Updated results
      mysql-test/r/query_cache.result:
        Updated results
      mysql-test/r/row.result:
        Updated results
      mysql-test/r/rpl000001.result:
        Updated results
      mysql-test/r/rpl000009.result:
        Updated results
      mysql-test/r/rpl_empty_master_crash.result:
        Updated results
      mysql-test/r/rpl_log.result:
        Updated results
      mysql-test/r/rpl_replicate_do.result:
        Updated results
      mysql-test/r/rpl_rotate_logs.result:
        Updated results
      mysql-test/r/select.result:
        Updated results
      mysql-test/r/select_safe.result:
        Updated results
      mysql-test/r/show_check.result:
        Updated results
      mysql-test/r/sql_mode.result:
        Updated results
      mysql-test/r/subselect.result:
        Updated results
      mysql-test/r/temp_table.result:
        Updated results
      mysql-test/r/truncate.result:
        Updated results
      mysql-test/r/type_blob.result:
        Updated results
      mysql-test/r/type_decimal.result:
        Updated results
      mysql-test/r/type_float.result:
        Updated results
      mysql-test/r/type_ranges.result:
        Updated results
      mysql-test/r/union.result:
        Updated results
      mysql-test/r/update.result:
        Updated results
      mysql-test/r/user_var.result:
        Updated results
      mysql-test/r/varbinary.result:
        Updated results
      mysql-test/r/variables.result:
        Updated results
      mysql-test/t/ansi.test:
        Test of sql_mode
      mysql-test/t/derived.test:
        Updated results
      mysql-test/t/func_system.test:
        Make this independen of the MySQL server name
      mysql-test/t/lowercase_table.test:
        Cleanup
      mysql-test/t/olap.test:
        A lot of new tests
      mysql-test/t/sql_mode.test:
        More test for sql_mode
      mysql-test/t/subselect.test:
        Added a few new tests (to find a bug in the item_ref code)
      scripts/Makefile.am:
        Added mysql_fix_privilege_tables.sql
      scripts/mysql_fix_privilege_tables.sh:
        Totally new script.  This bascily just pipes mysql_fix_privilege_tables.sql through 'mysql' to 'mysqld'
      sql/Makefile.am:
        Added sql_state.cc
      sql/item.cc:
        Extended Item_field::eq() to be able to better match GROUP BY fields on the command line.
        Needed for ROLLUP
      sql/item.h:
        Added function to be able to avoid calling current_thd() when doing new Item.
      sql/item_sum.cc:
        Moved copy_or_same() and some reset() functions from item_sum.h
        Needed to be able to access thd->mem_root.
      sql/item_sum.h:
        Moved some functions to item_sum.cc
        Added make_unique() for ROLLUP
      sql/item_uniq.h:
        Fixed return value
      sql/mysql_priv.h:
        Updated MODE flags
      sql/mysqld.cc:
        Added ANSI as it's own mode
        Moved charset_info variables here
        Cleaned up handler_count handling (for NT)
        Added table_alias_charset, for easier --lower-case-table-name handling
      sql/net_serv.cc:
        New comment
      sql/protocol.cc:
        Send SQLSTATE to client
      sql/set_var.cc:
        Better SQL_MODE handling (Setting complex options also sets sub options)
      sql/set_var.h:
        Better SQL_MODE handling
      sql/sql_base.cc:
        Make alias depend on --lower-case-table-names
        Make find_item_in_list also check database name
      sql/sql_cache.cc:
        Indentation cleanup
      sql/sql_list.h:
        Added safety assert
        Addes support of alloc without current_thd()
      sql/sql_prepare.cc:
        Update after prototype change
      sql/sql_select.cc:
        Added ROLLUP
      sql/sql_select.h:
        structures for rollup
      sql/sql_show.cc:
        Easier SQL_MODE handling
      sql/sql_string.cc:
        Move CHARSET_INFO to mysqld (to be together with all other global variables)
      sql/sql_string.h:
        Added function to be able to avoid calling current_thd() when doing new Item.
      sql/sql_table.cc:
        Simpler --lower-case-table-name handling
      sql/sql_union.cc:
        Update after prototype change
      sql/sql_yacc.yy:
        ROLLUP
      sql/unireg.h:
        bmove_allign ->bmove_align
      strings/Makefile.am:
        Fix to be able to compile str_test.c
      strings/ctype.c:
        Removed empty lines
      strings/str_test.c:
        Added test of bmove_align
      strings/strings-x86.s:
        Faster bmove_align, bmove_upp and strmake
      strings/strings.asm:
        move_allg
      f2131b44
  7. 03 Jun, 2003 3 commits
    • unknown's avatar
      One-line fix for bug 576 (DBUG_ASSERT failure when using CHANGE MASTER TO RELAY_LOG_POS=4). · af96483f
      unknown authored
      Plus a changeset which I had committed but forgot to push (and this changeset is lost on
      another computer, so I recreate it here). This changeset is "user-friendly SHOW BINLOG EVENTS
      and CHANGE MASTER TO when log positions < 4 are used.
      
      
      sql/slave.cc:
        fix for bug 576 (DBUG_ASSERT failure when using CHANGE MASTER TO RELAY_LOG_POS=4).
      sql/sql_repl.cc:
        User-friendly SHOW BINLOG EVENTS:
        SHOW BINLOG EVENTS FROM 0: currently one gets
            MASTER> show binlog events from 0;
            ERROR 1220: Error when executing command SHOW BINLOG EVENTS: Invalid log position
        so we silently convert <4 to 4.
      sql/sql_yacc.yy:
        User-friendly CHANGE MASTER TO:
        presently when one does CHANGE MASTER TO MASTER_LOG_POS=0 he gets
            030425 10:12:41  Slave I/O thread: connected to master 'root@localhost:3306',  r
            eplication started in log 'gbichot-bin.013' at position 151
            030425 10:12:41  Error reading packet from server: Client requested master to st
            art replication from impossible position (server_errno=1236)
            030425 10:12:41  Got fatal error 1236: 'Client requested master to start replica
            tion from impossible position' from master when reading data from binary log
            030425 10:12:41  Slave I/O thread exiting, read up to log 'gbichot-bin.013', pos
            ition 151
            
        while she/he probably just wanted to start at the beginning of the
        binlog, which is 4. So we silently convert <4 to 4 in sql_yacc.yy
        (i.e. in the slave code; fortunately all versions have the same
        BIN_LOG_HEADER_SIZE=4 and we should not change this). See comments
        for an explaination of why we have to do this in sql_yacc.yy,
        not in sql_repl.cc.
        Same thing for CHANGE MASTER TO RELAY_LOG_POS.
      sql/unireg.h:
        warning comment
      af96483f
    • unknown's avatar
      LTRIM, RTRIM and TRIM now honors coercibility · e009b00c
      unknown authored
      LTRIM, RTRIM and TRIM now work fine with ucs2
      
      e009b00c
    • unknown's avatar
      MY_CS_NONTEXT flag for sprintf() incompatible charsets (ucs2 if the only one now) · 7e05bc77
      unknown authored
      Some default_charset_info were removed
      
      7e05bc77
  8. 30 May, 2003 2 commits
    • unknown's avatar
      mysqlshow and mysqldump now send their vharacter set to server · 4f022117
      unknown authored
      character_set_results is now the same with character_set_client by default
      
      4f022117
    • unknown's avatar
      character_set_server is now updatable · 097236f5
      unknown authored
      character_set_database was added
      Code optimization: reuse more code for all character sets variables
      
      
      sql/mysqld.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/set_var.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/set_var.h:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_base.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_class.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_class.h:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_db.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_load.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_table.cc:
        character_set_server is now updatable
        character_set_database was added
      sql/sql_yacc.yy:
        character_set_server is now updatable
        character_set_database was added
      BitKeeper/etc/ignore:
        Added scripts/mysql_create_system_tables to the ignore list
      097236f5
  9. 29 May, 2003 1 commit
  10. 28 May, 2003 1 commit
  11. 21 May, 2003 3 commits
    • unknown's avatar
      fixed subqueries name resolution with INSERT/REPLACE (found during bug 446 investigation) · e227e37c
      unknown authored
      mysql-test/r/subselect.result:
        subselect test changed
      mysql-test/t/subselect.test:
        INSERT DELAYED INTO t1 (x) VALUES ((SELECT SUM(x) FROM t2));
      sql/item.cc:
        avoid resolving of INSER/REPLACE tables field in subqueries
      sql/sql_lex.cc:
        Primary (top) simple INSERT/REPLACE st_select_lex indicator
      sql/sql_lex.h:
        Primary (top) simple INSERT/REPLACE st_select_lex indicator
      sql/sql_yacc.yy:
        Primary (top) simple INSERT/REPLACE st_select_lex indicator
      e227e37c
    • unknown's avatar
      After merge fixes · 7dd91a0e
      unknown authored
      Added initialization of all important global variables
      
      
      BUILD/SETUP.sh:
        build with readline
      client/mysqltest.c:
        Added variable SERVER_VERSION
      myisam/mi_key.c:
        Indentation change
      myisam/mi_open.c:
        After merge fix
      myisam/mi_range.c:
        After merge fix
      myisam/mi_rkey.c:
        After merge fix
      myisam/mi_search.c:
        After merge fix
      myisam/myisamdef.h:
        After merge fix
      mysql-test/include/not_embedded.inc:
        Fix test (because of wrong utf8 test)
      mysql-test/r/alter_table.result:
        Updated results after merge
      mysql-test/r/create.result:
        Updated results after merge
      mysql-test/r/ctype_recoding.result:
        Updated results after merge
      mysql-test/r/fulltext.result:
        Updated results after merge
      mysql-test/r/func_group.result:
        Updated results after merge
      mysql-test/r/group_by.result:
        Updated results after merge
      mysql-test/r/innodb.result:
        Updated results after merge
      mysql-test/r/join_outer.result:
        Updated results after merge
      mysql-test/r/null_key.result:
        Updated results after merge
      mysql-test/r/order_by.result:
        Updated results after merge
      mysql-test/r/query_cache.result:
        Updated results after merge
      mysql-test/r/repair.result:
        Updated results after merge
      mysql-test/r/rpl_flush_tables.result:
        Updated results after merge
      mysql-test/r/union.result:
        Updated results after merge
      mysql-test/r/update.result:
        Updated results after merge
      mysql-test/t/ansi.test:
        After merge fixes
      mysql-test/t/create.test:
        After merge fixes
      mysql-test/t/ctype_recoding.test:
        After merge fixes
      mysql-test/t/ctype_ujis.test:
        After merge fixes
      mysql-test/t/fulltext.test:
        After merge fixes
      mysql-test/t/innodb.test:
        After merge fixes
      mysql-test/t/join_outer.test:
        After merge fixes
      mysql-test/t/loaddata.test:
        After merge fixes
      mysql-test/t/order_by.test:
        After merge fixes
      mysql-test/t/rpl_flush_tables.test:
        After merge fixes
      mysql-test/t/status.test:
        After merge fixes
      mysql-test/t/subselect.test:
        After merge fixes
      sql/convert.cc:
        Code cleanup
      sql/field.cc:
        After merge fixes
      sql/filesort.cc:
        Remove compiler warning
      sql/item.cc:
        More efficient set_name() (no mallocs)
      sql/item_cmpfunc.cc:
        Code Code cleanup
        Item_bool_func2::fix_fields() added to get error handling right for cmp_charset
      sql/item_cmpfunc.h:
        New prototypes
      sql/item_func.cc:
        After merge fix
      sql/item_strfunc.cc:
        Faster check for BINARY
      sql/log_event.cc:
        Comment cleanup
      sql/mysql_priv.h:
        New prototypes and variables
      sql/mysqld.cc:
        Added initialization of all important global variables.
        Cleanup of variable declarations
        This is needed ot make the embedded version restartable
      sql/opt_sum.cc:
        After merge fix
      sql/set_var.cc:
        Code cleanup
      sql/sql_acl.cc:
        After merge fix
        Better error message
      sql/sql_db.cc:
        After merge fix
      sql/sql_derived.cc:
        After merge fix
      sql/sql_insert.cc:
        Indentation cleanups
      sql/sql_list.h:
        Added empty() to base_ilist
      sql/sql_parse.cc:
        After merge fix
      sql/sql_select.cc:
        After merge fix
        Fixed derived name handling in EXPLAIN
      sql/sql_show.cc:
        After merge fix
      sql/sql_string.cc:
        Made copy_and_convert global
      sql/sql_string.h:
        Made copy_and_convert global
      sql/sql_update.cc:
        After merge fix
      sql/sql_yacc.yy:
        After merge fix
      sql/thr_malloc.cc:
        Added sql_strmake_with_convert()
      sql/unireg.h:
        Added MAX_ALIAS_NAME
      strings/ctype-ujis.c:
        Fixed bug in converting to ujis
      7dd91a0e
    • unknown's avatar
      Some SHOW VARIABLES have been renamed: · 1bc4c113
      unknown authored
      collation_client  -> character_set_client
      collation_results -> character_set_results
      character_set     -> character_set_server
      
      SET NAMES now doesn't start client->server conversion
      SET CHARACTER SET now starts both client->server and server->client conversion
      
      1bc4c113
  12. 17 May, 2003 1 commit
    • unknown's avatar
      fixed memory overrun (bug 380) · 8cac6e10
      unknown authored
      mysql-test/r/func_group.result:
        new tests
      mysql-test/t/func_group.test:
        new tests
      sql/item.cc:
        count items in select list
      sql/item_subselect.cc:
        use number of item in select list for array creation
      sql/item_sum.cc:
        with_sum_func now is boolean
      sql/sql_derived.cc:
        use number of item in select list for array creation
      sql/sql_lex.cc:
        create_refs changed with parsing_place enum variable
      sql/sql_lex.h:
        added items in select list counter
        create_refs changed with parsing_place enum variable
        with_sum_func now is boolean
      sql/sql_select.cc:
        use number of item in select list for array creation
      sql/sql_union.cc:
        use number of item in select list for array creation
      sql/sql_yacc.yy:
        create_refs changed with parsing_place enum variable
      8cac6e10
  13. 16 May, 2003 1 commit
  14. 15 May, 2003 1 commit
    • unknown's avatar
      Scrum task 845. Thi is a behaviour change : · e8336c8a
      unknown authored
      now by default, FLUSH, OPTIMIZE, ANALYZE, REPAIR commands are written to the
      binlog, unless the new NO_WRITE_TO_BINLOG keyword was used :
      OPTIMIZE NO_WRITE_TO_BINLOG table t;
      
      Previously these commands were never written to the binlog, but there are
      2 reasons to change this :
      - the RENAME TABLE in MERGE table bug (#175) on slave
      - the possible "differently optimised queries may lead to different
      updates on the master and slave" bug, until we have automatic ORDER BY.
      
      FLUSH LOGS/SLAVE/MASTER/TABLES WITH READ LOCK are never written to the binlog.
      New test for the new logging behaviour.
      Other small change : reload_acl_and_cache() and reset_slave() don't send their errors themselves,
      this is more usual.
      
      
      mysql-test/mysql-test-run.sh:
        rpl_flush_tables.test generates 'table xx is open on rename'.
        This is normal and done on purpose, so don't report it.
      sql/lex.h:
        New keyword NO_WRITE_TO_BINLOG
      sql/mysql_priv.h:
        reload_acl_and_cache() now decides if we want to write the FLUSH command
        to the binlog or not (FLUSH MASTER, FLUSH SLAVE, FLUSH TABLES
        WITH READ LOCK, FLUSH LOGS cannot go into the binlog).
      sql/mysqld.cc:
        updated for new prototype of reload_acl_and_cache().
      sql/sql_lex.h:
        New boolean no_write_to_binlog in the lex structure.
      sql/sql_parse.cc:
        reload_acl_and_cache() now does not send its errors itself;
        it saves the error and the caller sends it.
        FLUSH, OPTIMIZE, ANALYZE, REPAIR commands don't write to the binlog
        if the NO_WRITE_TO_BINLOG keyword was used.
      sql/sql_repl.cc:
        reset_slave() does not send its errors himself.
      sql/sql_yacc.yy:
        New optional keyword NO_WRITE_TO_BINLOG for OPTIMIZE/ANALYZE/REPAIR/FLUSH :
        OPTIMIZE NO_WRITE_TO_BINLOG TABLE t;
        ANALYZE NO_WRITE_TO_BINLOG TABLE t;
        REPAIR NO_WRITE_TO_BINLOG TABLE t;
        FLUSH NO_WRITE_TO_BINLOG TABLE t;
      e8336c8a
  15. 13 May, 2003 2 commits
    • unknown's avatar
      Give warning if MySQL doesn't honor given storage engine · e15fac27
      unknown authored
      Allow syntax CREATE TABLE t1 (LIKE t2)
      
      
      BUILD/compile-pentium-debug-max:
        Disable isam
      BUILD/compile-pentium-valgrind-max:
        Disable isam
      include/mysqld_error.h:
        New error
      mysql-test/r/bdb.result:
        new error message
      mysql-test/r/innodb.result:
        new error message
      mysql-test/r/subselect.result:
        New test
      mysql-test/r/variables.result:
        New test
      mysql-test/r/warnings.result:
        Test of warning if MySQL creates table with another handler than specified
      mysql-test/t/innodb.test:
        Added test case for derivied tables
      mysql-test/t/subselect.test:
        New test
      mysql-test/t/variables-master.opt:
        Fixed wrong parameter
      mysql-test/t/warnings.test:
        Test if creating handler of not existing table type
      sql/ha_isam.cc:
        Added option --skip-isam
      sql/ha_isam.h:
        Added option --skip-isam
      sql/handler.cc:
        Added option --skip-isam
      sql/item.cc:
        Deleted probably wrong bug fix
      sql/mysqld.cc:
        Added option --skip-isam
      sql/share/czech/errmsg.txt:
        Added missing ','
      sql/share/danish/errmsg.txt:
        Added missing ','
      sql/share/dutch/errmsg.txt:
        Added missing ','
      sql/share/english/errmsg.txt:
        Added missing ','
        changed table handler -> storage engine
      sql/share/estonian/errmsg.txt:
        Added missing ','
      sql/share/french/errmsg.txt:
        Added missing ','
      sql/share/german/errmsg.txt:
        Added missing ','
      sql/share/greek/errmsg.txt:
        Added missing ','
      sql/share/hungarian/errmsg.txt:
        Added missing ','
      sql/share/italian/errmsg.txt:
        Added missing ','
      sql/share/japanese/errmsg.txt:
        Added missing ','
      sql/share/korean/errmsg.txt:
        Added missing ','
      sql/share/norwegian-ny/errmsg.txt:
        Added missing ','
      sql/share/norwegian/errmsg.txt:
        Added missing ','
      sql/share/polish/errmsg.txt:
        Added missing ','
      sql/share/portuguese/errmsg.txt:
        Added missing ','
      sql/share/romanian/errmsg.txt:
        Added missing ','
      sql/share/russian/errmsg.txt:
        Added missing ','
      sql/share/serbian/errmsg.txt:
        Added missing ','
      sql/share/slovak/errmsg.txt:
        Added missing ','
      sql/share/spanish/errmsg.txt:
        Added missing ','
      sql/share/swedish/errmsg.txt:
        Added missing ','
      sql/share/ukrainian/errmsg.txt:
        Added missing ','
      sql/sql_acl.cc:
        Fix bug in access checking of derived tables
      sql/sql_base.cc:
        Indentation change
      sql/sql_parse.cc:
        Fix bug in access checking of derived tables
      sql/sql_select.cc:
        Fixed bug in new sub select optimization
      sql/sql_table.cc:
        Give warning if MySQL doesn't honor given storage engine
      sql/sql_yacc.yy:
        Allow syntax CREATE TABLE t1 (LIKE t2).
      e15fac27
    • unknown's avatar
      Safety fix to enable RAID in max binaries · c1036cf8
      unknown authored
      Better fix for format('nan')
      Fix for HAVING COUNT(DISTINCT...)
      
      
      myisam/mi_check.c:
        Better error message
      myisam/mi_dynrec.c:
        Simple code cleanup
      myisam/myisamchk.c:
        Better error messages
      mysql-test/r/func_misc.result:
        Added back test for format('nan')
      mysql-test/r/having.result:
        New test
      mysql-test/t/func_misc.test:
        Added back test for format('nan')
      mysql-test/t/having.test:
        Added test for count(distinct) in having
      mysys/raid.cc:
        Safety fix to enable RAID in max binaries
      scripts/mysql_install_db.sh:
        Create data directories even if --in-rpm is used (for MaxOSX)
      sql/item_strfunc.cc:
        Better fix for format('nan')
      sql/mysqld.cc:
        Give stacktrace on assert()
      sql/sql_yacc.yy:
        Fix for HAVING COUNT(DISTINCT...)
      tests/big_record.pl:
        Extend test to abuse packed MyISAM tables
      tests/table_types.pl:
        Fixed wrong merge
      c1036cf8
  16. 02 May, 2003 1 commit
  17. 27 Apr, 2003 1 commit
    • unknown's avatar
      Fixed problem when comparing a key for a multi-byte-character set. (bug 152) · dd089517
      unknown authored
      Use 0x.... as strings if 'new' mode. (bug 152)
      Don't report -max on windows when InnoDB is enabled. (bug 332)
      Reset current_linfo;  This could cause a hang when doing PURGE LOGS.
      Fix for row numbers in EXPLAIN (bug 322)
       Fix that USE_FRM works for all table types (bug 97)
      
      
      VC++Files/libmysql/libmysql.dsp:
        Added new source files
      myisam/mi_key.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_range.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_rkey.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_search.c:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/mi_test2.c:
        Fixed printf statements
      myisam/myisamdef.h:
        Fixed problem when comparing a key for a multi-byte-character set.
      myisam/sort.c:
        Fixed printf statements
      mysql-test/r/ctype_latin1_de.result:
        New test results
      mysql-test/r/join.result:
        New test results
      mysql-test/r/repair.result:
        New test results
      mysql-test/r/rpl_alter.result:
        New test results
      mysql-test/t/ctype_latin1_de-master.opt:
        --new is needed to get 0x... strings to work properly
      mysql-test/t/ctype_latin1_de.test:
        New test for latin1_de
      mysql-test/t/repair.test:
        Test of USE_FRM and HEAP tables
      sql/field.cc:
        Fixed problem when comparing a key for a multi-byte-character set.
      sql/item.cc:
        Use 0x.... as strings if 'new' mode
      sql/item.h:
        Use 0x.... as strings if 'new' mode
      sql/mysqld.cc:
        Don't report -max on windows when InnoDB is enabled.
      sql/sql_analyse.cc:
        Removed unused variable
      sql/sql_insert.cc:
        Removed debug message
      sql/sql_repl.cc:
        Reset current_linfo;  This could cause a hang when doing PURGE LOGS.
      sql/sql_select.cc:
        Fix for row numbers in EXPLAIN
      sql/sql_table.cc:
        Fix that USE_FRM works for all table types (without strange errors)
      sql/sql_yacc.yy:
        Removed compiler warnings.
      dd089517
  18. 26 Apr, 2003 1 commit
    • unknown's avatar
      Fix for -fbranch-probabilites (bug 268) · 570158b0
      unknown authored
      Fix for LEFT/RIGHT/MID with multi-byte-character sets (bug 314)
      Fix for new bison 1.875
      max_insert_delayed_threads and delayed_insert_timeout now works as documented (bug 211)
      Don't show port in SHOW PROCESSLIST for system threads
      Fix problem with ORDER BY being discarded for some DISTINCT queries (bug 275)
      Fixed bug with NATURAL LEFT JOIN, NATURAL RIGHT JOIN and RIGHT JOIN when
      using many joined tables (Bug 212)
      
      
      acinclude.m4:
        Fix for -fbranch-probabilites
      configure.in:
        Fix for -fbranch-probabilites
      myisam/mi_open.c:
        Give error instead of writing to stderr (Which user can't see)
      mysql-test/r/join.result:
        Update results after change to NATURAL/LEFT/RIGHT JOIN
      mysql-test/r/join_outer.result:
        Update results after change to NATURAL/LEFT/RIGHT JOIN
      mysql-test/r/select.result:
        Update results after change to NATURAL/LEFT/RIGHT JOIN
      mysql-test/t/join.test:
        Update results after change to NATURAL/LEFT/RIGHT JOIN
      sql/item_strfunc.cc:
        Fix for LEFT/RIGHT/MID with multi-byte-character sets
      sql/mysqld.cc:
        Fix for new bison 1.875 (Wrong error text message when one got syntax error)
      sql/sql_class.cc:
        Don't show port in SHOW PROCESSLIST for system threads
      sql/sql_insert.cc:
        max_insert_delayed_threads now works as documented.
        delayed_insert_timeout now works on Linux
      sql/sql_parse.cc:
        Added comment
      sql/sql_select.cc:
        Fix problem with ORDER BY being discarded and results returned un-sorted
      sql/sql_yacc.yy:
        Fixed bug with NATURAL LEFT JOIN, NATURAL RIGHT JOIN and RIGHT JOIN when
        using many joined tables.
      570158b0
  19. 23 Apr, 2003 1 commit
    • unknown's avatar
      Variable names have been renamed: · 97e45234
      unknown authored
        client_collation -> collation_client
        result_collation -> collation_results
        connection_collation -> collation_connection
      
      
      BitKeeper/etc/ignore:
        Added client/ssl_test to the ignore list
      97e45234
  20. 22 Apr, 2003 1 commit
  21. 16 Apr, 2003 2 commits
    • unknown's avatar
      fix for a bug with two natural joins. · 209501ff
      unknown authored
      209501ff
    • unknown's avatar
      Add mysys specific error messages · 165d2f73
      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
      165d2f73
  22. 15 Apr, 2003 1 commit
  23. 08 Apr, 2003 2 commits
  24. 07 Apr, 2003 1 commit
    • unknown's avatar
      sys_var_collation is now abstract class · b4eb7b35
      unknown authored
      Two separate classes sys_var_client_collation and sys_var_literal_collation have been added
      for "literal_collation" and "client_collation" variables.
      
      b4eb7b35
  25. 05 Apr, 2003 4 commits
    • unknown's avatar
      Some optimization in SET NAMES · 72d3b3a1
      unknown authored
      mysql-test/r/ctype_collate.result:
        SET NAMES charset COLLATE collation is new syntax
      mysql-test/r/variables.result:
        SET NAMES charset COLLATE collation is new syntax
      mysql-test/t/ctype_collate.test:
        SET NAMES charset COLLATE collation is new syntax
      mysql-test/t/variables.test:
        SET NAMES charset COLLATE collation is new syntax
      72d3b3a1
    • unknown's avatar
      sql_yacc.yy: · 97415bd7
      unknown authored
        I wonder how it happend that I compiled this!
      
      
      sql/sql_yacc.yy:
        I wonder how it happend that I compiled this!
      97415bd7
    • unknown's avatar
      sql_yacc.yy, set_var.h, set_var.cc: · 9b4452f8
      unknown authored
        Optimization of SET NAMES
      
      
      sql/set_var.cc:
        Optimization of SET NAMES
      sql/set_var.h:
        Optimization of SET NAMES
      sql/sql_yacc.yy:
        Optimization of SET NAMES
      9b4452f8
    • unknown's avatar
      fixed st_select_lex initialization · 1a0898c3
      unknown authored
      fixed mustiupdate subselect compatibility
      
      (bug 217)
      
      
      
      mysql-test/r/subselect.result:
        test of multi-update & subselect
      mysql-test/t/subselect.test:
        test of multi-update & subselect
      sql/sql_update.cc:
        added subselect compatibility to query cache
      sql/sql_yacc.yy:
        right st_select_lex initialization 
        layout fix
      1a0898c3
  26. 04 Apr, 2003 1 commit
    • unknown's avatar
      Fix to support update + bianry logs with prepared statements (Dynamic query) · a9ca5c95
      unknown authored
      sql/item.cc:
        query_val_str to return param item value in string format
      sql/item.h:
        Misc defination changes for Item_param
      sql/sql_class.h:
        Changes for PREP_STMT
      sql/sql_string.cc:
        Duplicate String::replace to take char * and length as arguments
      sql/sql_yacc.yy:
        Change to take param marker position to Item_param as an argument
      sql/sql_prepare.cc:
        Fix for binary + update logs
      sql/sql_string.h:
        Added new replace()
      a9ca5c95
  27. 28 Mar, 2003 1 commit
    • unknown's avatar
      sql_yacc.yy: · 4164536e
      unknown authored
        Fix for possible failure reason on big-endian machines
        ,
      
      
      sql/sql_yacc.yy:
        Fix for possible failure reason on big-endian machines
        ,
      4164536e
  28. 27 Mar, 2003 1 commit
    • unknown's avatar
      After merge fixes · f608a895
      unknown authored
      mysql-test/r/query_cache.result:
        Updated test for 4.1
      mysql-test/t/query_cache.test:
        Updated test for 4.1
      sql/sql_parse.cc:
        After merge fix
      sql/sql_yacc.yy:
        After merge fix
      f608a895