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..
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
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
Docs/manual.texi:
New option, --sql-mode=option[,option[,option]]
sql/ha_myisam.cc:
Fixed a segmentation fault -bug with myisam-recover which
occurred if option specified was not a legal one.
sql/mysql_priv.h:
New option --sql-mode
sql/mysqld.cc:
New option --sql-mode
sql/sql_class.cc:
New option --sql-mode
sql/sql_class.h:
New option --sql-mode
sql/sql_lex.cc:
option --sql-mode, ansi_quotes and ignore_space
sql/sql_parse.cc:
option --sql-mode, ignore_space
sql/sql_select.cc:
option --sql-mode, mode only_full_group_by
sql/sql_yacc.yy:
option --sql-mode, modes pipes_as_concat and real_as_float
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
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
into x153.internalnet:/home/tonu/mysql-x
BitKeeper/etc/logging_ok:
auto-union
sql/mysqld.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
libmysql/libmysql.c:
Auto merged
Makefile.am:
Moved bio dir into server_dirs in acinclude.in
client/Makefile.am:
We need OpenSSL includes here
include/global.h:
Workaround for OPENSSL librar bug with defining crypt()
include/violite.h:
small fixes
libmysql/Makefile.am:
We need OpenSSL includes here
libmysql/Makefile.shared:
Yes, we need to compile more programs whtn --with-openssl is used
libmysql/libmysql.c:
Make it work! (openssl)
libmysql_r/Makefile.am:
We need OpenSSL includes here
sql/mysqld.cc:
Memory was not freed before
sql/sql_parse.cc:
fix
vio/Makefile.am:
Added testprogram compilation and openssl libraries linking
vio/viossl.c:
Cleanups, fixes, etc...
vio/viosslfactories.c:
Copyright was missing. Fixed renamed macros for newer OpenSSL
vio/viotest-ssl.c:
Made testprogram work again
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
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
--low-priority-updates is used and the file has holes.
Docs/manual.texi:
Changelog
sql/sql_insert.cc:
Fixed that sleeptime is 0 for new insert delayed threads.
fixed race condition in binary log auto-rotation
get rid of extention in binary log to avoid non-rotatable logs
client/mysqltest.c:
fixed uninitialized use of variable bug
sql/log.cc:
fixed race condition on binary log auto-rotate
sql/mysqld.cc:
get rid of extention on binary log
sql/sql_class.h:
argument to new file (inside_mutex)
remove extension from binary log if the user specifies one to avoid
non-rotatable logs
fixed possible use of unitialized IO_CACHE in debug mode
sql/log.cc:
fixed race condition in automatic binlog rotation
sql/mysqld.cc:
remove extension from binary log if the user specifies one to avoid
non-rotatable logs
sql/slave.cc:
fixed race condition with slave thread during server shutdown
sql/sql_class.h:
new_file() needed an argument to know if it was called withing the
log mutex or not
sql/sql_repl.cc:
fixed possible use of unitialized IO_CACHE in debug mode
BitKeeper/etc/ignore:
auto-union
BitKeeper/etc/logging_ok:
auto-union
Docs/manual.texi:
Auto merged
sql/mysqld.cc:
Auto merged
sql/share/spanish/errmsg.txt:
merged and translated the new 4.0 errors - had to type them in
anyway so figured I'd do it in Spanish - Jorge/Miguel - can you do QA
on my translation?
include/my_base.h:
Auto merged
include/myisam.h:
Auto merged
myisam/mi_open.c:
Auto merged
myisam/myisamdef.h:
Auto merged
myisam/myisampack.c:
Auto merged
mysql-test/t/alter_table.test:
Auto merged
mysys/tree.c:
Auto merged
sql/ha_myisam.cc:
Auto merged
sql/item_sum.cc:
Auto merged
sql/mysqld.cc:
Auto merged
sql/sql_table.cc:
Auto merged
bulk inserts optimization: caching keys in binary tree
include/my_base.h:
bulk inserts optimization: caching keys in binary tree
include/my_tree.h:
memory-limited tree
include/myisam.h:
bulk inserts optimization: caching keys in binary tree
isam/isamlog.c:
memory-limited tree
isam/pack_isam.c:
memory-limited tree
myisam/ft_boolean_search.c:
memory-limited tree
myisam/ft_nlq_search.c:
memory-limited tree
myisam/ft_parser.c:
memory-limited tree
myisam/ft_stopwords.c:
memory-limited tree
myisam/mi_extra.c:
bulk inserts optimization: caching keys in binary tree
myisam/mi_open.c:
bulk inserts optimization: caching keys in binary tree
myisam/mi_static.c:
bulk inserts optimization: caching keys in binary tree
myisam/mi_write.c:
bulk inserts optimization: caching keys in binary tree
myisam/myisamdef.h:
bulk inserts optimization: caching keys in binary tree
myisam/myisamlog.c:
memory-limited tree
myisam/myisampack.c:
memory-limited tree
mysql-test/mysql-test-run.sh:
memory-limited tree
mysql-test/t/alter_table.test:
make it faster
mysys/tree.c:
memory-limited tree
sql/ha_myisam.cc:
bulk inserts optimization: caching keys in binary tree
sql/item_sum.cc:
memory-limited tree
sql/mysqld.cc:
bulk inserts optimization: caching keys in binary tree
sql/sql_analyse.h:
memory-limited tree
sql/uniques.cc:
memory-limited tree
added debugging options to master to behave sporadically, and a
test case to make sure the slave can deal with it
BitKeeper/triggers/post-commit:
fixed message
sql/mysqld.cc:
added debugging options to force the master to occasionally break
replication
sql/slave.cc:
cosmetic change to improve readability
sql/sql_repl.cc:
support for --sporadic-binlog-dump-fail and --max-binlog-dump-events
sql/sql_repl.h:
support for --sporadic-binlog-dump-fail and --max-binlog-dump-events
Changed mysql-test to use --language
Cleaned up parameters to filesort()
configure.in:
Fixed typo
mysql-test/install_test_db.sh:
Changed test case to use --language
mysql-test/mysql-test-run.sh:
Changed test case to use --language
Fixed that test names are not 'cut'-ed.
mysql-test/r/select_found.result:
Fixed test case to make it repeatable
mysql-test/t/insert.test:
Added test of unique key handling
mysql-test/t/order_fill_sortbuf.test:
Cleaned up test
mysql-test/t/select_found.test:
Fixed test case to make it repeatable
sql/filesort.cc:
Fixed bug when sorting big files (introduced with multi-table-delete)
cleaned up parameters.
sql/mysql_priv.h:
Cleaned up parameters to filesort()
sql/mysqld.cc:
Fixed typo on enum
sql/sql_delete.cc:
Cleanup
sql/sql_select.cc:
Cleanup
sql/sql_table.cc:
Cleanup
sql/sql_test.cc:
Cleanup
sql/sql_update.cc:
Cleanup
Docs/manual.texi:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_base.cc:
Auto merged
mysql-test/t/bdb.test:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_show.cc:
Auto merged
Docs/manual.texi:
Changelog
mysql-test/r/show_check.result:
Added test for SHOW CREATE
mysql-test/t/show_check.test:
Added test for SHOW CREATE
sql/mysqld.cc:
Fixed messages
mysqld.cc Had to revert name back to innodb_unix_file_flush_method because one line in mysqld.cc was not changed in 3.23.39
sql/mysqld.cc:
Had to revert name back to innodb_unix_file_flush_method because one line in mysqld.cc was not changed in 3.23.39
Docs/manual.texi:
Had to revert name back to innodb_unix_file_flush_method because one line in mysqld.cc was not changed in 3.23.39
Docs/manual.texi:
Changelog
mysql-test/mysql-test-run.sh:
Added --skip-stack when using gdb
sql/mysqld.cc:
Changed reference to bugs@lists.mysql.com to manual reference.
BitKeeper/etc/ignore:
auto-union
BitKeeper/etc/logging_ok:
auto-union
sql-bench/server-cfg.sh:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_insert.cc:
Auto merged
sql/sql_table.cc:
Auto merged
Cleaned up error messages.
mysql-test/mysql-test-run.sh:
Added option --mysqld to send arguments to mysqld.
sql/ha_innobase.cc:
Shortended messages a bit to correspond to the rest of MySQL.
sql/mysqld.cc:
Changed innodb_unix_file_flush_method -> innodb_flush_method
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Fixed option for symlinks
Docs/manual.texi:
Updated symlink handling.
sql-bench/Comments/postgres.benchmark:
Updated benchmark text
sql-bench/Makefile.am:
Added graph-compare-results
sql-bench/compare-results.sh:
Don't reset the cmp option.
sql-bench/crash-me.sh:
Updated transaction testing.
sql-bench/limits/mysql-3.23.cfg:
Updated benchmark run
sql-bench/limits/mysql.cfg:
Updated benchmark run
sql-bench/limits/pg.cfg:
Updated benchmark run
sql-bench/server-cfg.sh:
Don't do vacuum too often.
sql-bench/test-insert.sh:
Don't do vacuum too often.
sql/mysqld.cc:
Changed skip-symlinks to skip-symlink
Fixed error number handling bug in mysqltest.
Fixed that error number from insert delayed is reported correctly.
merged new vio code with old violite code.
client/mysqltest.c:
Fixed bug that error numbers wasn't tested properly.
myisam/mi_check.c:
Moved initialization of variables to avoid a bug.
myisam/mi_create.c:
Fixed bug in symlink handling.
myisam/mi_test_all.sh:
Fixed script so that it works.
myisam/myisamchk.c:
Removed --no-symlinks option
mysql-test/mysql-test-run.sh:
Cleaned up error message
mysql-test/t/bdb.test:
Fixed wrong error numbers
mysql-test/t/err000001.test:
Fixed wrong error numbers
mysql-test/t/innodb.test:
Fixed wrong error numbers
mysql-test/t/overflow.test:
Fixed wrong error numbers
mysql-test/t/status.test:
Ensure that we are using myisam tables for the lock test.
mysys/my_delete.c:
cleanup
mysys/my_symlink2.c:
Added option to not overwrite files when using symlinks.
sql/Makefile.am:
Moved vio to avoid link error.
sql/ha_myisam.cc:
Fixed symlink handling.
sql/mysqld.cc:
Changed --skip-symlinks to --skip-symlink
sql/sql_insert.cc:
Fixed that error number from insert delayed is reported correctly
sql/sql_parse.cc:
Fixed symlink handling.
sql/sql_table.cc:
Fixed symlink handling.
vio/vio.c:
cleanup
vio/viosocket.c:
c
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
BitKeeper/etc/logging_ok:
auto-union
Docs/manual.texi:
Auto merged
mysql-test/r/innodb.result:
Auto merged
mysys/tree.c:
Auto merged
sql-bench/bench-init.pl.sh:
Auto merged
sql-bench/server-cfg.sh:
Auto merged
sql/mysqld.cc:
Auto merged
cleanup of register_slave_on_master()
mysql-test/r/rpl000002.result:
new output of show slave hosts
sql/mysqld.cc:
user and password are shown in show slave hosts only if show-slave-auth-info option is on
sql/slave.cc:
cleanup of register_slave_on_master()
sql/sql_repl.cc:
do not show user/pass for slave unless running with show-slave-auth-info
sql/sql_repl.h:
show-slave-auth-info
BitKeeper/etc/logging_ok:
auto-union
include/my_sys.h:
Auto merged
myisam/myisamchk.c:
Auto merged
sql/share/portuguese/errmsg.txt:
Auto merged
sql/sql_table.cc:
Auto merged
Don't force repair of tables that are not closed properly.
Docs/manual.texi:
Added information about symbolic links.
include/my_sys.h:
symbolic link support
myisam/mi_check.c:
Don't force repair of tables that are not closed properly.
myisam/myisamchk.c:
Version number change.
mysys/my_static.c:
symbolic link support
mysys/my_symlink2.c:
Disabling of symbolic link support
sql/mysqld.cc:
Disabling of symbolic link support
BitKeeper/triggers/post-commit:
Auto merged
acinclude.m4:
Auto merged
configure.in:
Auto merged
Docs/manual.texi:
Auto merged
include/my_sys.h:
Auto merged
mysql-test/mysql-test-run.sh:
Auto merged
sql/mysqld.cc:
Auto merged
sql/sql_base.cc:
Auto merged
sql/share/estonian/errmsg.txt:
Auto merged
sql/sql_repl.cc:
Auto merged
sql/sql_select.h:
Auto merged
sql/sql_table.cc:
Auto merged
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
info on how to connect to the slave for the clients that connect to
the master, but would like to know where the slaves are
include/mysql_com.h:
register slaves
mysql-test/mysql-test-run.sh:
parameters to test slave registration
mysql-test/r/rpl000002.result:
test of slave registration
mysql-test/t/rpl000002.test:
test slave registration
sql/mysql_priv.h:
slave registration
sql/mysqld.cc:
slave registration
sql/slave.cc:
slave registration
sql/slave.h:
slave registration
sql/sql_lex.h:
slave registration
sql/sql_parse.cc:
slave registration
sql/sql_repl.cc:
slave registration
sql/sql_repl.h:
slave registration
sql/sql_yacc.yy:
slave registration