- 27 Oct, 2005 1 commit
-
-
unknown authored
mysql-test/r/information_schema.result: error message changed mysql-test/r/sp.result: error message changed mysql-test/r/sql_mode.result: fixed test suite mysql-test/r/view.result: error message changed mysql-test/r/view_grant.result: test of underlying view tables check mysql-test/t/sql_mode.test: fixed test suite mysql-test/t/view_grant.test: test of underlying view tables check sql/item.cc: check of underlying tables privilege added sql/item.h: Name the resolution context points to the security context of view (if item belong to the view) sql/item_func.cc: a view error hiding for execution of prepared function belonged to a view fixed checking privileges if stored functions belonds to some view sql/mysql_priv.h: refult of derived table processing functions changed to bool Security_context added as an argument to find_field_in_table() sql/share/errmsg.txt: error message fixed sql/sql_acl.cc: Storing requested privileges of tables added View underlying tables privilege check added sql/sql_base.cc: View underlying tables privilege check added sql/sql_cache.cc: Code cleunup: we should not register underlying tables of view second time sql/sql_delete.cc: ancestor -> merge_underlying_list renaming sql/sql_derived.cc: refult of derived table processing functions changed to bool do not give SELECT_ACL for TEMPTABLE views sql/sql_lex.h: The comment added sql/sql_parse.cc: registration of requested privileges added sql/sql_prepare.cc: registration of requested privileges added sql/sql_update.cc: manipulation of requested privileges for underlying tables made the same as for table which we are updating sql/sql_view.cc: underlying tables of view security check support added sql/table.cc: renaming and fixing view preparation methods, methods for checking underlyoing tables security context added sql/table.h: storege for reuested privileges added
-
- 19 Oct, 2005 5 commits
-
-
unknown authored
without database" mysql-test/r/sp-error.result: Test results fixed (a test case for Bug#13587) mysql-test/t/sp-error.test: A test case for Bug#13587 "Server crash when SP is created without database" sql/sql_parse.cc: - move initialization of lex->sphead->m_db before it's used. - cleanup; comment why right now can't be cleaned any more
-
unknown authored
into mysql.com:/home/psergey/mysql-5.0-bug12915-merge
-
unknown authored
-
unknown authored
into krsna.patg.net:/home/patg/mysql-build/mysql-5.0.test2
-
unknown authored
Changed option text in mysqldump.c mysqldump.c: Changed text to read "+00:00" as opposed to "UTC" (per what the code does) client/mysqldump.c: Changed text to read "+00:00" as opposed to "UTC" (per what the code does)
-
- 18 Oct, 2005 21 commits
-
-
unknown authored
into krsna.patg.net:/home/patg/mysql-build/mysql-5.0.test1
-
unknown authored
into krsna.patg.net:/home/patg/mysql-build/mysql-5.0.test1
-
unknown authored
sql/ha_federated.cc: Re-application of patch from earlier, adding debug to create_where_from_key as well as small bug fix for setting of records and deleted in delete_all_rows to after db call.
-
unknown authored
into zim.(none):/home/brian/mysql/mysql-5.0
-
unknown authored
mysql-test/r/archive.result: Result file for adding check table support mysql-test/t/archive.test: Simple test for check table. The additional select is added just to make sure the file is not destroyed. sql/ha_archive.cc: Updates for adding CHECK table support. is_crashed() now returns the state of the file. sql/ha_archive.h: Updates for adding CHECK table support
-
unknown authored
mysql-test/r/update.result: Auto merged mysql-test/t/update.test: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/records.cc: Auto merged sql/repl_failsafe.cc: Auto merged sql/slave.cc: Auto merged sql/structs.h: Auto merged
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
-
unknown authored
into mysql.com:/home/cps/mysql/trees/mysql-5.0-build
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0
-
unknown authored
into regul.home.lan:/mnt/md/bk/mysql-5.0
-
unknown authored
-
unknown authored
use USE_PRAGMA_INTERFACE before include of my_global.h, where it is defined server-tools/instance-manager/command.h: don't use USE_PRAGMA_INTERFACE before my_global.h, where it is defined server-tools/instance-manager/listener.h: don't use USE_PRAGMA_INTERFACE before my_global.h, where it is defined server-tools/instance-manager/mysql_connection.h: don't use USE_PRAGMA_INTERFACE before my_global.h, where it is defined server-tools/instance-manager/options.h: don't use USE_PRAGMA_INTERFACE before my_global.h, where it is defined server-tools/instance-manager/thread_registry.cc: fix register server-tools/instance-manager/thread_registry.h: don't use USE_PRAGMA_INTERFACE before my_global.h, where it is defined server-tools/instance-manager/user_map.h: don't use USE_PRAGMA_INTERFACE before my_global.h, where it is defined
-
unknown authored
into sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0
-
unknown authored
mysql-test/r/skip_grants.result: creation view with DEFINER clause if --skip-grant-tables mysql-test/t/skip_grants.test: creation view with DEFINER clause if --skip-grant-tables sql/sql_acl.cc: check of ACL initialization in is_acl_user()
-
unknown authored
Added initial support of stress testing. Now it is possible to start stress test from mysql-test-run script. For details see README.stress
-
unknown authored
into mysql.com:/home/emurphy/src/bk-clean/mysql-5.0
-
unknown authored
-
unknown authored
sql/sql_show.cc: 1. Use Field_longlong::store(longlong nr, bool unsigned_val) for ulonglong values instead of Field_longlong::store(double nr). 2. CHARACTER_OCTET_LENGTH and CHARACTER_MAXIMUM_LENGTH fields filing order fixed (8 <-> 9).
-
unknown authored
into mysql.com:/home/psergey/mysql-4.1-bug12915-r2 sql/sql_update.cc: Auto merged
-
unknown authored
-
unknown authored
'information_schema' is excluded from list of databases for mysqlcheck command mysql-test/mysql-test-run.pl: dded support for 'mysqlcheck' mysql-test/mysql-test-run.sh: dded support for 'mysqlcheck'
-
- 17 Oct, 2005 13 commits
-
-
unknown authored
-
unknown authored
into mysql.com:/home/emurphy/src/bk-clean/mysql-5.0
-
unknown authored
into mysql.com:/home/emurphy/src/bk-clean/mysql-5.0
-
unknown authored
into krsna.patg.net:/home/patg/mysql-build/mysql-5.0.test1
-
unknown authored
into krsna.patg.net:/home/patg/mysql-build/mysql-5.0.test1
-
unknown authored
client/mysqldump.c: BUG# 13052 Changed text in option to TIMESTAMP
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-5.0-bg12739 sql/mysql_priv.h: Auto merged sql/sql_base.cc: Auto merged sql/sql_table.cc: Auto merged
-
unknown authored
droping trigger on InnoDB table". Deadlock occured in cases when we were trying to create two triggers for the same InnoDB table concurrently and both threads were able to reach close_cached_table() simultaneously. Bugfix implements new approach to table locking and table cache invalidation during creation/dropping of trigger. No testcase is supplied since bug was repeatable only under high concurrency. sql/mysql_priv.h: reopen_name_locked_table(): Changed function signature to make it more robust against erroneous usage. sql/sql_base.cc: reopen_name_locked_table(): Changed function signature to make it more robust against erroneous usage. Obtaining LOCK_open lock is now resposibility of caller. When searching for the table to open we should not prefer connection's current database over database which was explicitly specified in TABLE_LIST::db member (even if database is not explicitly specified for table in original query TABLE_LIST::db will be set properly at parsing stage). Fixed behavior of function in cases when error occurs during opening of table. sql/sql_table.cc: prepare_for_restore()/prepare_for_repair(): We should not prefer connection's current database over database which was specified in TABLE_LIST::db member (even if database is not explicitly specified for table in original query TABLE_LIST::db will be set properly at parsing stage). Fixed behavior in unlikely case when we are unable to open table which we are restoring/reparing at the end of preparation stage. sql/sql_trigger.cc: mysql_create_or_drop_trigger(): Now instead of opening and locking table, creating trigger, and then trying to invalidate all instances of this table in table cache, we obtain name lock on table first (thus ensuring that no other thread has this table open), open it, create trigger and then close table therefore releasing lock. New approach is more in line with other places where change .frm files (i.e. change table meta-data). With this change we also get rid of deadlock which occured in cases when we were trying to create two triggers for the same InnoDB table concurrently and both threads were able to reach close_cached_table() simultaneously. (Alternative was to forbid to InnoDB downgrade locks for CREATE/DROP TRIGGER statements in one way or another but I think that proposed solution is better long term).
-
unknown authored
into mysql.com:/home/emurphy/src/bk-clean/mysql-5.0
-
unknown authored
Applying patch from Marko. All tests pass in pentium-debug-max build on Linux. innobase/include/rem0rec.h: BUG#13900 DATETIME data changes after inserting a new row in a InnoDB table Applying patch from Marko. innobase/include/rem0rec.ic: BUG#13900 DATETIME data changes after inserting a new row in a InnoDB table Applying patch from Marko. innobase/row/row0upd.c: BUG#13900 DATETIME data changes after inserting a new row in a InnoDB table Applying patch from Marko.
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
-
unknown authored
-
unknown authored
into selena.:H:/MYSQL/src/#13377-mysql-5.0 mysql-test/include/check_var_limit.inc: Auto merged mysql-test/include/have_big5.inc: Auto merged mysql-test/include/have_compress.inc: Auto merged mysql-test/include/have_crypt.inc: Auto merged mysql-test/include/have_outfile.inc: Auto merged mysql-test/include/have_query_cache.inc: Auto merged mysql-test/include/have_tis620.inc: Auto merged mysql-test/include/have_ucs2.inc: Auto merged mysql-test/include/have_ujis.inc: Auto merged mysql-test/include/not_embedded.inc: Auto merged mysql-test/include/system_db_struct.inc: Auto merged mysql-test/include/test_outfile.inc: Auto merged mysql-test/r/greedy_optimizer.result: Auto merged mysql-test/r/index_merge.result: Auto merged mysql-test/r/index_merge_bdb.result: Auto merged mysql-test/r/index_merge_innodb.result: Auto merged mysql-test/r/index_merge_innodb2.result: Auto merged mysql-test/r/index_merge_ror.result: Auto merged mysql-test/r/index_merge_ror_cpk.result: Auto merged mysql-test/r/join_nested.result: Auto merged mysql-test/r/rowid_order_bdb.result: Auto merged mysql-test/r/rowid_order_innodb.result: Auto merged mysql-test/r/rpl_session_var.result: Auto merged mysql-test/r/sp-error.result: Auto merged mysql-test/r/sp-security.result: Auto merged mysql-test/r/sp.result: Auto merged mysql-test/r/sum_distinct.result: Auto merged mysql-test/std_data/des_key_file: Auto merged mysql-test/std_data/init_file.dat: Auto merged mysql-test/std_data/loaddata1.dat: Auto merged mysql-test/std_data/loaddata2.dat: Auto merged mysql-test/std_data/loaddata3.dat: Auto merged mysql-test/std_data/loaddata4.dat: Auto merged mysql-test/std_data/rpl_loaddata.dat: Auto merged mysql-test/std_data/rpl_loaddata2.dat: Auto merged mysql-test/std_data/warnings_loaddata.dat: Auto merged mysql-test/t/greedy_optimizer.test: Auto merged mysql-test/t/index_merge.test: Auto merged mysql-test/t/index_merge_bdb.test: Auto merged mysql-test/t/index_merge_innodb.test: Auto merged mysql-test/t/index_merge_innodb2.test: Auto merged mysql-test/t/index_merge_ror.test: Auto merged mysql-test/t/index_merge_ror_cpk.test: Auto merged mysql-test/t/join_nested.test: Auto merged mysql-test/t/rowid_order_bdb.test: Auto merged mysql-test/t/rowid_order_innodb.test: Auto merged mysql-test/t/rpl_session_var.test: Auto merged mysql-test/t/sp-error.test: Auto merged mysql-test/t/sp-security.test: Auto merged mysql-test/t/sp.test: Auto merged mysql-test/t/sum_distinct.test: Auto merged sql/log.cc: Auto merged sql/slave.cc: Auto merged sql/sql_class.h: Auto merged
-