Loading Build-tools/Bootstrap +1 −1 Original line number Diff line number Diff line Loading @@ -278,7 +278,7 @@ if (defined $opt_changelog) unless ($opt_skip_manual) { &logger("Updating manual files"); foreach $file qw/internals manual reservedwords/ foreach $file qw/internals manual reservedwords errmsg-table cl-errmsg-table/ { system ("bk cat $opt_docdir/Docs/$file.texi > $target_dir/Docs/$file.texi") == 0 or &abort("Could not update $file.texi in $target_dir/Docs/!"); Loading VC++Files/libmysqld/libmysqld.dsp +1 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ SOURCE=..\mysys\my_alloc.c # End Source File # Begin Source File SOURCE=..\mysys\my_decimal.cpp SOURCE=..\sql\my_decimal.cpp # End Source File # Begin Source File Loading mysql-test/r/sp.result +4 −5 Original line number Diff line number Diff line Loading @@ -656,7 +656,6 @@ delete from t1| drop table if exists t3| create table t3 ( s char(16), d int)| call into_test4()| Warnings: select * from t3| s d into4 NULL Loading Loading @@ -1344,9 +1343,7 @@ end if; insert into t4 values (2, rc, t3); end| call bug1863(10)| Warnings: call bug1863(10)| Warnings: select * from t4| f1 rc t3 2 0 NULL Loading Loading @@ -1643,9 +1640,7 @@ begin end| call bug4579_1()| call bug4579_1()| Warnings: call bug4579_1()| Warnings: drop procedure bug4579_1| drop procedure bug4579_2| drop table t3| Loading Loading @@ -2118,12 +2113,16 @@ var call bug7743("OneWord")| var NULL Warnings: Warning 1329 No data to FETCH call bug7743("anotherword")| var 2 call bug7743("AnotherWord")| var NULL Warnings: Warning 1329 No data to FETCH drop procedure bug7743| drop table t4| delete from t3| Loading sql/ha_ndbcluster.cc +4 −2 Original line number Diff line number Diff line Loading @@ -5697,8 +5697,11 @@ extern "C" pthread_handler_decl(ndb_util_thread_func, continue; } /* Round tim e from millisceonds to seconds */ uint wait_secs= ((ndb_cache_check_time+999)/1000); DBUG_PRINT("ndb_util_thread", ("wait_secs: %d", wait_secs)); /* Set new time to wake up */ set_timespec(abstime, ndb_cache_check_time); set_timespec(abstime, wait_secs); /* Lock mutex and fill list with pointers to all open tables */ NDB_SHARE *share; Loading @@ -5707,7 +5710,6 @@ extern "C" pthread_handler_decl(ndb_util_thread_func, { share= (NDB_SHARE *)hash_element(&ndbcluster_open_tables, i); share->use_count++; /* Make sure the table can't be closed */ DBUG_PRINT("ndb_util_thread", ("Found open table[%d]: %s, use_count: %d", i, share->table_name, share->use_count)); Loading sql/mysqld.cc +3 −4 Original line number Diff line number Diff line Loading @@ -4691,10 +4691,9 @@ Disable with --skip-ndbcluster (will save memory).", (gptr*) &opt_ndb_optimized_node_selection, 0, GET_BOOL, OPT_ARG, 1, 0, 0, 0, 0, 0}, { "ndb-cache-check-time", OPT_NDB_CACHE_CHECK_TIME, "A dedicated thread is created to update cached commit count value" " at the given interval.", (gptr*) &opt_ndb_cache_check_time, (gptr*) &opt_ndb_cache_check_time, 0, GET_ULONG, REQUIRED_ARG, 0, 0, LONG_TIMEOUT, 0, 1, 0}, "A dedicated thread is created to, at the given millisecons interval, invalidate the query cache if another MySQL server in the cluster has changed the data in the database.", (gptr*) &opt_ndb_cache_check_time, (gptr*) &opt_ndb_cache_check_time, 0, GET_ULONG, REQUIRED_ARG, 0, 0, LONG_TIMEOUT, 0, 1, 0}, #endif {"new", 'n', "Use very new possible 'unsafe' functions.", (gptr*) &global_system_variables.new_mode, Loading Loading
Build-tools/Bootstrap +1 −1 Original line number Diff line number Diff line Loading @@ -278,7 +278,7 @@ if (defined $opt_changelog) unless ($opt_skip_manual) { &logger("Updating manual files"); foreach $file qw/internals manual reservedwords/ foreach $file qw/internals manual reservedwords errmsg-table cl-errmsg-table/ { system ("bk cat $opt_docdir/Docs/$file.texi > $target_dir/Docs/$file.texi") == 0 or &abort("Could not update $file.texi in $target_dir/Docs/!"); Loading
VC++Files/libmysqld/libmysqld.dsp +1 −1 Original line number Diff line number Diff line Loading @@ -344,7 +344,7 @@ SOURCE=..\mysys\my_alloc.c # End Source File # Begin Source File SOURCE=..\mysys\my_decimal.cpp SOURCE=..\sql\my_decimal.cpp # End Source File # Begin Source File Loading
mysql-test/r/sp.result +4 −5 Original line number Diff line number Diff line Loading @@ -656,7 +656,6 @@ delete from t1| drop table if exists t3| create table t3 ( s char(16), d int)| call into_test4()| Warnings: select * from t3| s d into4 NULL Loading Loading @@ -1344,9 +1343,7 @@ end if; insert into t4 values (2, rc, t3); end| call bug1863(10)| Warnings: call bug1863(10)| Warnings: select * from t4| f1 rc t3 2 0 NULL Loading Loading @@ -1643,9 +1640,7 @@ begin end| call bug4579_1()| call bug4579_1()| Warnings: call bug4579_1()| Warnings: drop procedure bug4579_1| drop procedure bug4579_2| drop table t3| Loading Loading @@ -2118,12 +2113,16 @@ var call bug7743("OneWord")| var NULL Warnings: Warning 1329 No data to FETCH call bug7743("anotherword")| var 2 call bug7743("AnotherWord")| var NULL Warnings: Warning 1329 No data to FETCH drop procedure bug7743| drop table t4| delete from t3| Loading
sql/ha_ndbcluster.cc +4 −2 Original line number Diff line number Diff line Loading @@ -5697,8 +5697,11 @@ extern "C" pthread_handler_decl(ndb_util_thread_func, continue; } /* Round tim e from millisceonds to seconds */ uint wait_secs= ((ndb_cache_check_time+999)/1000); DBUG_PRINT("ndb_util_thread", ("wait_secs: %d", wait_secs)); /* Set new time to wake up */ set_timespec(abstime, ndb_cache_check_time); set_timespec(abstime, wait_secs); /* Lock mutex and fill list with pointers to all open tables */ NDB_SHARE *share; Loading @@ -5707,7 +5710,6 @@ extern "C" pthread_handler_decl(ndb_util_thread_func, { share= (NDB_SHARE *)hash_element(&ndbcluster_open_tables, i); share->use_count++; /* Make sure the table can't be closed */ DBUG_PRINT("ndb_util_thread", ("Found open table[%d]: %s, use_count: %d", i, share->table_name, share->use_count)); Loading
sql/mysqld.cc +3 −4 Original line number Diff line number Diff line Loading @@ -4691,10 +4691,9 @@ Disable with --skip-ndbcluster (will save memory).", (gptr*) &opt_ndb_optimized_node_selection, 0, GET_BOOL, OPT_ARG, 1, 0, 0, 0, 0, 0}, { "ndb-cache-check-time", OPT_NDB_CACHE_CHECK_TIME, "A dedicated thread is created to update cached commit count value" " at the given interval.", (gptr*) &opt_ndb_cache_check_time, (gptr*) &opt_ndb_cache_check_time, 0, GET_ULONG, REQUIRED_ARG, 0, 0, LONG_TIMEOUT, 0, 1, 0}, "A dedicated thread is created to, at the given millisecons interval, invalidate the query cache if another MySQL server in the cluster has changed the data in the database.", (gptr*) &opt_ndb_cache_check_time, (gptr*) &opt_ndb_cache_check_time, 0, GET_ULONG, REQUIRED_ARG, 0, 0, LONG_TIMEOUT, 0, 1, 0}, #endif {"new", 'n', "Use very new possible 'unsafe' functions.", (gptr*) &global_system_variables.new_mode, Loading