From f0505c0902218f129bcdcf7626dd5b382e11e920 Mon Sep 17 00:00:00 2001 From: "tim@cane.mysql.fi" <> Date: Thu, 28 Dec 2000 19:26:32 +0200 Subject: Don't use subtransactions on write_row() and delete_row() in ha_berkeley. A few smaller bug fixes. --- sql/ha_myisam.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/ha_myisam.cc') 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; -- cgit v1.2.1