* [gentoo-commits] gentoo-x86 commit in dev-db/mysql-udf-base64/files: mysql-udf-base64-signedness.patch mysql-udf-base64.sql
@ 2011-10-19 11:59 Stefan Briesenick (sbriesen)
0 siblings, 0 replies; only message in thread
From: Stefan Briesenick (sbriesen) @ 2011-10-19 11:59 UTC (permalink / raw
To: gentoo-commits
sbriesen 11/10/19 11:59:44
Added: mysql-udf-base64-signedness.patch
mysql-udf-base64.sql
Log:
initial commit
(Portage version: 2.2.0_alpha67/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-db/mysql-udf-base64/files/mysql-udf-base64-signedness.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-udf-base64/files/mysql-udf-base64-signedness.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-udf-base64/files/mysql-udf-base64-signedness.patch?rev=1.1&content-type=text/plain
Index: mysql-udf-base64-signedness.patch
===================================================================
--- mysql-udf-base64.c.orig 2011-10-16 14:17:13.000000000 +0200
+++ mysql-udf-base64.c 2011-10-16 14:18:41.000000000 +0200
@@ -49,7 +49,7 @@
#include <string.h>
#include <mysql/mysql.h>
-static char base64_table[] =
+static const char base64_table[] =
{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
@@ -101,7 +101,7 @@
unsigned long len;
/* *is_null=0; */
- current = args->args[0];
+ current = (unsigned char*) args->args[0];
len = args->lengths[0];
if (len <= 0 || args->arg_type[0] != STRING_RESULT )
@@ -211,7 +211,7 @@
}
}
- current = args->args[0];
+ current = (unsigned char*) args->args[0];
len = args->lengths[0];
if (len <= 0 || args->arg_type[0] != STRING_RESULT )
1.1 dev-db/mysql-udf-base64/files/mysql-udf-base64.sql
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-udf-base64/files/mysql-udf-base64.sql?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-udf-base64/files/mysql-udf-base64.sql?rev=1.1&content-type=text/plain
Index: mysql-udf-base64.sql
===================================================================
drop function base64encode;
drop function base64decode;
create function base64encode returns string soname 'mysql_udf_base64.so';
create function base64decode returns string soname 'mysql_udf_base64.so';
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-19 11:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19 11:59 [gentoo-commits] gentoo-x86 commit in dev-db/mysql-udf-base64/files: mysql-udf-base64-signedness.patch mysql-udf-base64.sql Stefan Briesenick (sbriesen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox