fix list tables

This commit is contained in:
brianb 2004-02-07 01:19:07 +00:00
parent fcf4e1a53a
commit ab82227578
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
#include "dmalloc.h"
#endif
#define MDB_DEBUG_WRITE 1
#define MDB_DEBUG_WRITE 0
void
_mdb_put_int16(unsigned char *buf, guint32 offset, guint32 value)

View File

@ -527,7 +527,7 @@ void mdb_sql_listtables(MdbSQL *sql)
/* if it's a table */
if (entry->object_type == MDB_TABLE) {
if (strncmp (entry->object_name, "MSys", 4)) {
col = g_ptr_array_index(table->columns,0);
//col = g_ptr_array_index(table->columns,0);
fields[0].value = entry->object_name;
fields[0].siz = strlen(entry->object_name);
fields[0].is_fixed = 0;