- 21 May, 2003 1 commit
-
-
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
-
- 19 May, 2003 6 commits
-
-
unknown authored
BitKeeper/etc/ignore: auto-union BitKeeper/etc/logging_ok: auto-union BUILD/SETUP.sh: Auto merged BitKeeper/deleted/.del-libmysql.def~29fc6d70335f1c4c: Auto merged Makefile.am: Auto merged acinclude.m4: Auto merged BitKeeper/triggers/post-commit: Auto merged Build-tools/Do-compile: Auto merged VC++Files/libmysql/libmysql.dsp: Auto merged VC++Files/mysql.dsw: Auto merged client/mysql.cc: Auto merged client/mysqlbinlog.cc: Auto merged client/mysqldump.c: Auto merged include/config-win.h: Auto merged include/my_base.h: Auto merged include/my_global.h: Auto merged include/my_pthread.h: Auto merged include/my_sys.h: Auto merged include/violite.h: Auto merged innobase/buf/buf0flu.c: Auto merged innobase/buf/buf0lru.c: Auto merged innobase/include/buf0buf.h: Auto merged innobase/include/buf0lru.h: Auto merged innobase/include/row0mysql.h: Auto merged innobase/include/srv0srv.h: Auto merged innobase/lock/lock0lock.c: Auto merged innobase/log/log0log.c: Auto merged innobase/log/log0recv.c: Auto merged innobase/os/os0file.c: Auto merged innobase/row/row0mysql.c: Auto merged innobase/row/row0sel.c: Auto merged innobase/srv/srv0srv.c: Auto merged innobase/srv/srv0start.c: Auto merged innobase/trx/trx0sys.c: Auto merged innobase/trx/trx0trx.c: Auto merged innobase/ut/ut0ut.c: Auto merged myisam/ft_boolean_search.c: Auto merged myisam/mi_check.c: Auto merged myisam/mi_key.c: Auto merged myisam/mi_open.c: Auto merged myisam/mi_range.c: Auto merged myisam/mi_search.c: Auto merged myisam/sort.c: Auto merged mysql-test/r/delete.result: Auto merged mysql-test/r/fulltext.result: Auto merged mysql-test/r/innodb_handler.result: Auto merged mysql-test/r/join.result: Auto merged mysql-test/r/join_outer.result: Auto merged mysql-test/r/key.result: Auto merged mysql-test/r/multi_update.result: Auto merged mysql-test/r/myisam.result: Auto merged mysql-test/r/query_cache.result: Auto merged mysql-test/r/select.result: Auto merged mysql-test/r/variables.result: Auto merged mysql-test/t/alter_table.test: Auto merged mysql-test/t/ctype_latin1_de.test: Auto merged mysql-test/t/delete.test: Auto merged mysql-test/t/fulltext.test: Auto merged mysql-test/t/innodb_handler.test: Auto merged mysql-test/t/join.test: Auto merged mysql-test/t/join_outer.test: Auto merged mysql-test/t/key.test: Auto merged mysql-test/t/multi_update.test: Auto merged mysql-test/t/myisam.test: Auto merged mysql-test/t/query_cache.test: Auto merged mysql-test/t/repair.test: Auto merged mysql-test/t/select_safe.test: Auto merged mysql-test/t/type_decimal.test: Auto merged mysql-test/t/variables.test: Auto merged mysys/default.c: Auto merged mysys/my_pthread.c: Auto merged scripts/mysql_fix_privilege_tables.sh: Auto merged scripts/mysqld_safe.sh: Auto merged sql/ha_heap.h: Auto merged sql/ha_innodb.h: Auto merged sql/ha_myisam.cc: Auto merged sql/handler.cc: Auto merged sql/handler.h: Auto merged sql/init.cc: Auto merged sql/item.cc: Auto merged sql/item_create.cc: Auto merged sql/item_strfunc.cc: Auto merged sql/item_sum.cc: Auto merged sql/mini_client.cc: Auto merged sql/net_serv.cc: Auto merged sql/opt_range.cc: Auto merged sql/records.cc: Auto merged sql/slave.cc: Auto merged sql/sql_acl.h: Auto merged sql/sql_analyse.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_list.h: Auto merged sql/sql_load.cc: Auto merged sql/share/czech/errmsg.txt: Auto merged sql/share/danish/errmsg.txt: Auto merged sql/share/dutch/errmsg.txt: Auto merged sql/share/english/errmsg.txt: Auto merged sql/share/estonian/errmsg.txt: Auto merged sql/share/french/errmsg.txt: Auto merged sql/share/greek/errmsg.txt: Auto merged sql/share/hungarian/errmsg.txt: Auto merged sql/share/italian/errmsg.txt: Auto merged sql/share/japanese/errmsg.txt: Auto merged sql/share/korean/errmsg.txt: Auto merged sql/share/norwegian-ny/errmsg.txt: Auto merged sql/share/norwegian/errmsg.txt: Auto merged sql/share/portuguese/errmsg.txt: Auto merged sql/share/romanian/errmsg.txt: Auto merged sql/share/russian/errmsg.txt: Auto merged sql/share/slovak/errmsg.txt: Auto merged sql/share/spanish/errmsg.txt: Auto merged sql/share/swedish/errmsg.txt: Auto merged sql/share/ukrainian/errmsg.txt: Auto merged sql/unireg.h: Auto merged sql-bench/crash-me.sh: Auto merged sql-bench/test-transactions.sh: Auto merged strings/ctype-tis620.c: Auto merged tests/grant.res: Auto merged sql/log_event.cc: Merge with 4.0.13 Cleaned up comment syntax
-
unknown authored
into narttu.mysql.fi:/my/mysql-4.0 sql/mysql_priv.h: Auto merged
-
unknown authored
myisam/myisamchk.c: Removed warning from fulltext when repairing many tables with fulltext index sql/init.cc: Remove not used variables sql/mysql_priv.h: Remove not used variables sql/mysqld.cc: Removed not used variables Added option --read-only Change opt_do_pstack and master_ssl to get them to work with my_getopt sql/set_var.cc: Option --read-only sql/sql_parse.cc: Option --read-only
-
unknown authored
-
unknown authored
into narttu.mysql.fi:/my/mysql-4.1 sql/mysqld.cc: Auto merged
-
unknown authored
sql/mysqld.cc: Simple cleanup
-
- 18 May, 2003 1 commit
-
-
unknown authored
Better instructions for the user if adding of new ibdata files fails innobase/srv/srv0start.c: Better instructions for the user if adding of new ibdata files fails
-
- 17 May, 2003 1 commit
-
-
unknown authored
When calculating the buf pool dirty pages ratio, add also free pages to the LRU list length: no need to active flushing if there are lots of free pages in the buffer pool innobase/buf/buf0buf.c: When calculating the buf pool dirty pages ratio, add also free pages to the LRU list length: no need to active flushing if there are lots of free pages in the buffer pool
-
- 16 May, 2003 4 commits
-
-
unknown authored
-
unknown authored
Search first only 10 % of the LRU list for a replaceable block before doing an LRU flush; enable again flushing of close pages also in a flush list (checkpointing) flush trx0trx.c: Add forgotten return value (it was not used anywhere, fortunately) ha_innodb.h, mysql_priv.h: Move declaration of srv_buf_pool_max_modified_pct to ha_innodb.h and enclose it to denote it is a C variable, not C++ sql/mysql_priv.h: Move declaration of srv_buf_pool_max_modified_pct to ha_innodb.h and enclose it to denote it is a C variable, not C++ sql/ha_innodb.h: Move declaration of srv_buf_pool_max_modified_pct to ha_innodb.h and enclose it to denote it is a C variable, not C++ innobase/trx/trx0trx.c: Add forgotten return value (it was not used anywhere, fortunately) innobase/include/buf0lru.h: Search first only 10 % of the LRU list for a replaceable block before doing an LRU flush; enable again flushing of close pages also in a flush list (checkpointing) flush innobase/buf/buf0buf.c: Search first only 10 % of the LRU list for a replaceable block before doing an LRU flush; enable again flushing of close pages also in a flush list (checkpointing) flush innobase/buf/buf0flu.c: Search first only 10 % of the LRU list for a replaceable block before doing an LRU flush; enable again flushing of close pages also in a flush list (checkpointing) flush innobase/buf/buf0lru.c: Search first only 10 % of the LRU list for a replaceable block before doing an LRU flush; enable again flushing of close pages also in a flush list (checkpointing) flush
-
unknown authored
-
unknown authored
- QNX 6.2.1 actually defines HAVE_RINT - fixed rint(A) #define as it was causing compile errors on QNX include/my_global.h: - QNX 6.2.1 actually defines HAVE_RINT - fixed rint(A) #define as it was causing compile errors on QNX BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
-
- 15 May, 2003 7 commits
-
-
unknown authored
into the binlog), SLAVE START -> START SLAVE, error test changes. client/mysqladmin.c: Now that FLUSH TABLES and some other FLUSH go into the binlog, the same commands issued from mysqladmin should also go into the binlog. How could I explain to a user that "mysql -e 'flush tables'" is not exactly the same as "mysqladmin flush-tables" ?? So I replace mysql_refresh() by mysql_query(). Also SLAVE START -> START SLAVE to make this work with 4.1 (it won't work with 3.23 anymore). Also the code tested for mysql_refresh() < 0 for errors, but this cannot happen : - mysql_refresh() calls simple_command() - in 4.1 the return type of simple_command() is my_bool, and I have checked the 4.1 libmysql code and it returns 0 or 1, not negative values. - note that in 4.0 libmysql, simple_command() returns int which can be < 0, but we don't care here as we link the 4.1 mysqladmin with the 4.1 libmysql. Btw, some other parts of the code already checked for mysql_refresh() != 0, not < 0. So now it's homogenous : we always test for != 0 instead of < 0.
-
unknown authored
into mysql.com:/home/mysql_src/mysql-4.1
-
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;
-
unknown authored
BitKeeper/etc/ignore: added insert_test tests/thread_test.c: Remove compiler warnings
-
unknown authored
into narttu.mysql.fi:/my/mysql-4.1
-
unknown authored
-
unknown authored
./configure --with-charset=big5 didn't work configure.in: ./configure --with-charset=big5 didn't work
-
- 14 May, 2003 13 commits
-
-
unknown authored
into narttu.mysql.fi:/my/mysql-4.1
-
unknown authored
mysql-test/r/create.result: Update for new error messages mysql-test/r/type_blob.result: Update for new error messages strings/my_strtoll10-x86.s: Faster str->longlong strings/my_strtoll10.c: Updated comments
-
unknown authored
-
unknown authored
acinclude.m4: Auto merged configure.in: Merge with 3.23 innobase/os/os0sync.c: No change sql/sql_show.cc: No change
-
unknown authored
into narttu.mysql.fi:/my/mysql-4.0
-
unknown authored
mysql-test/mysql-test-run.sh: Ensure that tests are sorted mysql-test/r/type_decimal.result: Test for bug with decimal() mysql-test/t/type_decimal.test: Test for bug with decimal() sql/sql_parse.cc: Fixed bug in CREATE ... DECIMAL(-1,1)
-
unknown authored
-
unknown authored
into narttu.mysql.fi:/my/mysql-3.23
-
unknown authored
Check return value of pthread_cond_... innobase/os/os0sync.c: Check return value of pthread_cond_...
-
unknown authored
Check that pthread_mutex_init and pthread_mutex_destroy return 0 innobase/os/os0sync.c: Check that pthread_mutex_init and pthread_mutex_destroy return 0
-
unknown authored
Backport from 4.0: We had forgotten to call pthread_mutex_destroy when we free an OS mutex in Unix innobase/os/os0sync.c: Backport from 4.0: We had forgotten to call pthread_mutex_destroy when we free an OS mutex in Unix
-
unknown authored
We had forgotten to call pthread_mutex_destroy when we free an OS mutex in Unix innobase/os/os0sync.c: We had forgotten to call pthread_mutex_destroy when we free an OS mutex in Unix
-
unknown authored
sql/sql_show.cc: SHOW TABLE STATUS displayed wrong Row_format for myisampack'ed tables.
-
- 13 May, 2003 7 commits
-
-
unknown authored
-
unknown authored
into narttu.mysql.fi:/my/mysql-4.0 sql/sql_parse.cc: Auto merged
-
unknown authored
Fix for USE_FRM and crashed index file configure.in: Fix for MacOSX and symlinks myisam/mi_open.c: Give better error message in case of of crashed index file mysql-test/r/repair.result: new test case mysql-test/r/update.result: new test case mysql-test/t/repair.test: Added test with crashed MyISAM index header mysql-test/t/update.test: Added test case from bugs system sql/handler.cc: Indentation changes sql/sql_table.cc: Fix for USE_FRM and crashed index file
-
unknown authored
into mysql.com:/home/mysql_src/mysql-4.0
-
unknown authored
SHOW SLAVE STATUS and SHOW MASTER STATUS, because this is what the manual states. We still accept SUPER.
-
unknown authored
new test for this. sql/item_create.cc: Proper replication of CONNECTION_ID() (bug 177). This is just for replication; mysqlbinlog|mysql still does not work with CONNECTION_ID(), it will wait for row-level binlogging. sql/item_strfunc.cc: Proper replication of the new 4.1 PASSWORD() (bug 344)
-
unknown authored
into narttu.mysql.fi:/my/mysql-4.0 include/my_global.h: Auto merged
-