projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed functions isc_getmethod, isams_getmethod.
[idzebra-moved-to-github.git]
/
isamc
/
isamc.c
diff --git
a/isamc/isamc.c
b/isamc/isamc.c
index
842befa
..
d5a1bd1
100644
(file)
--- a/
isamc/isamc.c
+++ b/
isamc/isamc.c
@@
-4,7
+4,11
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: isamc.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: isamc.c,v $
- * Revision 1.18 1999-06-30 09:08:23 adam
+ * Revision 1.19 1999-07-14 10:59:27 adam
+ * Changed functions isc_getmethod, isams_getmethod.
+ * Improved fatal error handling (such as missing EXPLAIN schema).
+ *
+ * Revision 1.18 1999/06/30 09:08:23 adam
* Added coder to reset.
*
* Revision 1.17 1999/05/26 07:49:14 adam
* Added coder to reset.
*
* Revision 1.17 1999/05/26 07:49:14 adam
@@
-91,8
+95,9
@@
static void init_fc (ISAMC is, int cat);
#define SMALL_TEST 0
#define SMALL_TEST 0
-ISAMC_M isc_getmethod (void)
+void isc_getmethod (ISAMC_M m)
{
{
+
static struct ISAMC_filecat_s def_cat[] = {
#if SMALL_TEST
{ 32, 28, 0, 3 },
static struct ISAMC_filecat_s def_cat[] = {
#if SMALL_TEST
{ 32, 28, 0, 3 },
@@
-106,7
+111,6
@@
ISAMC_M isc_getmethod (void)
{ 32768, 32000, 31000, 0 },
#endif
};
{ 32768, 32000, 31000, 0 },
#endif
};
- ISAMC_M m = (ISAMC_M) xmalloc (sizeof(*m));
m->filecat = def_cat;
m->code_start = NULL;
m->filecat = def_cat;
m->code_start = NULL;
@@
-119,11
+123,8
@@
ISAMC_M isc_getmethod (void)
m->debug = 1;
m->max_blocks_mem = 10;
m->debug = 1;
m->max_blocks_mem = 10;
-
- return m;
}
}
-
ISAMC isc_open (BFiles bfs, const char *name, int writeflag, ISAMC_M method)
{
ISAMC is;
ISAMC isc_open (BFiles bfs, const char *name, int writeflag, ISAMC_M method)
{
ISAMC is;