summaryrefslogtreecommitdiff
path: root/sql/ha_blackhole.cc
diff options
context:
space:
mode:
authorjani@a193-229-222-105.elisa-laajakaista.fi <>2005-08-26 15:56:52 +0300
committerjani@a193-229-222-105.elisa-laajakaista.fi <>2005-08-26 15:56:52 +0300
commit7b7188cea65ace20e16b0defd278f17d37743c99 (patch)
treebd37457a3ede5f89be347874aa575e32bca225d0 /sql/ha_blackhole.cc
parent78a0585cea4d6369e29c0ab306799f823dac6636 (diff)
parent6b4baf48a503e86e065c8ced36a0e50103be919b (diff)
downloadmariadb-git-7b7188cea65ace20e16b0defd278f17d37743c99.tar.gz
Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0
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 43a286a541f..aee33cd0704 100644
--- a/sql/ha_blackhole.cc
+++ b/sql/ha_blackhole.cc
@@ -158,14 +158,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);
}