mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
do not crash on myrg_rprev/myrg_rnext if no current table
(as when previous myrg_rkey failed, e.g. found nothing)
This commit is contained in:
parent
a0cfa78970
commit
aff5d8fd7f
8 changed files with 16 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue