mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user