Commit b8c89538 authored by unknown's avatar unknown
Browse files

Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-5.1-new

into  outpost.site:/home/cps/mysql/devel/test-6

parents a3242691 bd7120f9
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -39,7 +39,10 @@ then
  AC_DEFINE([$5])
  mysql_se_decls="${mysql_se_decls},$6"
  mysql_se_htons="${mysql_se_htons},&$6"
  if test "$8" != "no"
  then
    mysql_se_objs="$mysql_se_objs $8"
  fi
  mysql_se_dirs="$mysql_se_dirs $7"
  mysql_se_libs="$mysql_se_libs $9"
else
+2 −2
Original line number Diff line number Diff line
@@ -2437,8 +2437,8 @@ MYSQL_STORAGE_ENGINE(archive,,,,,,storage/archive,,
 \$(top_builddir)/storage/archive/libarchive.a, [
  AC_CONFIG_FILES(storage/archive/Makefile)
])
MYSQL_STORAGE_ENGINE(csv,,,"yes",,tina_hton,storage/csv,
  ../storage/csv/ha_tina.o,,[
MYSQL_STORAGE_ENGINE(csv,,,"yes",,tina_hton,storage/csv,no,
  \$(top_builddir)/storage/csv/libcsv.a,[
  AC_CONFIG_FILES(storage/csv/Makefile)
])
MYSQL_STORAGE_ENGINE(blackhole)
+4 −1
Original line number Diff line number Diff line
@@ -296,7 +296,10 @@ int ha_myisam::dump(THD* thd, int fd)
#endif /* HAVE_REPLICATION */


bool ha_myisam::check_if_locking_is_allowed(THD *thd, TABLE *table, uint count)
bool ha_myisam::check_if_locking_is_allowed(uint sql_command,
                                            ulong type, TABLE *table,
                                            uint count,
                                            bool called_by_logger_thread)
{
  /*
    To be able to open and lock for reading system tables like 'mysql.proc',
+4 −1
Original line number Diff line number Diff line
@@ -60,7 +60,10 @@ class ha_myisam: public handler
  uint max_supported_key_part_length() const { return MI_MAX_KEY_LENGTH; }
  uint checksum() const;

  virtual bool check_if_locking_is_allowed(THD *thd, TABLE *table, uint count);
  virtual bool check_if_locking_is_allowed(uint sql_command,
                                           ulong type, TABLE *table,
                                           uint count,
                                           bool called_by_logger_thread);
  int open(const char *name, int mode, uint test_if_locked);
  int close(void);
  int write_row(byte * buf);
+6 −0
Original line number Diff line number Diff line
@@ -1425,6 +1425,12 @@ int ha_delete_table(THD *thd, handlerton *table_type, const char *path,
** General handler functions
****************************************************************************/


void handler::ha_statistic_increment(ulong SSV::*offset) const
{
  statistic_increment(table->in_use->status_var.*offset, &LOCK_status);
}

/*
  Open database-handler.

Loading