mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
fix list tables
This commit is contained in:
parent
fcf4e1a53a
commit
ab82227578
@ -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)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user