- 22 Nov, 2005 1 commit
-
-
unknown authored
if inner routine has more local variables than outer one, and one of its last variables was used as argument to NOT operator". THD::spcont was non-0 when we were parsing stored routine/trigger definition during execution of another stored routine. This confused methods of Item_splocal and forced them use wrong runtime context. Fix ensures that we always have THD::spcont equal to zero during routine/trigger body parsing. This also allows to avoid problems with errors which occur during parsing and SQL exception handlers. mysql-test/r/sp.result: Test suite for bug#13549. mysql-test/r/trigger.result: Test suite for bug#13549. mysql-test/t/sp.test: Test suite for bug#13549. mysql-test/t/trigger.test: Test suite for bug#13549. sql/item.cc: Protection against using wrong context by SP local variable. sql/item.h: Protection against using wrong context by SP local variable. sql/protocol.cc: An incorrect macro name fixed. sql/protocol.h: An incorrect macro name fixed. sql/sp.cc: Do not allow SP which we are parsing to use other SP context (BUG#13549). sql/sp_head.cc: Protection against using wrong context by SP local variable. sql/sp_rcontext.h: Protection against using wrong context by SP local variable. sql/sql_cache.h: An incorrect macro name fixed. sql/sql_class.cc: Protection against using wrong context by SP local variable. sql/sql_class.h: Protection against using wrong context by SP local variable. sql/sql_trigger.cc: Do not allow Trigger which we are parsing to use other SP context (BUG#13549). sql/sql_yacc.yy: Protection against using wrong context by SP local variable.
-
- 05 Oct, 2005 1 commit
-
-
unknown authored
BUILD/SETUP.sh: Remove -ansi
-
- 04 Oct, 2005 16 commits
-
-
unknown authored
scripts/mysql_fix_privilege_tables.sh: Make the script not dependent on the current directory.
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0 sql/ha_innodb.cc: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/handler.h: Auto merged
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
-
unknown authored
somehow it didn't get into the previous changeset mysql-test/r/innodb.result: somehow it didn't get into the previous changeset
-
unknown authored
some extra code.
-
unknown authored
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0 sql/log.cc: Auto merged sql/mysql_priv.h: Auto merged
-
unknown authored
Some options were declared as 'bool', but since those are being handled in my_getopt.c, bool can be machine dependent. To make sure it works in all circumstances, the type should be my_bool for C (not C++) programs. sql/mysql_priv.h: Fixed some bools to my_bools. sql/mysqld.cc: Changed several bools to my_bools. sql/slave.cc: Changed bool to my_bool. sql/slave.h: Changed bool to my_bool.
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0 sql/sql_table.cc: Auto merged sql/table.cc: Auto merged
-
unknown authored
into zim.(none):/home/brian/mysql/fix-5.0
-
unknown authored
using wrong type in assignment etc. cmd-line-utils/readline/complete.c: Fixed problem with implicitely defining wcwidth() in case when compiling with icc. cmd-line-utils/readline/display.c: Fixed problem with implicitely defining wcwidth() in case when compiling with icc. cmd-line-utils/readline/mbutil.c: Fixed problem with implicitely defining wcwidth() in case when compiling with icc. server-tools/instance-manager/protocol.cc: Fixed some types from int to char. Made ERROR_PACKET_CODE static global variable in this file. sql/log.cc: Removed warning of unused goto when not in debug mode.
-
unknown authored
fixed CHECKSUM TABLE to be independent from last - undefined in InnoDB - bits in the null bitmask bug#13710 sql/table.h: fixed CHECKSUM TABLE to be independent from last - undefined in InnoDB - bits in the null bitmask bug#13710 sql/table.cc: fixed CHECKSUM TABLE to be independent from last - undefined in InnoDB - bits in the null bitmask bug#13710 sql/sql_table.cc: fixed CHECKSUM TABLE to be independent from last - undefined in InnoDB - bits in the null bitmask bug#13710
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0 sql/ha_innodb.cc: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/handler.h: Auto merged sql/sql_base.cc: Auto merged
-
unknown authored
-
unknown authored
into zim.(none):/home/brian/mysql/fix-5.0 sql/ha_berkeley.cc: Auto merged sql/ha_berkeley.h: Auto merged sql/ha_innodb.cc: Auto merged sql/ha_innodb.h: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/ha_ndbcluster.h: Auto merged sql/handler.h: Auto merged sql/mysql_priv.h: Auto merged
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0 sql/sql_base.cc: Auto merged
-
unknown authored
Final patch for 5.0 for simplifying storage engine code. We now have just one set of ifdefs. I may also remove the code for creating new handlers. May changes were to simplify storage engine setup and support for legacy call to show storage engines. mysql-test/r/ps_1general.result: Fixed test results for new listing order sql/examples/ha_tina.cc: Removed dead code sql/examples/ha_tina.h: Removed dead code sql/ha_archive.cc: Capitalized sotrage engine name and moved disabled code. sql/ha_berkeley.cc: Moved deisabled code sql/ha_federated.cc: Removed disabled code sql/ha_innodb.cc: Removed disabled message sql/ha_ndbcluster.cc: Removed disabled message sql/handler.cc: Added in legacy support for sotrage engine listing (ala Serg's request). Removed handlertons variables and we now have simplified ha_init code. sql/handler.h: No longer need handlertons array.
-
- 03 Oct, 2005 13 commits
-
-
unknown authored
into mysql.com:/home/timka/mysql/src/5.0-bug-13410 sql/item.h: Auto merged sql/sql_base.cc: Auto merged sql/table.cc: Auto merged
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0 sql/handler.h: Auto merged
-
unknown authored
into selena.:H:/MYSQL/src/tmp-mysql-5.0
-
unknown authored
mysql-test/include/check_var_limit.inc: Turn off EOLN_NATIVE flag mysql-test/include/have_big5.inc: Turn off EOLN_NATIVE flag mysql-test/include/have_compress.inc: Turn off EOLN_NATIVE flag mysql-test/include/have_crypt.inc: Turn off EOLN_NATIVE flag mysql-test/include/have_outfile.inc: Turn off EOLN_NATIVE flag mysql-test/include/have_query_cache.inc: Turn off EOLN_NATIVE flag mysql-test/include/have_tis620.inc: Turn off EOLN_NATIVE flag mysql-test/include/have_ucs2.inc: Turn off EOLN_NATIVE flag mysql-test/include/have_ujis.inc: Turn off EOLN_NATIVE flag mysql-test/include/not_embedded.inc: Turn off EOLN_NATIVE flag mysql-test/include/system_db_struct.inc: Turn off EOLN_NATIVE flag mysql-test/include/test_outfile.inc: Turn off EOLN_NATIVE flag mysql-test/r/greedy_optimizer.result: Turn off EOLN_NATIVE flag mysql-test/r/index_merge.result: Turn off EOLN_NATIVE flag mysql-test/r/index_merge_bdb.result: Turn off EOLN_NATIVE flag mysql-test/r/index_merge_innodb.result: Turn off EOLN_NATIVE flag mysql-test/r/index_merge_innodb2.result: Turn off EOLN_NATIVE flag mysql-test/r/index_merge_ror.result: Turn off EOLN_NATIVE flag mysql-test/r/index_merge_ror_cpk.result: Turn off EOLN_NATIVE flag mysql-test/r/join_nested.result: Turn off EOLN_NATIVE flag mysql-test/r/rowid_order_bdb.result: Turn off EOLN_NATIVE flag mysql-test/r/rowid_order_innodb.result: Turn off EOLN_NATIVE flag mysql-test/r/rpl_session_var.result: Turn off EOLN_NATIVE flag mysql-test/r/sp-error.result: Turn off EOLN_NATIVE flag mysql-test/r/sp-security.result: Turn off EOLN_NATIVE flag mysql-test/r/sp.result: Turn off EOLN_NATIVE flag mysql-test/r/sum_distinct.result: Turn off EOLN_NATIVE flag mysql-test/std_data/des_key_file: Turn off EOLN_NATIVE flag mysql-test/std_data/init_file.dat: Turn off EOLN_NATIVE flag mysql-test/std_data/loaddata1.dat: Turn off EOLN_NATIVE flag mysql-test/std_data/loaddata2.dat: Turn off EOLN_NATIVE flag mysql-test/std_data/loaddata3.dat: Turn off EOLN_NATIVE flag mysql-test/std_data/loaddata4.dat: Turn off EOLN_NATIVE flag mysql-test/std_data/rpl_loaddata.dat: Turn off EOLN_NATIVE flag mysql-test/std_data/rpl_loaddata2.dat: Turn off EOLN_NATIVE flag mysql-test/std_data/warnings_loaddata.dat: Turn off EOLN_NATIVE flag mysql-test/t/greedy_optimizer.test: Turn off EOLN_NATIVE flag mysql-test/t/index_merge.test: Turn off EOLN_NATIVE flag mysql-test/t/index_merge_bdb.test: Turn off EOLN_NATIVE flag mysql-test/t/index_merge_innodb.test: Turn off EOLN_NATIVE flag mysql-test/t/index_merge_innodb2.test: Turn off EOLN_NATIVE flag mysql-test/t/index_merge_ror.test: Turn off EOLN_NATIVE flag mysql-test/t/index_merge_ror_cpk.test: Turn off EOLN_NATIVE flag mysql-test/t/join_nested.test: Turn off EOLN_NATIVE flag mysql-test/t/rowid_order_bdb.test: Turn off EOLN_NATIVE flag mysql-test/t/rowid_order_innodb.test: Turn off EOLN_NATIVE flag mysql-test/t/rpl_session_var.test: Turn off EOLN_NATIVE flag mysql-test/t/sp-error.test: Turn off EOLN_NATIVE flag mysql-test/t/sp-security.test: Turn off EOLN_NATIVE flag mysql-test/t/sp.test: Turn off EOLN_NATIVE flag mysql-test/t/sum_distinct.test: Turn off EOLN_NATIVE flag
-
unknown authored
-
unknown authored
fix solaris problem (dont print null) ndb/src/mgmsrv/Services.cpp: Dont print null address
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/bug13231/my50-bug13231
-
unknown authored
Fix 32/64 bit insecure code ndb/src/mgmsrv/InitConfigFileParser.cpp: Fix 32/64 bit insecure/useless code
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0 sql/handler.h: Auto merged
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/bug13231/my50-bug13231
-
unknown authored
into zim.(none):/home/brian/mysql/fix-5.0 sql/ha_blackhole.cc: Auto merged sql/ha_heap.cc: Auto merged sql/ha_innodb.cc: Auto merged sql/examples/ha_example.cc: Auto merged sql/examples/ha_tina.cc: Auto merged sql/ha_archive.cc: Auto merged sql/ha_archive.h: Auto merged sql/ha_myisam.cc: Auto merged sql/ha_myisammrg.cc: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/handler.cc: Auto merged sql/handler.h: Auto merged sql/mysql_priv.h: Auto merged sql/sql_show.cc: Auto merged sql/ha_federated.cc: Merge fix.
-
unknown authored
Handlerton array is now created instead of using sys_table_types_st. All storage engines can now have inits and giant ifdef's are now gone for startup. No compeltely clean yet, handlertons will next be merged with sys_table_types. Federated and archive now have real cleanup if their inits fail. sql/examples/ha_archive.cc: Modifications for new ha_init code. The init method now checks for errors and will not start up if the errors occur. sql/examples/ha_archive.h: Change for new init method. sql/examples/ha_example.cc: New handlerton pieces. sql/examples/ha_tina.cc: New handlerton pieces. sql/ha_berkeley.cc: New handlerton pieces, plus changes for ha_init changes. I'm not happy with our current "skip" setup. sql/ha_berkeley.h: Change in init return. sql/ha_blackhole.cc: Changes for new handlerton pieces. sql/ha_federated.cc: Changes for new handlerton and true cleanup code. sql/ha_heap.cc: Changes for new handlerton returns. sql/ha_innodb.cc: Changes for handlerton code. sql/ha_innodb.h: Change in init. sql/ha_myisam.cc: Changes for additional handlerton bits. sql/ha_myisammrg.cc: Changes for new handlerton bits. sql/ha_ndbcluster.cc: Changes for new handlerton bits. sql/ha_ndbcluster.h: Changes for handlerton bits. sql/handler.cc: Changes for ditching show_table_type_st types, and collapsing it into a handlerton array. The ha_init now just loops through all handlers to init (much cleaner...). handlertons and sys_table_types should be merged next. sql/handler.h: Additions for sys_table_types sql/log.cc: Clean up of binlog for changes in handlerton sql/mysql_priv.h: Removed unneeded define for binlog_init sql/sql_show.cc: Changes for change in handlerton to sys_table_types
-
- 01 Oct, 2005 7 commits
-
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
-
unknown authored
Removed "examples/" from path to "ha_archive.cc" VC++Files/sql/mysqld.vcproj: Removed "examples/" from path to "ha_archive.cc"
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0 mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
-
unknown authored
mysql.user.password doesn't need utf8 mysql-test/lib/init_db.sql: mysql.user.password doesn't need utf8
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
-
unknown authored
The problem was then when a column reference was resolved to a view column, the new Item created for this column contained the name of the view, and not the view alias. mysql-test/r/view.result: Additional test for BUG#13410. mysql-test/t/view.test: Additional test for BUG#13410. sql/item.cc: Correctly cast 'cur_field' to Item_ident because if the original item is an Item_field, the cur_field is either an Item_field or an Item_ref. Thus we have to cast cur_field to a common super-class of both. sql/item.h: - real_item() may be called before Item_ref::ref is set (i.e. the Item_ref object was resolved). - To avoid a crash and to return some meaningful value in such cases we return 'this'. sql/sql_base.cc: - 'item' may be an Item_ref, so we test for the type of the actual referenced item. - Correctly cast 'cur_field' to Item_ident because if the original item is an Item_field, the cur_field is either an Item_field or an Item_ref. Thus we have to cast cur_field to a common super-class of both. sql/table.cc: - When creating a new Item for a reference to a view column, use the view alias, and not the real view name. - Removed old code
-
- 30 Sep, 2005 2 commits
-
-
unknown authored
into mysql.com:/Users/eric/dev/hton-mysql-5.0
-
unknown authored
BUG#13108 mysql-test/r/federated.result: added test results for federated alter table mysql-test/t/federated.test: added test for federated alter table sql/examples/ha_example.cc: supports table re-creation sql/examples/ha_tina.cc: supports table re-creation sql/ha_blackhole.cc: supports table re-creation sql/ha_federated.cc: added flag for not supporting alter sql/ha_heap.cc: supports table recreation sql/ha_myisam.cc: supports table recreation sql/ha_myisammrg.cc: supports table re-creation sql/handler.cc: implemented flag check function sql/handler.h: added additional handlerton flags created a function to test flags replace ha_supports_generate macro with call to flag check sql/sql_delete.cc: replaced ha_supports_generate with handlerton flag check sql/sql_table.cc: added check for handlerton check for alter support
-