An error occurred fetching the project authors.
  1. 21 Aug, 2003 1 commit
    • unknown's avatar
      fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib · e103da7a
      unknown authored
      moved them all from different places to item_strfunc.{h,cc}
      checksum table command
      Com_xxx status variables updated
      
      
      sql/item_create.cc:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_func.cc:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_func.h:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_geofunc.h:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_strfunc.cc:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/item_strfunc.h:
        fixed a crash on COMPRESS() and other zlib-dependent functions when compiled w/o zlib
        moved them all from different places to item_strfunc.{h,cc}
      sql/mysql_priv.h:
        checksum table command
      sql/mysqld.cc:
        Com_xxx updated
      sql/sql_lex.h:
        checksum table command
      sql/sql_parse.cc:
        checksum table command
      sql/sql_table.cc:
        checksum table command
      sql/sql_yacc.yy:
        checksum table command
      e103da7a
  2. 12 Aug, 2003 1 commit
  3. 11 Aug, 2003 1 commit
    • unknown's avatar
      Implemented UTC_TIME, UTC_DATE and UTC_TIMESTAMP functions (WL#345) · 2ad06dc6
      unknown authored
      configure.in:
        ./configure now tests if gmtime_r is present
      include/config-os2.h:
        Supposing that OS/2 have gmtime_r
      include/my_pthread.h:
        Use our imeplementation of gmtime_r if system lacks one
      mysql-test/r/func_time.result:
        Added UTC_* functions to test
      mysql-test/t/func_time.test:
        Added UTC_* functions to test
      mysys/my_pthread.c:
        Our implementation of gmtime_r
      mysys/my_thr_init.c:
        Now we also need LOCK_locktime_r if gmtime_r is absent
      sql/item_timefunc.cc:
        Generalized classes for CURDATE, CURTIME and NOW, abstracted them from
        timezone. Added new children classes for implementing these and UTC_*
        functions.
      sql/item_timefunc.h:
        Generalized classes for CURDATE, CURTIME and NOW, abstracted them from
        timezone. Added new children classes for implementing these and UTC_*
        functions.
      sql/lex.h:
        Added tokens for UTC_TIME, UTC_DATE and UTC_TIMESTAMP
      sql/sql_yacc.yy:
        Added UTC_* functions to grammar. Current functions are using 
        classes now.
      2ad06dc6
  4. 05 Aug, 2003 1 commit
    • unknown's avatar
      table checksum background: · eb5f968c
      unknown authored
         my_checksum() mysys function
         NISAM checksum code moved from mysys to isam/ - it's obsolete
         MyISAM checksum code moved to mysys
         table's checksum accessible from sql layer
         SHOW TABLE STATUS shows checksum (WL#646)
      code cleanup
      
      
      include/my_sys.h:
        table checksum background: my_checksum() mysys function
      include/myisam.h:
        table checksum background: my_checksum() mysys function
        MyISAM checksum code moved to mysys
      isam/isamchk.c:
        table checksum background:
        NISAM checksum code moved from mysys to isam/ - it's obsolete
      isam/isamdef.h:
        table checksum background:
        NISAM checksum code moved from mysys to isam/ - it's obsolete
      isam/open.c:
        table checksum background:
        NISAM checksum code moved from mysys to isam/ - it's obsolete
      isam/pack_isam.c:
        table checksum background:
        NISAM checksum code moved from mysys to isam/ - it's obsolete
      myisam/mi_checksum.c:
        table checksum background: my_checksum() mysys function
        MyISAM checksum code moved to mysys
      mysys/checksum.c:
        table checksum background: my_checksum() mysys function
        MyISAM checksum code moved to mysys
      sql/ha_myisam.cc:
        table checksum background: table's checksum accessible from sql layer
      sql/ha_myisam.h:
        table checksum background: table's checksum accessible from sql layer
      sql/handler.h:
        table checksum background: table's checksum accessible from sql layer
        code cleanup
      sql/sql_lex.h:
        table checksum background: table's checksum accessible from sql layer
        code cleanup
      sql/sql_select.cc:
        warning removed
      sql/sql_show.cc:
        SHOW TABLE STATUS shows checksum (WL#646)
      sql/sql_yacc.yy:
        cleanup
        (DROP TABLES syntax added as a side effect :))
      eb5f968c
  5. 29 Jul, 2003 2 commits
  6. 22 Jul, 2003 1 commit
  7. 20 Jul, 2003 1 commit
    • unknown's avatar
      bug #715: SELECT YEAR+0 FROM foobar is parsed as 'SELECT' 'YEAR' '+0' => syntax error · c1ed639c
      unknown authored
      mysql-test/r/bigint.result:
        test results updated
      mysql-test/r/type_decimal.result:
        test results updated
      mysql-test/t/bigint.test:
        new tests added
      mysql-test/t/type_decimal.test:
        error numbers updated
      sql/item.h:
        round(9999999999999999999) fixed
      sql/sql_yacc.yy:
        bug #715: SELECT YEAR+0 FROM foobar is parsed as 'SELECT' 'YEAR' '+0'   => syntax error
        unary '+' added
      c1ed639c
  8. 16 Jul, 2003 1 commit
  9. 15 Jul, 2003 2 commits
  10. 12 Jul, 2003 1 commit
    • unknown's avatar
      Added SHOW MASTER LOGS as synonym for SHOW BINARY LOGS. · 19a4a84d
      unknown authored
      Added PURGE BINARY LOGS as synonym for PURGE MASTER LOGS.
      Removed PURGE LOGS (now PURGE MASTER LOGS).
      Added SHOW BDB LOGS as synonym for SHOW LOGS.
      Note: tests key_cache.test hanged, rpl_log_pos.test, rpl_rotate_logs.test failed for me.
      For the second and third one I guess this will disappear after merging 4.0.
      
      
      mysql-test/r/rpl_rotate_logs.result:
        result update
      mysql-test/t/rpl_rotate_logs.test:
        added test for synonym PURGE BINARY LOGS, changed PURGE LOGS to
        PURGE MASTER LOGS.
      sql/sql_yacc.yy:
        Added SHOW MASTER LOGS as synonym for SHOW BINARY LOGS.
        Added PURGE BINARY LOGS as synonym for PURGE MASTER LOGS.
        Removed PURGE LOGS (now PURGE MASTER LOGS).
        Added SHOW BDB LOGS as synonym for SHOW LOGS.
      19a4a84d
  11. 08 Jul, 2003 1 commit
  12. 06 Jul, 2003 2 commits
    • unknown's avatar
      Support for variables with components · e17562b5
      unknown authored
      Added framework to create/drop and manager buffers for multiple key caches
      
      
      include/my_getopt.h:
        Fixed prototype
      include/my_sys.h:
        Added (temporary) KEY_CACHE type
      include/mysqld_error.h:
        New error messages
      mysql-test/r/select_safe.result:
        Updated test results
      mysql-test/r/variables.result:
        Updated test results
      mysys/my_getopt.c:
        Fixed bugs with GET_ASK_ADDR
      sql/Makefile.am:
        Make sql_yacc.o depend on all header files in sql directory
      sql/item_func.cc:
        Added support for variable components
      sql/mysql_priv.h:
        Added support for variable components
      sql/mysqld.cc:
        Added support for multiple key caches
      sql/set_var.cc:
        Added support for multiple key caches
      sql/set_var.h:
        Added support for multiple key caches
      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
      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/serbian/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_lex.cc:
        Fixes for quoting of variables.
      sql/sql_parse.cc:
        Fix after changing prototype for get_system_var
      sql/sql_show.cc:
        Fix after introducing variable components
      sql/sql_yacc.yy:
        Support for variables with components (To support multiple key caches)
      e17562b5
    • unknown's avatar
      aa1b0240
  13. 30 Jun, 2003 1 commit
    • unknown's avatar
      Remove FORCE_INIT_OF_VARS when compiling for valgrind/purify to spot wrong LINT_INIT() options · d0dc9e7d
      unknown authored
      Fixed bug in ALTER TABLE ... MODIFY integer-column
      Added ref_or_null optimization (needed for subqueries)
      
      
      BUILD/compile-pentium-valgrind-max:
        Remove FORCE_INIT_OF_VARS to spot wrong LINT_INIT() options
      mysql-test/r/distinct.result:
        Update of test results (new optimizer)
      mysql-test/r/null_key.result:
        Update after ref_or_null optimization
      mysql-test/r/subselect.result:
        Update after ref_or_null optimization
      mysql-test/t/null_key.test:
        New tests for ref_or_null optimization
      sql/sql_select.cc:
        Added ref_or_null optimization
        Optimized find_best_combinations() and read-functions
      sql/sql_select.h:
        Added ref_or_null optimization
      sql/sql_yacc.yy:
        Fixed bug in ALTER TABLE ... MODIFY integer-column
      sql/table.cc:
        Safety fix for ALTER TABLE .. MODIFY
      sql/unireg.cc:
        Safety fix for ALTER TABLE .. MODIFY
      d0dc9e7d
  14. 23 Jun, 2003 1 commit
  15. 19 Jun, 2003 1 commit
    • unknown's avatar
      preload.result, preload.test: · 32ddd427
      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)
      32ddd427
  16. 15 Jun, 2003 2 commits
    • unknown's avatar
      bad merge fixed · 7a938aea
      unknown authored
      mysql-test/r/fulltext.result:
        test for CREATE FULLTEXT INDEX
      mysql-test/t/fulltext.test:
        test for CREATE FULLTEXT INDEX
      7a938aea
    • unknown's avatar
      Fixes for make_win_src_distributions · ed1d28fd
      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
      ed1d28fd
  17. 12 Jun, 2003 1 commit
    • unknown's avatar
      Many files: · f7aed024
      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.
      f7aed024
  18. 06 Jun, 2003 1 commit
    • unknown's avatar
      REVOKE all privileges and delete user(244) · d1a1d24c
      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
      d1a1d24c
  19. 04 Jun, 2003 1 commit
    • unknown's avatar
      Added SQLSTATE to client/server protocol · b388eb00
      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
      b388eb00
  20. 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). · 6d1081cd
      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
      6d1081cd
    • unknown's avatar
      LTRIM, RTRIM and TRIM now honors coercibility · 8ae717d3
      unknown authored
      LTRIM, RTRIM and TRIM now work fine with ucs2
      
      
      8ae717d3
    • unknown's avatar
      MY_CS_NONTEXT flag for sprintf() incompatible charsets (ucs2 if the only one now) · 93d3ba84
      unknown authored
      Some default_charset_info were removed
      
      
      93d3ba84
  21. 30 May, 2003 2 commits
    • unknown's avatar
      mysqlshow and mysqldump now send their vharacter set to server · 487a6496
      unknown authored
      character_set_results is now the same with character_set_client by default
      
      
      487a6496
    • unknown's avatar
      character_set_server is now updatable · f46e958e
      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
      f46e958e
  22. 29 May, 2003 1 commit
  23. 28 May, 2003 1 commit
  24. 21 May, 2003 3 commits
    • unknown's avatar
      fixed subqueries name resolution with INSERT/REPLACE (found during bug 446 investigation) · 26aeebfa
      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
      26aeebfa
    • unknown's avatar
      After merge fixes · f72611b4
      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
      f72611b4
    • unknown's avatar
      Some SHOW VARIABLES have been renamed: · 4637832f
      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
      
      
      4637832f
  25. 17 May, 2003 1 commit
    • unknown's avatar
      fixed memory overrun (bug 380) · acda3d79
      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
      acda3d79
  26. 16 May, 2003 1 commit
  27. 15 May, 2003 1 commit
    • unknown's avatar
      Scrum task 845. Thi is a behaviour change : · ec72bda5
      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;
      ec72bda5
  28. 13 May, 2003 2 commits
    • unknown's avatar
      Give warning if MySQL doesn't honor given storage engine · 9f22d166
      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).
      9f22d166
    • unknown's avatar
      Safety fix to enable RAID in max binaries · 10c790ef
      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
      10c790ef
  29. 02 May, 2003 1 commit
  30. 27 Apr, 2003 1 commit
    • unknown's avatar
      Fixed problem when comparing a key for a multi-byte-character set. (bug 152) · f22be777
      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.
      f22be777