Changeset: fd4bc33ca833 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fd4bc33ca833
Modified Files:
clients/mapiclient/mclient.c
Branch: Aug2011
Log Message:
mclient: fix display of clob columns with only NULL values.
This is an extension of changeset d369972039ad which only dealt with
varchar.
diffs (15 lines):
diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -1063,7 +1063,10 @@ SQLrenderer(MapiHdl hdl, char singleinst
len[i] = mapi_get_len(hdl, i);
if (len[i] == 0 &&
((s = mapi_get_type(hdl, i)) == NULL ||
- strcmp(s, "varchar") != 0)) {
+ (strcmp(s, "varchar") != 0 &&
+ strcmp(s, "clob") != 0 &&
+ strcmp(s, "char") != 0 &&
+ strcmp(s, "str") != 0))) {
/* no table width known, use maximum, rely on
* squeezing later on to fix it to whatever is
* available; note that for a column type of
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list