added support for INT8 types in query formats
authorewt <devnull@localhost>
Thu, 27 Jun 1996 18:14:45 +0000 (18:14 +0000)
committerewt <devnull@localhost>
Thu, 27 Jun 1996 18:14:45 +0000 (18:14 +0000)
CVS patchset: 682
CVS date: 1996/06/27 18:14:45

query.c

diff --git a/query.c b/query.c
index 60c4a30..beede3f 100644 (file)
--- a/query.c
+++ b/query.c
@@ -150,6 +150,11 @@ static const char * handleFormat(Header h, const char * chptr,
        printf(format, p);
        break;
 
+      case INT8_TYPE:
+       strcat(format, "d");
+       printf(format, *((int_8 *) p));
+       break;
+
       case INT32_TYPE:
        if (isDate) {
            strcat(format, "s");