Changeset: 933f034e1832 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=933f034e1832
Modified Files:
        clients/mapiclient/dump.c
        clients/mapiclient/mclient.c
Branch: int128
Log Message:

mapiclient should be aware of type hugeint (from the server),
even if the client is built on a system without int128 support


diffs (27 lines):

diff --git a/clients/mapiclient/dump.c b/clients/mapiclient/dump.c
--- a/clients/mapiclient/dump.c
+++ b/clients/mapiclient/dump.c
@@ -429,10 +429,8 @@ dump_type(Mapi mid, stream *toConsole, c
                space = mnstr_printf(toConsole, "TINYINT");
        } else if (strcmp(c_type, "bigint") == 0) {
                space = mnstr_printf(toConsole, "BIGINT");
-#ifdef HAVE_HGE
        } else if (strcmp(c_type, "hugeint") == 0) {
                space = mnstr_printf(toConsole, "HUGEINT");
-#endif
        } else if (strcmp(c_type, "date") == 0) {
                space = mnstr_printf(toConsole, "DATE");
        } else if (strcmp(c_type, "month_interval") == 0) {
diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -1164,9 +1164,7 @@ SQLrenderer(MapiHdl hdl, char singleinst
                        (strcmp(s, "int") == 0 ||
                         strcmp(s, "tinyint") == 0 ||
                         strcmp(s, "bigint") == 0 ||
-#ifdef HAVE_HGE
                         strcmp(s, "hugeint") == 0 ||
-#endif
                         strcmp(s, "wrd") == 0 ||
                         strcmp(s, "oid") == 0 ||
                         strcmp(s, "smallint") == 0 ||
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to