summaryrefslogtreecommitdiff
path: root/myisammrg/myrg_locking.c
diff options
context:
space:
mode:
authorunknown <serg@sergbook.mysql.com>2002-06-25 16:32:16 +0200
committerunknown <serg@sergbook.mysql.com>2002-06-25 16:32:16 +0200
commit49f161cf17cb8fefe6bf0ad341e09faae24ac5ba (patch)
tree5aafc6ed30e3f9c1935748942adb550c92a38aac /myisammrg/myrg_locking.c
parent2a32642d8fc8e335016a5c9bc99b82065428645a (diff)
downloadmariadb-git-49f161cf17cb8fefe6bf0ad341e09faae24ac5ba.tar.gz
do not crash on myrg_rprev/myrg_rnext if no current table
(as when previous myrg_rkey failed, e.g. found nothing) myisammrg/myrg_delete.c: style fix myisammrg/myrg_locking.c: style fix myisammrg/myrg_rnext.c: do not crash on rprev/rnext if no current table (as when previous rkey failed, e.g. found nothing) myisammrg/myrg_rprev.c: do not crash on rprev/rnext if no current table (as when previous rkey failed, e.g. found nothing) myisammrg/myrg_rrnd.c: style fix myisammrg/myrg_rsame.c: style fix myisammrg/myrg_update.c: style fix myisammrg/myrg_write.c: style fix
Diffstat (limited to 'myisammrg/myrg_locking.c')
-rw-r--r--myisammrg/myrg_locking.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/myisammrg/myrg_locking.c b/myisammrg/myrg_locking.c
index 41c972f72c0..e5a8d3f3d9d 100644
--- a/myisammrg/myrg_locking.c
+++ b/myisammrg/myrg_locking.c
@@ -20,9 +20,7 @@
#include "myrg_def.h"
-int myrg_lock_database(
-MYRG_INFO *info,
-int lock_type)
+int myrg_lock_database(MYRG_INFO *info, int lock_type)
{
int error,new_error;
MYRG_TABLE *file;