pike.git / lib / modules / Sql.pmod / tds.pike

version» Context lines:

pike.git/lib/modules/Sql.pmod/tds.pike:1205:    res = "-" + res;    }    TDS_CONV_WERROR("%O (scale: %d) ==> %O\n",    raw, scale, res);    return res;    }    case SYBUNIQUE:    {    return Standards.UUID.UUID(raw)->str();    } +  case SYBFLTN: +  { +  return sprintf("%g", @array_sscanf(raw, "%-" + sizeof(raw) + "F")); +  }    case SYBREAL:    case SYBFLT8:    default:    // FIXME:    TDS_CONV_WERROR("Not yet supported: %d (%O)\n",    info->cardinal_type, raw);    werror("TDS: WARNING: Datatype %d not yet supported. raw: %O\n",    info->cardinal_type, raw);    return raw;    case SYBBIT: