mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 19:56:53 -04:00
- Mark ignored for versions 51 and 55 of mysql [1] - Move things to proper places in Makefile - Remove PLIST_SUB, no subs needed - Define DOCS option, port uses PORTDOCS - Switch to PLIST_FILES, port installs only 3 files - Remove Author tag from pkg-descr file PR: 197348 [1] Submitted by: timp87@gmail.com [1] Approved by: maintainer timeout
22 lines
703 B
C
22 lines
703 B
C
--- driver/execute.c.orig 2014-11-05 14:41:16.000000000 +0300
|
|
+++ driver/execute.c 2014-11-05 14:44:10.000000000 +0300
|
|
@@ -563,11 +563,19 @@
|
|
*res= buff;
|
|
break;
|
|
case SQL_C_SBIGINT:
|
|
+#ifdef MARIADB_BASE_VERSION
|
|
+ *length= longlong2str(*((longlong*) *res), buff, -10, 1) - buff;
|
|
+#else
|
|
*length= longlong2str(*((longlong*) *res), buff, -10) - buff;
|
|
+#endif
|
|
*res= buff;
|
|
break;
|
|
case SQL_C_UBIGINT:
|
|
+#ifdef MARIADB_BASE_VERSION
|
|
+ *length= longlong2str(*((ulonglong*) *res), buff, 10, 1) - buff;
|
|
+#else
|
|
*length= longlong2str(*((ulonglong*) *res), buff, 10) - buff;
|
|
+#endif
|
|
*res= buff;
|
|
break;
|
|
case SQL_C_FLOAT:
|