patch-DBlib_DBlib_xs 561 B

1234567891011121314151617181920
  1. $OpenBSD: patch-DBlib_DBlib_xs,v 1.3 2016/03/28 11:17:06 sthen Exp $
  2. https://github.com/FreeTDS/freetds/issues/57
  3. --- DBlib/DBlib.xs.orig Mon Mar 28 12:07:31 2016
  4. +++ DBlib/DBlib.xs Mon Mar 28 12:12:02 2016
  5. @@ -137,7 +137,11 @@ typedef struct daterec
  6. #endif /* DBLIBVS < 1000 */
  7. #if !defined(DBMAXNAME)
  8. -#define DBMAXNAME MAXNAME
  9. +/*
  10. + * https://msdn.microsoft.com/en-us/library/ms176061.aspx
  11. + * https://github.com/FreeTDS/freetds/commit/a19a535e80542d6a26473f748c0d5aa21f8c4233
  12. + */
  13. +#define DBMAXNAME 128
  14. #endif
  15. typedef enum hash_key_id