- 08 Aug, 2005 1 commit
-
-
unknown authored
* Cleanup SP Cache code, now SP Cache only deletes sp_head objects in sp_cache_flush_obsolete() invalidates all pointers to routines in the cache. * Use new SP Cache use contract in the code. There is no test case because it doesn't seem to be possible to cause thread races to end the same way they end in heavy-load test. This patch removes the crash in heavy test. mysql-test/r/type_bit.result: Drop the tables this test tries to create mysql-test/r/view.result: Drop function this test creates mysql-test/t/type_bit.test: Drop the tables this test tries to create mysql-test/t/view.test: Drop function this test creates sql/sp.cc: Fix for BUG#12228: When a routine is deleted/modified, invalidate all cached SPs in all threads. We need to do so because sp_lex_keeper::{prelocking_tables, query_tables_own_last} in one SP may depend on another SP sp_lex_keeper::m_lex is using. sql/sp_cache.cc: Fix for BUG#12228: * Move class sp_cache to here from sp_cache.h, document the functions. * sp_cache_insert, sp_cache_remove, sp_cache_invalidate and sp_cache_lookup must not delete sp_head* objects as they may be called during SP execution when sp_head objects are used. * Added sp_cache_flush_obsolete() function that may delete sp_head objects. * Removed sp_cache_remove as there is no need for it now - when we change one SP we should invalidate all other SPs, because sp_lex_keeper::{prelocking_tables, query_tables_own_last} from one SP depend on content of another SP (used in sp_lex_keeper::m_lex). sql/sp_cache.h: Fix for BUG#12228: * Move class sp_cache to sp_cache.cc it is not needed in .h file * Added comments sql/sql_parse.cc: Fix for BUG#12228: Call new sp_cache_flush_obsolete() function before running the query sql/sql_prepare.cc: Fix for BUG#12228: Call new sp_cache_flush_obsolete() function before preparing/executing a PS
-
- 05 Aug, 2005 10 commits
-
-
unknown authored
mysql-test/r/gis.result: test result fixed mysql-test/t/gis.test: testcase added
-
unknown authored
into deer.(none):/home/hf/work/mysql-5.0.12281
-
unknown authored
Field_geom lack size_of method sql/field.h: size_of implemented
-
unknown authored
server-tools/instance-manager/listener.cc: some more cleanup
-
unknown authored
server-tools/instance-manager/WindowsService.cpp: Change mode to -rw-rw-r-- server-tools/instance-manager/WindowsService.h: Change mode to -rw-rw-r-- server-tools/instance-manager/port.h: Change mode to -rw-rw-r-- server-tools/instance-manager/mysqlmanager.vcproj: Change mode to -rw-rw-r-- server-tools/instance-manager/IMService.cpp: Change mode to -rw-rw-r-- server-tools/instance-manager/IMService.h: Change mode to -rw-rw-r--
-
unknown authored
server-tools/instance-manager/IMService.cpp: coding style fixes: tabs, trailing spaces, offset e.t.c server-tools/instance-manager/WindowsService.cpp: coding style fixes: tabs, trailing spaces, offset e.t.c server-tools/instance-manager/WindowsService.h: coding style fixes: tabs, trailing spaces, offset e.t.c server-tools/instance-manager/instance.cc: cleanup & coding style fixes: tabs, trailing spaces, offset e.t.c server-tools/instance-manager/listener.cc: coding style fixes: tabs, trailing spaces, offset e.t.c server-tools/instance-manager/manager.cc: coding style fixes: tabs, trailing spaces, offset e.t.c server-tools/instance-manager/options.cc: coding style fixes: tabs, trailing spaces, offset e.t.c server-tools/instance-manager/user_map.cc: simplify password file processing
-
unknown authored
into mysql.com:/home/cps/mysql/trees/mysql-5.0
-
unknown authored
server-tools/instance-manager/commands.cc: fix memory leak server-tools/instance-manager/guardian.cc: don't check pthread_mutex_lock/unlock return value, as it never returns error if properly used (no self deadlocks) and initialized server-tools/instance-manager/guardian.h: prototype fixed server-tools/instance-manager/instance_map.cc: don't check pthread_mutex_lock/unlock status, as it never returns error if properly used (no self deadlocks) and initialized server-tools/instance-manager/instance_map.h: prototype fixed server-tools/instance-manager/listener.cc: initialize highest-numbered descriptor to 0 for select before setting it with max(n, sockets[i]), ifdef unix-specific code server-tools/instance-manager/manager.cc: remove commented stuff server-tools/instance-manager/options.cc: fix crash in load_defaults, which happened on all Unix systems due to const char *Options::config_file= NULL. Check return value for GetModuleFileName. Get rid of obscure default_config_file[FN_REFLEN]= "/etc/my.cnf"; which was never used
-
unknown authored
mysql-test/r/information_schema.result: fix the test case for fix for bug #12315 - SHOW TABLE STATUS FROM `information_schema`; does not sort tablenames mysql-test/r/information_schema_db.result: fix the test case for fix for bug #12315 - SHOW TABLE STATUS FROM `information_schema`; does not sort tablenames sql/sql_show.cc: reorder the structure fix for bug #12315 - SHOW TABLE STATUS FROM `information_schema`; does not sort tablenames sql/table.h: reorder the enum fix for bug #12315 - SHOW TABLE STATUS FROM `information_schema`; does not sort tablenames
-
unknown authored
client/client_priv.h: Fix a compile failure.
-
- 04 Aug, 2005 29 commits
-
-
unknown authored
mysql-test/r/view.result: Update results file
-
unknown authored
into mysql.com:/home/jimw/my/mysql-5.0-clean
-
unknown authored
mysql-test/r/create.result: Update error message text mysql-test/r/query_cache.result: Update warnings
-
unknown authored
sql/item_sum.cc: Auto merged mysql-test/r/view.result: Manual merge mysql-test/t/view.test: Manual megre sql/sql_select.cc: Manual merge
-
unknown authored
into mysql.com:/home/jimw/my/mysql-5.0-clean BitKeeper/deleted/.del-not_windows.inc: Delete: mysql-test/include/not_windows.inc mysql-test/r/type_datetime.result: Auto merged mysql-test/t/query_cache.test: Auto merged mysql-test/t/rpl_flush_tables.test: Auto merged sql-common/my_time.c: Auto merged mysql-test/r/query_cache.result: Resolve conflict
-
unknown authored
mysql-test/r/query_cache.result: Updated results mysql-test/t/query_cache.test: Change test to use a truly invalid date, now that dates like '20050327 0:0:0' are handled as they are in 4.0.
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
unknown authored
into fedora.(none):/home/reggie/bk/im_patch
-
unknown authored
-
unknown authored
into fedora.(none):/home/reggie/bk/im_patch
-
unknown authored
into fedora.(none):/home/reggie/bk/im_patch server-tools/instance-manager/manager.cc: Auto merged server-tools/instance-manager/mysqlmanager.cc: Auto merged server-tools/instance-manager/options.h: Auto merged server-tools/instance-manager/commands.cc: final merge of IM port code for Windows server-tools/instance-manager/instance_map.cc: final merge of IM port code for Windows server-tools/instance-manager/options.cc: final merge of IM port code for Windows
-
unknown authored
into mysql.com:/space/my/mysql-5.0
-
unknown authored
into deer.(none):/home/hf/work/mysql-5.0.clean
-
unknown authored
into deer.(none):/home/hf/work/mysql-4.1.clean
-
unknown authored
-
unknown authored
mysql-test/mysql-test-run.pl: Auto merged sql/ha_innodb.cc: Auto merged support-files/mysql.spec.sh: Auto merged
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
-
unknown authored
Back ported ndbcluster_support() from 5.0 Corrected the server id handling mysql-test/mysql-test-run.pl: Back ported ndbcluster_support() from 5.0 Corrected the server id handling
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-4.1
-
unknown authored
Added the blackhole storage engine to the Max builds VC++Files/sql/mysqld.dsp: Added the blackhole storage engine to the Max builds
-
unknown authored
into deer.(none):/home/hf/work/mysql-5.0.clean mysql-test/r/myisam.result: Auto merged mysql-test/r/query_cache.result: Auto merged mysql-test/t/myisam.test: Auto merged mysql-test/t/query_cache.test: Auto merged
-
unknown authored
into deer.(none):/home/hf/work/mysql-4.1.9508
-
unknown authored
into deer.(none):/home/hf/work/mysql-4.1.11083 mysql-test/t/myisam.test: Auto merged
-
unknown authored
libmysql/libmysql.c: Auto merged libmysqld/lib_sql.cc: Auto merged sql/mysql_priv.h: merging sql/mysqld.cc: merging
-
unknown authored
into mysql.com:/space/my/mysql-4.1-build sql/ha_innodb.cc: Auto merged support-files/mysql.spec.sh: Auto merged
-
unknown authored
into mysql.com:/space/my/mysql-5.0-build sql/ha_innodb.cc: Auto merged support-files/mysql.spec.sh: Auto merged
-
unknown authored
the rpm spec file changelog sql/ha_innodb.cc: - Merge: used local version (as the fix in 4.0 was a backport) support-files/mysql.spec.sh: - manual merge from 4.0
-
unknown authored
4.1 version of the patch libmysql/libmysql.c: here we close errorlog file sql/mysql_priv.h: stderror_file declared sql/mysqld.cc: stderror_file saved
-