Commit 180be45c authored by unknown's avatar unknown

Merge trift2.:/MySQL/M50/mysql-5.0

into  trift2.:/MySQL/M50/push-5.0


configure.in:
  Auto merged
myisam/mi_packrec.c:
  Use fix by Magnus.
parents 413e5414 8ad20c90
...@@ -175,7 +175,7 @@ _rl_fix_last_undo_of_type (type, start, end) ...@@ -175,7 +175,7 @@ _rl_fix_last_undo_of_type (type, start, end)
for (rl = rl_undo_list; rl; rl = rl->next) for (rl = rl_undo_list; rl; rl = rl->next)
{ {
if (rl->what == (uint) type) if (rl->what == (unsigned int) type)
{ {
rl->start = start; rl->start = start;
rl->end = end; rl->end = end;
......
...@@ -2516,9 +2516,9 @@ linked_client_targets="linked_libmysql_sources" ...@@ -2516,9 +2516,9 @@ linked_client_targets="linked_libmysql_sources"
if test "$THREAD_SAFE_CLIENT" = "no" if test "$THREAD_SAFE_CLIENT" = "no"
then then
sql_client_dirs="strings regex mysys extra libmysql client" sql_client_dirs="strings regex mysys dbug extra libmysql client"
else else
sql_client_dirs="strings regex mysys extra libmysql libmysql_r client" sql_client_dirs="strings regex mysys dbug extra libmysql libmysql_r client"
linked_client_targets="$linked_client_targets linked_libmysql_r_sources" linked_client_targets="$linked_client_targets linked_libmysql_r_sources"
AC_CONFIG_FILES(libmysql_r/Makefile) AC_CONFIG_FILES(libmysql_r/Makefile)
AC_DEFINE([THREAD_SAFE_CLIENT], [1], [Should be client be thread safe]) AC_DEFINE([THREAD_SAFE_CLIENT], [1], [Should be client be thread safe])
......
...@@ -6111,7 +6111,7 @@ ndb_get_table_statistics(ha_ndbcluster* file, bool report_error, Ndb* ndb, ...@@ -6111,7 +6111,7 @@ ndb_get_table_statistics(ha_ndbcluster* file, bool report_error, Ndb* ndb,
retry: retry:
if(report_error) if(report_error)
{ {
if (file) if (file && pTrans)
{ {
reterr= file->ndb_err(pTrans); reterr= file->ndb_err(pTrans);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment