mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-03-10 00:20:54 +08:00
patch default_values from Nirgal Vourgère
This commit is contained in:
@@ -52,6 +52,8 @@ main (int argc, char **argv)
|
||||
{"namespace", 1, NULL, 'N'},
|
||||
{"drop-table", 0, NULL, 0},
|
||||
{"no-drop-table", 0, NULL, 0},
|
||||
{"default-values", 0, NULL, 0},
|
||||
{"no-default-values", 0, NULL, 0},
|
||||
{"not-null", 0, NULL, 0},
|
||||
{"no-not-null", 0, NULL, 0},
|
||||
{"not-empty", 0, NULL, 0},
|
||||
@@ -88,6 +90,14 @@ main (int argc, char **argv)
|
||||
export_options &= ~MDB_SHEXP_CST_NOTNULL;
|
||||
break;
|
||||
}
|
||||
if (!strcmp(long_options[option_index].name, "default-values")) {
|
||||
export_options |= MDB_SHEXP_DEFVALUES;
|
||||
break;
|
||||
}
|
||||
if (!strcmp(long_options[option_index].name, "no-default-values")) {
|
||||
export_options &= ~MDB_SHEXP_DEFVALUES;
|
||||
break;
|
||||
}
|
||||
if (!strcmp(long_options[option_index].name, "not-empty")) {
|
||||
export_options |= MDB_SHEXP_CST_NOTEMPTY;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user