summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authorunknown <tim@cane.mysql.fi>2000-12-28 19:26:32 +0200
committerunknown <tim@cane.mysql.fi>2000-12-28 19:26:32 +0200
commitced74d2450befffa660235ac36f28a63335fbcd6 (patch)
treee282645a6cdb01e9ba6603a5ad4eadd109116a2d /sql/ha_myisam.cc
parent03cd236f8f9214fd33877729597657e9446c0a98 (diff)
downloadmariadb-git-ced74d2450befffa660235ac36f28a63335fbcd6.tar.gz
Don't use subtransactions on write_row() and delete_row() in
ha_berkeley. A few smaller bug fixes. sql/ha_berkeley.cc: - Don't use subtransactions on write_row() and delete_row() - Bug fixes for sharing DB *file sql/ha_berkeley.h: - Don't use subtransactions on write_row() and delete_row() - Bug fixes for sharing DB *file sql/ha_myisam.cc: - fix compiler warning sql/log_event.cc: - fix compiler warning
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r--sql/ha_myisam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc
index c0f7b73a856..ecebe9d4ff2 100644
--- a/sql/ha_myisam.cc
+++ b/sql/ha_myisam.cc
@@ -1103,7 +1103,7 @@ int ha_myisam::ft_read(byte * buf)
thread_safe_increment(ha_read_next_count,&LOCK_status); // why ?
- if (error=ft_read_next((FT_DOCLIST *) ft_handler,(char*) buf))
+ if ((error=ft_read_next((FT_DOCLIST *) ft_handler,(char*) buf)))
ft_handler=NULL; // Magic here ! See Item_func_match::val()
// and ha_myisam::index_init()
table->status=error ? STATUS_NOT_FOUND: 0;