result->maxrows :
                args.count;
        if(args.type == DBR_STRING && args.status == ECA_NORMAL) {
-               for(i = 0 ; i < *(result->rows) ; i++) {
-                       strcpy((result->val)[i], buffer[i]);
+#if 1
+               if(*(result->rows) == 1) {
+                       strcpy(result->val[0], buffer);
+               } else {
+#endif
+                       for(i = 0 ; i < *(result->rows) ; i++) {
+                               strcpy((result->val)[i], buffer[i]);
+                       }
+#if 1
                }
+#endif
        } else {
                Param_strerror((Param *) result->my, ca_message(args.status));
                *(result->rows) = 0;