Some small speedups
Docs/manual.texi:
Changelog
client/mysqldump.c:
Fixed quoting problem for table names when using --opt
mysys/mf_casecnv.c:
Speed up some common string functions
sql-bench/test-insert.sh:
Small changes that shouldn't affect results
sql-bench/test-select.sh:
Small changes that shouldn't affect results
sql/field.h:
Added reset() functions to speed up some common things
sql/gen_lex_hash.cc:
Smaller hash table
sql/ha_innobase.cc:
Fixed bug in auto-increment handling with InnoDB
BitKeeper/etc/ignore:
Added vio/test-sslclient vio/test-sslserver to the ignore list
client/mysql.cc:
Let make mysql client tell user about cipher in use
sql/mini_client.cc:
Synced SSL stuff with libmysql code
sql/mysqld.cc:
Preaparations to turn replication SSL on
Stuff to output SSL variables with SHOW STATUS command
sql/sql_show.cc:
Stuff to output SSL variables with SHOW STATUS command
sql/structs.h:
Stuff to output SSL variables with SHOW STATUS command
vio/viossl.c:
Major modifications
vio/viosslfactories.c:
SSL fixes
Docs/manual.texi:
Small changes because of user request.
heap/heapdef.h:
Portability fix
include/global.h:
Portability fix
myisam/myisamlog.c:
Portability fix
sql/mini_client.cc:
Fix for windows
sql/sql_repl.cc:
Fix for windows
sql/violite.c:
Fix for windows
client/thread_test.c:
Removed unused variables warnings
sql/mysqld.cc:
Fixed freeing null ptr warnings
vio/Makefile.am:
Make more test programs to compile
BitKeeper/etc/ignore:
Added libmysqld/ha_innobase.cc to the ignore list
libmysqld/Makefile.am:
Add ha_innobase.cc to libmysqld.
libmysqld/lib_sql.cc:
Hack to get shutdown working properly in libmysqld. Probably
this is not quite correct.
sql/mini_client.cc:
Remove name collision in embedded libmysqld.
Fix bug in isamlog
Add argument types to function declarations.
Docs/manual.texi:
Updated credits
client/mysql.cc:
Fixes for OS2
client/mysqladmin.c:
Fixes for OS2
client/mysqldump.c:
Fixes for OS2
client/mysqlimport.c:
Fixes for OS2
client/mysqltest.c:
Fixes for OS2
dbug/dbug.c:
Fixes for OS2.
Use new C calling convention.
dbug/factorial.c:
Fixes for OS2.
Use new C calling convention.
include/errmsg.h:
Fix for OS2
include/global.h:
Fixes for OS2.
include/my_pthread.h:
Fixes for OS2.
include/my_sys.h:
Fixes for OS2.
include/mysql_com.h:
Move defines to global.h
include/thr_alarm.h:
Fixes for OS2.
isam/isamchk.c:
Fixes for OS2.
Add arguments to function declarations.
isam/isamlog.c:
Fixes for OS2.
Fix bug in logfile handling.
isam/test1.c:
Add arguments to function decl
isam/test2.c:
Add arguments to function declarations.
isam/test_all.res:
Update result
libmysql/get_password.c:
Fixes for OS2.
libmysql/libmysql.c:
Fixes for OS2.
libmysql/net.c:
Fixes for OS2.
libmysql/violite.c:
Add arguments to function declarations.
merge/_locking.c:
Add argument types to function declarations.
merge/close.c:
Add argument types to function declarations.
merge/create.c:
Add argument types to function declarations.
merge/extra.c:
Add argument types to function declarations.
merge/open.c:
Add argument types to function declarations.
merge/panic.c:
Add argument types to function declarations.
merge/rsame.c:
Add argument types to function declarations.
merge/update.c:
Add argument types to function declarations.
myisam/ft_eval.c:
Portability fix
myisam/ft_search.c:
Portability fix
myisam/ft_test1.c:
Portability fix
myisam/ftdefs.h:
Portability fix
myisam/mi_check.c:
Portability fix
myisam/mi_test1.c:
Portability fix
myisam/mi_test2.c:
Portability fix
myisam/mi_test_all.sh:
Update to test for MACH variable
myisam/myisamlog.c:
Cleanup
myisam/myisampack.c:
Don't use variable 'new'
myisam/sort.c:
Portability fix
myisammrg/myrg_delete.c:
Add argument types to function declarations.
myisammrg/myrg_locking.c:
Add argument types to function declarations.
myisammrg/myrg_open.c:
Add argument types to function declarations.
myisammrg/myrg_panic.c:
Add argument types to function declarations.
mysql-test/t/backup.test:
Fix for OS2
mysql-test/t/show_check.test:
Fix for OS2
mysys/charset.c:
Dont use variable 'new'
mysys/default.c:
Fixes for OS2.
mysys/getopt.c:
Fixes for OS2.
mysys/getopt1.c:
Fixes for OS2.
mysys/list.c:
Don't use variable 'new'
mysys/mf_dirname.c:
Fixes for OS2.
mysys/mf_format.c:
Fixes for OS2.
mysys/mf_path.c:
Fixes for OS2.
mysys/mf_qsort.c:
Portability fix
mysys/mf_tempfile.c:
Fixes for OS2.
mysys/my_clock.c:
Fixes for OS2.
mysys/my_copy.c:
Fixes for OS2.
mysys/my_create.c:
Fixes for OS2.
mysys/my_getwd.c:
Fixes for OS2.
mysys/my_init.c:
Fixes for OS2.
mysys/my_lib.c:
Fixes for OS2.
mysys/my_lock.c:
Fixes for OS2.
mysys/my_malloc.c:
Portability fix
mysys/my_mkdir.c:
Fixes for OS2.
mysys/my_open.c:
Fixes for OS2.
mysys/my_pthread.c:
Fixes for OS2.
mysys/my_realloc.c:
Fixes for OS2.
mysys/my_redel.c:
Fixes for OS2.
mysys/my_static.c:
Fixes for OS2.
mysys/my_tempnam.c:
Fixes for OS2.
mysys/my_thr_init.c:
Fixes for OS2.
mysys/my_write.c:
Fixes for OS2.
mysys/test_charset.c:
Fixes for OS2.
mysys/thr_alarm.c:
Fixes for OS2.
mysys/tree.c:
Fixes for OS2.
sql/field.cc:
Fixes for OS2.
sql/field.h:
Fixes for OS2.
sql/gen_lex_hash.cc:
Fixes for OS2.
sql/hostname.cc:
Fixes for OS2.
sql/item_func.cc:
Fixes for OS2.
sql/item_strfunc.cc:
Fixes for OS2.
sql/log_event.cc:
Fixes for OS2.
sql/md5.c:
Fixes for OS2.
sql/mini_client.cc:
Fixes for OS2.
sql/mysql_priv.h:
Fixes for OS2.
sql/mysqld.cc:
Fixes for OS2.
sql/net_serv.cc:
Fixes for OS2.
sql/slave.cc:
Fixes for OS2.
sql/sql_base.cc:
Fixes for OS2.
sql/sql_db.cc:
Portability fix
sql/sql_insert.cc:
Fixes for OS2.
sql/sql_load.cc:
Fixes for OS2.
sql/sql_parse.cc:
Fixes for OS2.
sql/sql_table.cc:
Fixes for OS2.
sql/sql_udf.cc:
Fixes for OS2.
sql/violite.c:
Fixes for OS2.
strings/ctype-big5.c:
Fixes for OS2.
strings/ctype-gbk.c:
Fixes for OS2.
strings/ctype-sjis.c:
Fixes for OS2.
strings/ctype-tis620.c:
Fixes for OS2.
strings/ctype.c:
Fixes for OS2.
strings/strnlen.c:
Fixes for OS2.
Patches required by Gemini
Fix to properly detect if there is an active transaction in InnoDB
Fix to not lock thread structure when doing automatic rollback when thread ends
Allow -O lower_case_names=0 on UNIX
Docs/manual.texi:
Some updates from mailing list.
Changelog
client/mysqlbinlog.cc:
Removed variables declared in net.c
configure.in:
Added test for strtoll and fixed test for gethostname_r for AIX
mysql-test/t/innodb.test:
Added test of active transactions
sql/field.cc:
Patch required by Gemini
sql/field.h:
Patch required by Gemini
sql/filesort.cc:
Patch required by Gemini
sql/gen_lex_hash.cc:
Update to support new syntax
sql/ha_gemini.cc:
Patch required by Gemini
sql/ha_gemini.h:
Patch required by Gemini
sql/ha_innobase.cc:
Fix to properly detect if there is an active transaction in InnoDB
sql/handler.cc:
Fix to properly detect if there is an active transaction in InnoDB
sql/handler.h:
Fix to properly detect if there is an active transaction in InnoDB.
Fix for Gemini
sql/lex.h:
SHOW LOCKS
sql/mysqld.cc:
Fix to not lock thread structure when doing automatic rollback when thread ends.
sql/share/portuguese/errmsg.txt:
Update
sql/sql_class.cc:
Fix to not lock thread structure when doing automatic rollback when thread ends.
sql/sql_class.h:
Fix to properly detect if there is an active transaction in InnoDB
sql/sql_delete.cc:
Fix for Gemini
sql/sql_parse.cc:
Allow -O lower_case_names=0 on UNIX
sql/sql_select.cc:
Fix for Gemini
sql/sql_table.cc:
Allow -O lower_case_names=0 on UNIX
sql/sql_update.cc:
Fix for Gemini
sql/sql_yacc.yy:
For SHOW LOCKS
strings/strto.c:
Portability fix
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
BitKeeper/etc/ignore:
Added =6 to the ignore list
include/mysqld_error.h:
Error message for no-mixing of table types..
sql/mysql_priv.h:
New option
sql/mysqld.cc:
New option
sql/share/english/errmsg.txt:
Error message for no-mixing of table types..
sql/sql_base.cc:
Checking of the mixing of table types
sql/sql_parse.cc:
some fixes
Let myisamchk generate a new checksum for compressed data.
Don't unconditionally force filenames to lower case on windows.
Update mysqltest to match 4.0 source (to get some of the new bug fixes into 3.23)
Docs/manual.texi:
Link changes, and new comments about IA64 and about Sun workshop
client/mysqltest.c:
Updated this to match the 4.0 source
include/config-win.h:
Don't unconditionally force filenames to lower case on windows.
innobase/include/ut0ut.h:
Portability fix
myisam/mi_cache.c:
Fix problem where reported error number was -1
myisam/mi_check.c:
Let myisamchk generate a new checksum for compressed data.
myisam/mi_packrec.c:
Cleanup
myisam/myisamchk.c:
Report checksum for compressed tables
mysql-test/t/bdb.test:
Fix to match new mysqltest
mysql-test/t/err000001.test:
Fix to match new mysqltest
mysql-test/t/fulltext.test:
Fix to match new mysqltest
mysql-test/t/innodb.test:
Fix to match new mysqltest
mysql-test/t/overflow.test:
Fix to match new mysqltest
sql/ha_gemini.cc:
Fix false -> FALSE
sql/share/estonian/errmsg.txt:
Updated of translation
sql/share/swedish/errmsg.txt:
Updated of translation
sql/sql_parse.cc:
Don't unconditionally force filenames to lower case on windows.
sql/sql_table.cc:
Don't unconditionally force filenames to lower case on windows.
sql/sql_test.cc:
Write current directory when using 'mysqladmin debug'
strings/strto.c:
Portability fix
strings/strtoll.c:
Portability fix
strings/strtoul.c:
Portability fix
strings/strtoull.c:
Portability fix
do val_int() on their arguments before starting the computation.
Similar fixes are need for +-* and probably several other but I want
to make sure Monty is fine with my fix approach before changing a lot
of code.
Amazingly,
this bug is not as critical as you would expect since very few functions do val_int()
on their arguments ( from_unixtime(), sec_to_time()), and those not
very frequently perform a computation on their floating point arguments.
which is probably why no one has yet reported this bug. Another
possibility is that the result is usually wrong by no more than 5%,
which makes it hard to catch it. I found it when trying to compute mile
splits for 30:47 10K - it told me 5:07, and I knew it was wrong because
5:00 mile gives you 31:08. However, if I had not run as many 10K races,
I would have easily believed that 30:47 10K is a 5:07 mile pace and
would not have noticed the bug.
mysql-test/r/func_time.result:
another test for sec_to_time that exposes a long outstanding bug
mysql-test/t/func_time.test:
another test for sec_to_time that exposes a long outstanding bug
sql/item_func.cc:
fixed bug in Item_func_div::val_int()
sql/mini_client.cc:
alarm around mc_mysql_connect()
sql/mysqld.cc:
move end_slave() to the earlier part of shutdown
sql/sql_repl.cc:
retry thr_alarm_kill() in case slave thread missed the signal in SLAVE STOP
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
srv0start.c Allow drive name followed by a ':' in a data file path
ha_innobase.cc Allow drive name followed by a ':' in a data file path
sql/ha_innobase.cc:
Allow drive name followed by a ':' in a data file path
innobase/srv/srv0start.c:
Allow drive name followed by a ':' in a data file path
innobase/row/row0sel.c:
Fix a memory freeing bug when a row which contains an externally stored long field in the middle of the row is fetched in a SELECT
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
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.0
BitKeeper/etc/ignore:
auto-union
sql/mysql_priv.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
into mysql.sashanet.com:/home/sasha/src/bk/mysql
BitKeeper/etc/ignore:
auto-union
BitKeeper/etc/logging_ok:
auto-union
client/mysqlbinlog.cc:
Auto merged
BitKeeper/etc/ignore:
added */*_pure_*warnings
BUILD/compile-solaris-sparc:
Optimized build for ultrasparc
sql/mysqld.cc:
Made SIGTERM safer for Solaris as it sometimes delivered a not catched
signal during shutdown
There is now a mysql_server_init() function which needs to be
called at the beginning of the program (and _end() for the end
of the program). This routine handles argument parsing for the
embedded server.
Use the embedded version of mysql_load_file() (ignore the LOCAL
argument, since the client and server are the same program).
There are now mysql_thread_init/end() functions for the client
to use in a multi-threaded app. They are just wrappers for
my_thread_init/end().
BitKeeper/deleted/.del-README~434e9cae5fa9a4c4:
Delete: libmysqld/README
libmysqld/lib_load.cc:
minor cleanup
include/mysql.h:
add mysql_server/thread_init/end()
libmysql/libmysql.c:
add mysql_server/thread_init/end()
libmysqld/lib_sql.cc:
add mysql_server/thread_init/end()
libmysqld/libmysqld.c:
add mysql_server/thread_init/end()
sql/mysqld.cc:
allow get_options() to be called more than once
libmysqld/Makefile.am:
use lib_load.cc instead of sql_load.cc
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
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..