summaryrefslogtreecommitdiff
path: root/sql/ha_blackhole.cc
diff options
context:
space:
mode:
authorunknown <patg@radha.local>2005-08-26 03:14:56 +0200
committerunknown <patg@radha.local>2005-08-26 03:14:56 +0200
commit7b8ab0e1cff25108f3b044189db879fd39073290 (patch)
tree93834fa5c7e05eca29bf91bc1c29d228f8a275fb /sql/ha_blackhole.cc
parent8ec12a86866f01a5c3333a44c2d697669b5dd2f6 (diff)
parent586dda71ff5d0bef8162189f21bf67efe04253f5 (diff)
downloadmariadb-git-7b8ab0e1cff25108f3b044189db879fd39073290.tar.gz
Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-4.1
into radha.local:/Users/patg/mysql-build/mysql-4.1
Diffstat (limited to 'sql/ha_blackhole.cc')
-rw-r--r--sql/ha_blackhole.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/sql/ha_blackhole.cc b/sql/ha_blackhole.cc
index 5b1527aa210..d994b7d314a 100644
--- a/sql/ha_blackhole.cc
+++ b/sql/ha_blackhole.cc
@@ -124,14 +124,16 @@ int ha_blackhole::external_lock(THD *thd, int lock_type)
}
+uint ha_blackhole::lock_count(void) const
+{
+ DBUG_RETURN(0);
+}
+
THR_LOCK_DATA **ha_blackhole::store_lock(THD *thd,
THR_LOCK_DATA **to,
enum thr_lock_type lock_type)
{
- if (lock_type != TL_IGNORE && lock.type == TL_UNLOCK)
- lock.type=lock_type;
- *to++= &lock;
- return to;
+ DEBUG_RETURN(to);
}