mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
- To avoid crashing in debug mode, the error message concerning the
making of the index is changed to a warning. modified: storage/connect/ha_connect.cc storage/connect/tabmul.cpp*
This commit is contained in:
8
storage/connect/tabmul.cpp
Normal file → Executable file
8
storage/connect/tabmul.cpp
Normal file → Executable file
@@ -125,15 +125,13 @@ PTDB TDBMUL::Duplicate(PGLOBAL g)
|
||||
bool TDBMUL::InitFileNames(PGLOBAL g)
|
||||
{
|
||||
#define PFNZ 4096
|
||||
char *pfn[PFNZ]/*, filename[_MAX_DRIVE+_MAX_DIR+_MAX_FNAME+_MAX_EXT]*/;
|
||||
// char* *pfn;
|
||||
char *filename;
|
||||
int rc, n = 0;
|
||||
char *pfn[PFNZ];
|
||||
char *filename;
|
||||
int rc, n = 0;
|
||||
|
||||
if (trace)
|
||||
htrc("in InitFileName: fn[]=%d\n", _MAX_DRIVE+_MAX_DIR+_MAX_FNAME+_MAX_EXT);
|
||||
|
||||
// pfn = (char**)PlugSubAlloc(g, NULL, PFNZ * sizeof(char*));
|
||||
filename = (char*)PlugSubAlloc(g, NULL, _MAX_DRIVE+_MAX_DIR+_MAX_FNAME+_MAX_EXT);
|
||||
|
||||
// The sub table may need to refer to the Table original block
|
||||
|
Reference in New Issue
Block a user