summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authortim@cane.mysql.fi <>2000-12-28 19:26:32 +0200
committertim@cane.mysql.fi <>2000-12-28 19:26:32 +0200
commitf0505c0902218f129bcdcf7626dd5b382e11e920 (patch)
treee282645a6cdb01e9ba6603a5ad4eadd109116a2d /sql/ha_myisam.cc
parenta23a5d98604f2b4ce46f69e97601522aec59b819 (diff)
downloadmariadb-git-f0505c0902218f129bcdcf7626dd5b382e11e920.tar.gz
Don't use subtransactions on write_row() and delete_row() in
ha_berkeley. A few smaller bug fixes.
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;