Initialise variables, where appropriate

This commit is contained in:
Ian Barwick
2017-08-14 15:11:42 +09:00
parent 4260fdf1e7
commit 3b2158edbf
13 changed files with 383 additions and 345 deletions

View File

@@ -18,6 +18,8 @@ typedef struct
ControlFileData *control_file;
} ControlFileInfo;
#define T_CONTROLFILEINFO_INITIALIZER { false, NULL }
extern DBState get_db_state(const char *data_directory);
extern const char * describe_db_state(DBState state);
extern int get_data_checksum_version(const char *data_directory);