New definition of WEEK().
Docs/manual.texi:
Changelog
myisam/mi_cache.c:
Better logging on error
myisam/mi_open.c:
Remove usage of my_dup(), as this casued error 127 when reading tables
mysql-test/r/func_time.result:
More tests for the WEEK/YEARWEEK function
mysql-test/t/func_time.test:
More tests for the WEEK/YEARWEEK function
sql/time.cc:
New definition of WEEK
trying to understand why --bootstrap option does not create tables
on disk, hope the problem will be fixed when I pull, if not will
debug, but need to commit in order to pull
client/mysqltest.c:
added safe_connect() and chaned all calls to mysql_real_connect() to
safe_connect()
mysql-test/install_test_db.sh:
more diagnostic
sql/log_event.cc:
fixed compile error in mysqlbinlog
delimiters/starters/terminators
started work on server management daemon
mysql-test/r/rpl_log.result:
fixed result
sql/log_event.cc:
make LOAD DATA INFILE replication
work with multi-character delimiters/starters/terminators
sql/log_event.h:
make LOAD DATA INFILE replication
work with multi-character delimiters/starters/terminators
New global read lock code
Fixed bug in DATETIME with WHERE optimization
Made UNION code more general.
include/global.h:
Remove warning on Linux Alpha
include/mysql_com.h:
Move some C variables inside extern "C" block.
include/mysqld_error.h:
New error mesages
myisam/mi_write.c:
cleanup
mysql-test/r/select.result:
Fix because of table lists now always has a database argument.
mysql-test/r/type_datetime.result:
Test for bug with datetime and where optimization
mysql-test/r/union.result:
Updated result
mysql-test/t/type_datetime.test:
New test for datetime
mysql-test/t/union.test:
More testing of error conditions
sql/item_sum.cc:
Remove warnings on Linux Alpha
sql/item_sum.h:
Cleanup
sql/lock.cc:
Cleaned up global lock handling
sql/log_event.cc:
Removed default arguments from declarations (not allowed in cxx)
sql/mysql_priv.h:
New prototypes
sql/mysqld.cc:
Fix for global locks
sql/opt_range.cc:
Cleanup
sql/share/czech/errmsg.txt:
New errors
sql/share/danish/errmsg.txt:
New errors
sql/share/dutch/errmsg.txt:
New errors
sql/share/english/errmsg.txt:
New errors
sql/share/estonian/errmsg.txt:
New errors
sql/share/french/errmsg.txt:
New errors
sql/share/german/errmsg.txt:
New errors
sql/share/greek/errmsg.txt:
New errors
sql/share/hungarian/errmsg.txt:
New errors
sql/share/italian/errmsg.txt:
New errors
sql/share/japanese/errmsg.txt:
New errors
sql/share/korean/errmsg.txt:
New errors
sql/share/norwegian-ny/errmsg.txt:
New errors
sql/share/norwegian/errmsg.txt:
New errors
sql/share/polish/errmsg.txt:
New errors
sql/share/portuguese/errmsg.txt:
New errors
sql/share/romanian/errmsg.txt:
New errors
sql/share/russian/errmsg.txt:
New errors
sql/share/slovak/errmsg.txt:
New errors
sql/share/spanish/errmsg.txt:
New errors
sql/share/swedish/errmsg.OLD:
New errors
sql/share/swedish/errmsg.txt:
New errors
sql/sql_acl.cc:
Use thd->host_or_ip
sql/sql_class.cc:
Use new global lock code
sql/sql_class.h:
host_or_ip
sql/sql_db.cc:
host_or_ip
sql/sql_delete.cc:
Use now global lock code
sql/sql_lex.h:
Cleanup of not used states and variables
sql/sql_parse.cc:
Use now global locks.
Made UNION code more general.
Change to use thd->hosts_or_ip.
TABLE_LIST now always has 'db' set.
sql/sql_repl.cc:
Portability fixes.
Changed wrong usage of my_vsnprintf -> my_snprintf
sql/sql_select.cc:
Changes for UNION
sql/sql_show.cc:
Cleanup
sql/sql_union.cc:
Handle 'select_result' outside of mysql_union().
sql/sql_yacc.yy:
Fixes for union
include/mysqld_error.h:
Fix error messages
mysql-test/t/fulltext.test:
Fixed wrong error numbers
mysql-test/t/union.test:
Update error numbers after merge with 3.23
sql/share/czech/errmsg.txt:
Fix of merge
sql/share/danish/errmsg.txt:
Updated error messages from 3.23
sql/share/dutch/errmsg.txt:
Updated error messages from 3.23
sql/share/english/errmsg.txt:
Updated error messages
sql/share/estonian/errmsg.txt:
Fix of merge
sql/share/french/errmsg.txt:
Fix of merge
sql/share/german/errmsg.txt:
Fix of merge
sql/share/greek/errmsg.txt:
Fix of merge
sql/share/hungarian/errmsg.txt:
Fix of merge
sql/share/italian/errmsg.txt:
Fix of merge
sql/share/japanese/errmsg.txt:
Fix of merge
sql/share/korean/errmsg.txt:
Fix of merge
sql/share/norwegian-ny/errmsg.txt:
Fix of merge
sql/share/norwegian/errmsg.txt:
Fix of merge
sql/share/polish/errmsg.txt:
Fix of merge
sql/share/portuguese/errmsg.txt:
Updated error messages
sql/share/romanian/errmsg.txt:
Fix of merge
sql/share/russian/errmsg.txt:
Fix of merge
sql/share/slovak/errmsg.txt:
Fix of merge
sql/share/spanish/errmsg.txt:
Fix of merge
sql/share/swedish/errmsg.txt:
Fix of merge
mysql-test/t/union.test:
A test case for :
CREATE TABLE .. SELECT .... UNION SELECT ... UNION SELECT .....
and
INSERT INTO ... SELECT .... UNION SELECT ... UNION SELECT ....
Monty, please let me know what changes do you want me to make.
I could not make both in the same function, as insert requires
that table is open.
Let me know what changes to make before I plunge into:
EXPLAIN SELECT ... UNION ... SELECT ......
BitKeeper/etc/logging_ok:
auto-union
innobase/buf/buf0flu.c:
Auto merged
sql/ha_myisam.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.cc:
Auto merged
Docs/manual.texi:
Will merge later..
Added record_rnd_buffer
Added --safe-user-create
Fix for ALTER TABLE RENAME on windows
Docs/manual.texi:
Changelog and documentation of new features.
More information about using threaded client libraries
include/mysql_com.h:
Added prototype for my_thread_init()
include/mysqld_error.h:
New error for --safe-create-user
innobase/buf/buf0flu.c:
Portability fix
innobase/include/univ.i:
Portability fix
mysql-test/t/distinct.test:
Test for distinct bug
sql/mysql_priv.h:
Added record_rnd_buffer
sql/mysqld.cc:
Added record_rnd_buffer
sql/records.cc:
Added record_rnd_buffer
sql/share/czech/errmsg.txt:
New error message for --safe-user-create
sql/share/danish/errmsg.txt:
New error message for --safe-user-create
sql/share/dutch/errmsg.txt:
New error message for --safe-user-create
sql/share/english/errmsg.txt:
New error message for --safe-user-create
sql/share/estonian/errmsg.txt:
New error message for --safe-user-create
sql/share/french/errmsg.txt:
New error message for --safe-user-create
sql/share/german/errmsg.txt:
New error message for --safe-user-create
sql/share/greek/errmsg.txt:
New error message for --safe-user-create
sql/share/hungarian/errmsg.txt:
New error message for --safe-user-create
sql/share/italian/errmsg.txt:
New error message for --safe-user-create
sql/share/japanese/errmsg.txt:
New error message for --safe-user-create
sql/share/korean/errmsg.txt:
New error message for --safe-user-create
sql/share/norwegian-ny/errmsg.txt:
New error message for --safe-user-create
sql/share/norwegian/errmsg.txt:
New error message for --safe-user-create
sql/share/polish/errmsg.txt:
New error message for --safe-user-create
sql/share/portuguese/errmsg.txt:
New error message for --safe-user-create
sql/share/romanian/errmsg.txt:
New error message for --safe-user-create
sql/share/russian/errmsg.txt:
New error message for --safe-user-create
sql/share/slovak/errmsg.txt:
New error message for --safe-user-create
sql/share/spanish/errmsg.txt:
New error message for --safe-user-create
sql/share/swedish/errmsg.txt:
New error message for --safe-user-create
sql/sql_acl.cc:
Checking of privileges for --safe-user-create
sql/sql_acl.h:
--safe-user-create
sql/sql_base.cc:
--safe-user-create
sql/sql_parse.cc:
--safe-user-create
sql/sql_show.cc:
--safe-user-create
sql/sql_table.cc:
Fix for ALTER TABLE RENAME on windows
Portability fixes
Fixed problem when giving wrong arguments to myisam_recover
Fix to remove warnings when using purify
BUILD/compile-solaris-sparc-purify:
Added innodb and berkeleydb to test
mysql-test/install_test_db.sh:
Portability fix.
sql/ha_myisam.cc:
Fixed problem when giving wrong arguments to myisam_recover
sql/ha_myisammrg.cc:
Fixed bug in ALTER TABLE for MERGE tables
sql/sql_list.h:
Fix to remove warnings when using purify
sql/sql_select.cc:
Fix to remove warnings from purify
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
BitKeeper/etc/logging_ok:
auto-union
BitKeeper/etc/ignore:
auto-union
Makefile.am:
Auto merged
ltmain.sh:
Auto merged
libmysql/Makefile.shared:
Auto merged
libmysql/libmysql.c:
Auto merged
myisam/myisamchk.c:
Auto merged
mysql-test/t/bdb.test:
Auto merged
sql/ha_myisam.cc:
Auto merged
sql/item_func.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
sql/sql_class.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/sql_select.cc:
Auto merged
libmysqld/Makefile.am:
sql_unions -> sql_union
BitKeeper/etc/ignore:
Added libmysqld/sql_union.cc to the ignore list
mysql-test/mysql-test-run.sh:
fix to get path-independent logging
mysql-test/r/rpl_log.result:
fix for path-independent logging
sql/log.cc:
fixed compile error with USING_TRANSACTIONS
sql/log_event.h:
fixed compile error with USING_TRANSACTIONS
mysql-test/r/rpl_log.result:
fixed result for new file_id generating method
BitKeeper/etc/ignore:
Added vio/viotest-ssl to the ignore list
sql/log.cc:
use a different method to generate unique file_id
sql/log_event.cc:
new file_id generationg method
sql/sql_class.h:
new file_id generationg method
Stop event and bugs the test suite could not catch
Did some big restructuring of binlog event classes - most important
change is that now each event class has exec_event method and one does
not need to modify slave core code to add a new event. Slave code is
now much smaller and easier to read
include/my_sys.h:
pre_code and arg in IO_CACHE
mysql-test/r/rpl_log.result:
updated result for LOAD DATA INFILE fix
mysys/mf_iocache.c:
pre_close routine and arg pointer for callback magic
sql/log.cc:
changed MYSQL_LOG so that write() method is for generic
Log_event - removed redundant code
sql/log_event.cc:
added classes for file events
added exec_event() method to all classes
restructured/cleaned up event classes
sql/log_event.h:
added classes for file events
added exec_event() method to all classes
restructured/cleaned up event classes
sql/mf_iocache.cc:
pre_close/arg
sql/mysqld.cc:
added slave-load-tmpdir and old-rpl-compat options
sql/slave.cc:
changed exec_event() to use Log_event::exec_event()
some routines are now needed in log_event.cc and cannot be static/inline
general cleanup
sql/slave.h:
some routines are now extern because they are called from log_event.cc
sql/sql_class.cc:
added slave_net
sql/sql_class.h:
added slave_net to THD
MYSQL_LOG::write now handles generic Log_event
sql/sql_load.cc:
changes for new handling of LOAD DATA INFILE replication
sql/sql_repl.cc:
added log_loaded_block() callback for IO_CACHE
sql/sql_repl.h:
added structure to pass args to IO_CACHE callback from mysql_load
Added prototype for my_thread_end
New error message for MATCH
Give error when using myisamchk --force --readonly
BitKeeper/deleted/.del-fulltext_join.test~e347c8f04405c916:
Delete: mysql-test/t/fulltext_join.test
Docs/manual.texi:
Added node to fulltext
configure.in:
Fix when using --without-server --with-thread-safe-client
include/mysql_com.h:
Added prototype for my_thread_end
include/mysqld_error.h:
New error message for MATCH
myisam/myisamchk.c:
Give error when using --force --readonly
mysql-test/t/fulltext.test:
Added test for error conditons with fulltext
sql/item_func.cc:
Fixed error messages when using MATCH ... AGAINST
sql/mysqld.cc:
Portability fix
sql/share/czech/errmsg.txt:
New error message when using MATCH
sql/share/danish/errmsg.txt:
New error message when using MATCH
sql/share/dutch/errmsg.txt:
New error message when using MATCH
sql/share/english/errmsg.txt:
New error message when using MATCH
sql/share/estonian/errmsg.txt:
New error message when using MATCH
sql/share/french/errmsg.txt:
New error message when using MATCH
sql/share/german/errmsg.txt:
New error message when using MATCH
sql/share/greek/errmsg.txt:
New error message when using MATCH
sql/share/hungarian/errmsg.txt:
New error message when using MATCH
sql/share/italian/errmsg.txt:
New error message when using MATCH
sql/share/japanese/errmsg.txt:
New error message when using MATCH
sql/share/korean/errmsg.txt:
New error message when using MATCH
sql/share/norwegian-ny/errmsg.txt:
New error message when using MATCH
sql/share/norwegian/errmsg.txt:
New error message when using MATCH
sql/share/polish/errmsg.txt:
New error message when using MATCH
sql/share/portuguese/errmsg.txt:
New error message when using MATCH
sql/share/romanian/errmsg.txt:
New error message when using MATCH
sql/share/russian/errmsg.txt:
New error message when using MATCH
sql/share/slovak/errmsg.txt:
New error message when using MATCH
sql/share/spanish/errmsg.txt:
New error message when using MATCH
sql/share/swedish/errmsg.OLD:
New error message when using MATCH
sql/share/swedish/errmsg.txt:
New error message when using MATCH
New faster list iterators
Change list code to be simpler and faster
Optimize count(distinct)
New error messages for UNION
Make create_tmp_table more general to be usable by UNION
Docs/manual.texi:
Changelog
include/mysqld_error.h:
Add new error messages needed for UNION
mysql-test/r/union.result:
New tests for UNION
mysql-test/t/analyse.test:
Add missing drop table
mysql-test/t/union.test:
new tests for UNION
sql/Makefile.am:
Change name of sql_unions.cc to sql_union.cc
sql/item.cc:
Use List_iterator_fast
sql/item_cmpfunc.cc:
Use List_iterator_fast
sql/item_func.cc:
Use List_iterator_fast
sql/item_sum.cc:
Use List_iterator_fast
Optimize count(distinct)
Cleanup of indentation and comments
sql/item_sum.h:
Optimize count(distinct)
sql/key.cc:
Use List_iterator_fast
sql/mysql_priv.h:
Add new option bits
sql/opt_sum.cc:
Use List_iterator_fast
sql/share/Makefile.am:
Add 'fix_errors' label
sql/share/czech/errmsg.txt:
Add new error messages needed for UNION
sql/share/danish/errmsg.txt:
Add new error messages needed for UNION
sql/share/dutch/errmsg.txt:
Add new error messages needed for UNION
sql/share/english/errmsg.txt:
Add new error messages needed for UNION
sql/share/estonian/errmsg.txt:
Add new error messages needed for UNION
sql/share/french/errmsg.txt:
Add new error messages needed for UNION
sql/share/german/errmsg.txt:
Add new error messages needed for UNION
sql/share/greek/errmsg.txt:
Add new error messages needed for UNION
sql/share/hungarian/errmsg.txt:
Add new error messages needed for UNION
sql/share/italian/errmsg.txt:
Add new error messages needed for UNION
sql/share/japanese/errmsg.txt:
Add new error messages needed for UNION
sql/share/korean/errmsg.txt:
Add new error messages needed for UNION
sql/share/norwegian-ny/errmsg.txt:
Add new error messages needed for UNION
sql/share/norwegian/errmsg.txt:
Add new error messages needed for UNION
sql/share/polish/errmsg.txt:
Add new error messages needed for UNION
sql/share/portuguese/errmsg.txt:
Add new error messages needed for UNION
sql/share/romanian/errmsg.txt:
Add new error messages needed for UNION
sql/share/russian/errmsg.txt:
Add new error messages needed for UNION
sql/share/slovak/errmsg.txt:
Add new error messages needed for UNION
sql/share/spanish/errmsg.txt:
Add new error messages needed for UNION
sql/share/swedish/errmsg.txt:
Add new error messages needed for UNION
sql/sql_analyse.cc:
Use List_iterator_fast
sql/sql_base.cc:
Use List_iterator_fast
Add new argument to setup_fields
sql/sql_class.cc:
Use List_iterator_fast
sql/sql_class.h:
Create new class for UNION
sql/sql_handler.cc:
Use List_iterator_fast
sql/sql_insert.cc:
Use List_iterator_fast
sql/sql_lex.h:
Cleanup
sql/sql_list.cc:
Faster iteration of lists
sql/sql_list.h:
Faster iterations of lists
sql/sql_load.cc:
Use List_iterator_fast
sql/sql_parse.cc:
Fix UNION code
sql/sql_select.cc:
Use List_iterator_fast
Make create_tmp_table more general to be usable by UNION
sql/sql_select.h:
Changes to speed up copy_fields()
sql/sql_show.cc:
Use List_iterator_fast
sql/sql_table.cc:
Use List_iterator_fast
sql/sql_union.cc:
Fix UNION code
sql/sql_update.cc:
Use List_iterator_fast
sql/sql_yacc.yy:
Fix UNION code
Extended default arguments to be up to 4095 characters
Docs/manual.texi:
Update lof LOCK TABLES
mysql-test/r/order_by.result:
Test for optimizer bug in ORDER BY
mysql-test/t/order_by.test:
Test for optimizer bug in ORDER BY
mysys/default.c:
Extended default arguments to be up to 4095 characters
sql/sql_select.cc:
Fixed optimizer bug in ORDER BY
Remove unused argument to ha_berkeley::remove_key().
mysql-test/r/bdb.result:
Add test case for update/replace bug in bdb.
BitKeeper/etc/ignore:
Added .gdbinit .vimrc to the ignore list
mysql-test/t/bdb.test:
Add test case for update/replace bug in bdb.
sql/ha_berkeley.cc:
The packed_record argument to ha_berkeley::remove_key() was never
used; remove it.
sql/ha_berkeley.h:
The packed_record argument to ha_berkeley::remove_key() was never
used; remove it.
mysql-test/t/rpl_magic.test:
Added missing drop table
mysql-test/t/rpl_mystery22.test:
Added missing drop table
mysql-test/t/rpl_sporadic_master.test:
Fixed bad merge
myisam/mi_check.c:
Auto merged
myisam/myisamchk.c:
Auto merged
sql/mysqld.cc:
Auto merged
mysql-test/t/bdb.test:
Auto merged
sql/slave.cc:
Auto merged
sql/sql_delete.cc:
Auto merged
sql/sql_insert.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_show.cc:
Auto merged
sql/sql_update.cc:
Auto merged
configure.in:
New version
added a test case for it - took some creative work to figure out
how to make it happen at will
updated the manual
Docs/manual.texi:
fixed wrong info on SLAVE_SKIP_COUNTER
fixed wrong info in BitKeeper tree build instructions
updated change history about bug fix
mysql-test/t/rpl_sporadic_master.test:
tried hard to get slave confused, but failed. nevertheless, a more
exhaustive test case does not hurt
sql/slave.cc:
fixed mysterious offset confusion bug
mysql-test/r/rpl_sporadic_master.result:
Made test portable accross table handlers
mysql-test/t/rpl_sporadic_master.test:
Made test portable accross table handlers
Added warning for tables where the auto_increment key is 0
Fixed DELETE ... LIMIT 0
Fixed UPDATE ..LIMIT 0
Docs/manual.texi:
Changelog + Update to CHECK TABLE
configure.in:
Patch for netBSD
mit-pthreads/gen/ctime.c:
Patch for netBSD
mit-pthreads/machdep/netbsd-1.1/__signal.h:
Patch for netBSD
mit-pthreads/stdio/strerror.c:
Patch for netBSD
myisam/mi_check.c:
Added warning for tables where the auto_increment key is 0
myisam/myisamchk.c:
Added warning for tables where the auto_increment key is 0
mysql-test/r/auto_increment.result:
Added warning for tables where the auto_increment key is 0
mysql-test/r/limit.result:
Test of DELETE ... LIMIT 0
mysql-test/t/auto_increment.test:
Added warning for tables where the auto_increment key is 0
mysql-test/t/limit.test:
Test of DELETE ... LIMIT 0
sql/Makefile.am:
Don't add mysqld_LDADD to mysqlbinlog (portability patch)
sql/ha_gemini.cc:
Changed copyright (have got ok from NuSphere previously)
sql/ha_gemini.h:
Changed copyright (have got ok from NuSphere previously)
sql/sql_delete.cc:
Fixed DELETE ... LIMIT 0
sql/sql_update.cc:
Fixed UPDATE ..LIMIT 0
mysql-test/r/show_check.result:
Added back old code
sql/ha_myisam.h:
Removed warning
sql/mysql_priv.h:
Added back old code
sql/sql_base.cc:
Added back old code
sql/sql_parse.cc:
Added back old code
sql/sql_show.cc:
Added back old code
use truncate table
sql/slave.cc
fixed race condition on server shutdown
sql/sql_repl.cc
fixed uninitialized use of io_cache
mysql-test/t/rpl_sporadic_master.test:
use truncate table
sql/slave.cc:
fixed race condition on server shutdown
sql/sql_repl.cc:
fixed uninitialized use of io_cache