Below is the list of changes that have just been committed into a local
5.1 repository of tsmith. When tsmith does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2006-09-08 09:06:30+02:00, tsmith@stripped +7 -0
Merge maint1.mysql.com:/data/localhome/tsmith/bk/g51
into maint1.mysql.com:/data/localhome/tsmith/bk/51
MERGE: 1.2302.4.48
mysql-test/mysql-test-run.pl@stripped, 2006-09-08 09:06:18+02:00, tsmith@stripped
+0 -3
Manual merge
MERGE: 1.150.3.6
sql/ha_innodb.cc@stripped, 2006-09-08 07:49:30+02:00, tsmith@stripped +0 -0
Auto merged
MERGE: 1.284.4.2
sql/handler.cc@stripped, 2006-09-08 07:49:30+02:00, tsmith@stripped +0 -0
Auto merged
MERGE: 1.262.1.1
sql/log.cc@stripped, 2006-09-08 07:49:31+02:00, tsmith@stripped +0 -0
Auto merged
MERGE: 1.223.2.1
sql/mysqld.cc@stripped, 2006-09-08 07:49:31+02:00, tsmith@stripped +0 -0
Auto merged
MERGE: 1.574.2.6
sql/sql_show.cc@stripped, 2006-09-08 07:49:31+02:00, tsmith@stripped +0 -0
Auto merged
MERGE: 1.365.1.1
storage/csv/ha_tina.cc@stripped, 2006-09-08 07:49:31+02:00, tsmith@stripped +0 -0
Auto merged
MERGE: 1.57.1.2
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: tsmith
# Host: maint1.mysql.com
# Root: /data/localhome/tsmith/bk/51/RESYNC
--- 1.264/sql/handler.cc 2006-09-08 09:05:01 +02:00
+++ 1.265/sql/handler.cc 2006-09-08 09:05:01 +02:00
@@ -3567,7 +3567,7 @@ int handler::ha_external_lock(THD *thd,
int handler::ha_reset()
{
DBUG_ENTER("ha_reset");
- /* Check that we have called all proper delallocation functions */
+ /* Check that we have called all proper deallocation functions */
DBUG_ASSERT((byte*) table->def_read_set.bitmap +
table->s->column_bitmap_size ==
(byte*) table->def_write_set.bitmap);
--- 1.225/sql/log.cc 2006-09-08 09:05:01 +02:00
+++ 1.226/sql/log.cc 2006-09-08 09:05:01 +02:00
@@ -3968,6 +3968,12 @@ void print_buffer_to_nt_eventlog(enum lo
return an error (e.g. logging to the log tables)
*/
+#ifdef EMBEDDED_LIBRARY
+int vprint_msg_to_log(enum loglevel level __attribute__((unused)),
+ const char *format __attribute__((unused)),
+ va_list argsi __attribute__((unused)))
+{}
+#else /*!EMBEDDED_LIBRARY*/
int vprint_msg_to_log(enum loglevel level, const char *format, va_list args)
{
char buff[1024];
@@ -3984,6 +3990,7 @@ int vprint_msg_to_log(enum loglevel leve
DBUG_RETURN(0);
}
+#endif /*EMBEDDED_LIBRARY*/
void sql_print_error(const char *format, ...)
--- 1.585/sql/mysqld.cc 2006-09-08 09:05:01 +02:00
+++ 1.586/sql/mysqld.cc 2006-09-08 09:05:01 +02:00
@@ -1185,7 +1185,7 @@ void clean_up(bool print_message)
udf_free();
#endif
}
- plugin_free();
+ plugin_shutdown();
if (tc_log)
tc_log->close();
xid_cache_free();
@@ -2626,7 +2626,7 @@ static int init_common_variables(const c
/*
Add server status variables to the dynamic list of
status variables that is shown by SHOW STATUS.
- Later, in plugin_init, plugin_load, and mysql_install_plugin
+ Later, in plugin_init, and mysql_install_plugin
new entries could be added to that list.
*/
if (add_status_vars(status_vars))
@@ -3175,7 +3175,7 @@ server.");
using_update_log=1;
}
- if (plugin_init())
+ if (plugin_init(0))
{
sql_print_error("Failed to init plugins.");
return 1;
@@ -3607,7 +3607,6 @@ we force server id to 2, but this MySQL
if (!opt_noacl)
{
- plugin_load();
#ifdef HAVE_DLOPEN
udf_init();
#endif
--- 1.366/sql/sql_show.cc 2006-09-08 09:05:01 +02:00
+++ 1.367/sql/sql_show.cc 2006-09-08 09:05:01 +02:00
@@ -220,9 +220,10 @@ int fill_plugins(THD *thd, TABLE_LIST *t
DBUG_ENTER("fill_plugins");
TABLE *table= tables->table;
- if (plugin_foreach(thd, show_plugins, MYSQL_ANY_PLUGIN, table))
+ if (plugin_foreach_with_mask(thd, show_plugins, MYSQL_ANY_PLUGIN,
+ ~PLUGIN_IS_FREED, table))
DBUG_RETURN(1);
-
+
DBUG_RETURN(0);
}
--- 1.59/storage/csv/ha_tina.cc 2006-09-08 09:05:01 +02:00
+++ 1.60/storage/csv/ha_tina.cc 2006-09-08 09:05:01 +02:00
@@ -1529,7 +1529,9 @@ mysql_declare_plugin(csv)
tina_init_func, /* Plugin Init */
tina_done_func, /* Plugin Deinit */
0x0100 /* 1.0 */,
- 0
+ NULL, /* status variables */
+ NULL, /* system variables */
+ NULL /* config options */
}
mysql_declare_plugin_end;
--- 1.167/mysql-test/mysql-test-run.pl 2006-09-08 09:05:01 +02:00
+++ 1.168/mysql-test/mysql-test-run.pl 2006-09-08 09:05:01 +02:00
@@ -324,6 +324,8 @@ our $opt_skip_slave_binlog= 0;
our $exe_ndb_mgm;
our $exe_ndb_waiter;
our $path_ndb_tools_dir;
+our $path_ndb_examples_dir;
+our $exe_ndb_example;
our $file_ndb_testrun_log;
our @data_dir_lst;
@@ -1235,6 +1237,9 @@ sub executable_setup () {
mtr_script_exists("$glob_basedir/scripts/mysql_fix_privilege_tables",
"/usr/bin/false");
$path_ndb_tools_dir= mtr_path_exists("$glob_basedir/storage/ndb/tools");
+ $path_ndb_examples_dir= mtr_path_exists("$glob_basedir/storage/ndb/ndbapi-examples");
+ $exe_ndb_example=
mtr_exe_exists("$path_ndb_examples_dir/ndbapi_simple/ndbapi_simple",
+ $exe_mysqld);
$exe_ndb_mgm= "$glob_basedir/storage/ndb/src/mgmclient/ndb_mgm";
$exe_ndb_waiter= "$glob_basedir/storage/ndb/tools/ndb_waiter";
$exe_ndbd= "$glob_basedir/storage/ndb/src/kernel/ndbd";
@@ -1299,6 +1304,7 @@ sub executable_setup () {
}
$path_ndb_tools_dir= "$glob_basedir/bin";
+ $path_ndb_examples_dir= "$glob_basedir/ndbapi-examples";
$exe_ndb_mgm= "$glob_basedir/bin/ndb_mgm";
$exe_ndb_waiter= "$glob_basedir/bin/ndb_waiter";
$exe_ndbd= "$glob_basedir/bin/ndbd";
@@ -1361,6 +1367,20 @@ sub environment_setup () {
$ENV{'DYLD_LIBRARY_PATH'}=
"$extra_ld_library_paths" .
($ENV{'DYLD_LIBRARY_PATH'} ? ":$ENV{'DYLD_LIBRARY_PATH'}" : "");
+ # --------------------------------------------------------------------------
+ # Add the path where libndbclient can be found
+ # --------------------------------------------------------------------------
+ $ENV{'LD_LIBRARY_PATH'}=
+ (mtr_path_exists("$glob_basedir/storage/ndb/src/.libs") ?
"$glob_basedir/storage/ndb/src/.libs" : "") .
+ ($ENV{'LD_LIBRARY_PATH'} ? ":$ENV{'LD_LIBRARY_PATH'}" : "");
+
+ # --------------------------------------------------------------------------
+ # Add the path where libmysqlclient can be found
+ # --------------------------------------------------------------------------
+ $ENV{'LD_LIBRARY_PATH'}=
+ (mtr_path_exists("$glob_basedir/libmysql_r/.libs") ?
"$glob_basedir/libmysql_r/.libs" : "") .
+ ($ENV{'LD_LIBRARY_PATH'} ? ":$ENV{'LD_LIBRARY_PATH'}" : "");
+
# --------------------------------------------------------------------------
# Also command lines in .opt files may contain env vars
@@ -1378,6 +1398,7 @@ sub environment_setup () {
$ENV{'MASTER_MYSOCK1'}= $master->[1]->{'path_sock'};
$ENV{'MASTER_MYPORT'}= $master->[0]->{'port'};
$ENV{'MASTER_MYPORT1'}= $master->[1]->{'port'};
+ $ENV{'SLAVE_MYSOCK'}= $slave->[0]->{'path_sock'};
$ENV{'SLAVE_MYPORT'}= $slave->[0]->{'port'};
$ENV{'SLAVE_MYPORT1'}= $slave->[1]->{'port'};
$ENV{'SLAVE_MYPORT2'}= $slave->[2]->{'port'};
--- 1.292/sql/ha_innodb.cc 2006-09-08 09:05:01 +02:00
+++ 1.293/sql/ha_innodb.cc 2006-09-08 09:05:02 +02:00
@@ -7644,7 +7644,9 @@ mysql_declare_plugin(innobase)
innobase_init, /* Plugin Init */
NULL, /* Plugin Deinit */
0x0100 /* 1.0 */,
- innodb_status_variables_export
+ innodb_status_variables_export,/* status variables */
+ NULL, /* system variables */
+ NULL /* config options */
}
mysql_declare_plugin_end;
| Thread |
|---|
| • bk commit into 5.1 tree (tsmith:1.2310) | tim | 8 Sep |