Patch from Carl for relationships

This commit is contained in:
brianb
2000-04-22 21:34:32 +00:00
parent 1980ca9694
commit a23867cd2e
6 changed files with 116 additions and 4 deletions

View File

@@ -27,6 +27,7 @@ MdbHandle *mdb;
MdbCatalogEntry entry;
MdbTableDef *table;
MdbColumn *col;
char *the_relation;
if (argc < 2) {
fprintf (stderr, "Usage: %s <file> [<backend>]\n",argv[0]);
@@ -105,6 +106,14 @@ MdbColumn *col;
}
}
}
fprintf (stdout, "\n\n");
fprintf (stdout, "-- CREATE ANY Relationships ...\n");
fprintf (stdout, "\n");
the_relation=mdb_get_relationships(mdb);
while (the_relation[0] != '\0') {
fprintf(stdout,"%s\n",the_relation);
the_relation=mdb_get_relationships(mdb);
}
mdb_free_handle (mdb);
mdb_exit();