Fixes for OS2.

Fix bug in isamlog
Add argument types to function declarations.
This commit is contained in:
monty@hundin.mysql.fi 2001-08-22 01:45:07 +03:00
commit 733f865f54
137 changed files with 9927 additions and 852 deletions

View file

@ -18,9 +18,9 @@
#include "mymrgdef.h"
int myrg_delete(info,record)
MYRG_INFO *info;
const byte *record;
int myrg_delete(
MYRG_INFO *info,
const byte *record)
{
if (!info->current_table)
{

View file

@ -20,9 +20,9 @@
#include "mymrgdef.h"
int myrg_lock_database(info,lock_type)
MYRG_INFO *info;
int lock_type;
int myrg_lock_database(
MYRG_INFO *info,
int lock_type)
{
int error,new_error;
MYRG_TABLE *file;

View file

@ -30,10 +30,10 @@
*/
MYRG_INFO *myrg_open(name,mode,handle_locking)
const char *name;
int mode;
int handle_locking;
MYRG_INFO *myrg_open(
const char *name,
int mode,
int handle_locking)
{
int save_errno,i,errpos;
uint files,dir_length,length;

View file

@ -24,8 +24,7 @@
done for all single user files to get changes in database */
int myrg_panic(flag)
enum ha_panic_function flag;
int myrg_panic(enum ha_panic_function flag)
{
int error=0;
LIST *list_element,*next_open;