From 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Tue, 29 Jul 2014 17:12:47 +0000 Subject: Rename all patches that contain '::' as a path separator, and use '__' instead. --- .../files/patch-driver__execute.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 databases/mysql-connector-odbc/files/patch-driver__execute.c (limited to 'databases/mysql-connector-odbc/files/patch-driver__execute.c') diff --git a/databases/mysql-connector-odbc/files/patch-driver__execute.c b/databases/mysql-connector-odbc/files/patch-driver__execute.c new file mode 100644 index 000000000000..f191b08db140 --- /dev/null +++ b/databases/mysql-connector-odbc/files/patch-driver__execute.c @@ -0,0 +1,22 @@ +--- driver/execute.c.orig 2011-10-04 23:19:00.000000000 +0300 ++++ driver/execute.c 2011-10-15 12:07:45.000000000 +0300 +@@ -424,11 +424,19 @@ + data= buff; + break; + case SQL_C_SBIGINT: ++#ifdef MARIADB_BASE_VERSION ++ length= longlong2str(*((longlong*) data),buff, -10, 1) - buff; ++#else + length= longlong2str(*((longlong*) data),buff, -10) - buff; ++#endif + data= buff; + break; + case SQL_C_UBIGINT: ++#ifdef MARIADB_BASE_VERSION ++ length= longlong2str(*((ulonglong*) data),buff, 10, 1) - buff; ++#else + length= longlong2str(*((ulonglong*) data),buff, 10) - buff; ++#endif + data= buff; + break; + case SQL_C_FLOAT: -- cgit v1.2.3