Changeset: 93d7d6978074 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=93d7d6978074
Modified Files:
clients/mapiclient/mclient.c
Branch: Mar2011
Log Message:
backout commit bc35e7c947c7, keep -T option dropped
diffs (24 lines):
diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -2633,7 +2633,7 @@
q = NULL;
} else if (strcmp(buf, "language") == 0) {
language = strdup(q); /* leak */
- if (strstr(language, "sql") == language) {
+ if (strcmp(language, "sql") == 0) {
mode = SQL;
q = NULL;
} else if (strcmp(language, "mal") == 0) {
@@ -2715,9 +2715,8 @@
case 'l':
/* accept unambiguous prefix of language */
if (strcmp(optarg, "sql") == 0 ||
- strcmp(optarg, "sq") == 0 || strcmp(optarg, "s") ==
0 ||
- strstr(optarg, "sql") == optarg) {
- language = optarg;
+ strcmp(optarg, "sq") == 0 || strcmp(optarg, "s") ==
0) {
+ language = "sql";
mode = SQL;
} else if (strcmp(optarg, "mil") == 0 ||
strcmp(optarg, "mi") == 0) {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list