summaryrefslogtreecommitdiff
path: root/sql/examples
diff options
context:
space:
mode:
authoristruewing@chilla.local <>2007-02-02 23:05:46 +0100
committeristruewing@chilla.local <>2007-02-02 23:05:46 +0100
commit77e99fe2cee275cbdebee1801013b0d1c84522aa (patch)
tree460389b26977e71c319a4b21f9caa45f3928a060 /sql/examples
parent41b6b32ef79e6f8a4be2b1e6b7613a206a2178a6 (diff)
parent972df14cc6554a4950085d1c94ca1fe738583988 (diff)
downloadmariadb-git-77e99fe2cee275cbdebee1801013b0d1c84522aa.tar.gz
Merge chilla.local:/home/mydev/mysql-4.1-axmrg
into chilla.local:/home/mydev/mysql-5.0-axmrg
Diffstat (limited to 'sql/examples')
-rw-r--r--sql/examples/ha_tina.cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/examples/ha_tina.cc b/sql/examples/ha_tina.cc
index f328a631d10..383feb60050 100644
--- a/sql/examples/ha_tina.cc
+++ b/sql/examples/ha_tina.cc
@@ -276,6 +276,18 @@ bool tina_end()
return FALSE;
}
+bool tina_end()
+{
+ if (tina_init)
+ {
+ hash_free(&tina_open_tables);
+ VOID(pthread_mutex_destroy(&tina_mutex));
+ }
+ tina_init= 0;
+ return FALSE;
+}
+
+
/*
Finds the end of a line.
Currently only supports files written on a UNIX OS.