1 |
commit: ad2e63d56dca89b9b199745d96bf3e6f69763f6d |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 28 19:42:08 2013 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 28 19:42:08 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql-extras.git;a=commit;h=ad2e63d5 |
7 |
|
8 |
Isn't tweak patches by hand fun? |
9 |
|
10 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
11 |
|
12 |
--- |
13 |
07110_all_mysql_gcc-4.2_5.1.69.patch | 3 +-- |
14 |
1 file changed, 1 insertion(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/07110_all_mysql_gcc-4.2_5.1.69.patch b/07110_all_mysql_gcc-4.2_5.1.69.patch |
17 |
index e897fd5..3d0a742 100644 |
18 |
--- a/07110_all_mysql_gcc-4.2_5.1.69.patch |
19 |
+++ b/07110_all_mysql_gcc-4.2_5.1.69.patch |
20 |
@@ -1260,13 +1260,12 @@ diff -ur mysql-orig/sql/item_func.cc mysql/sql/item_func.cc |
21 |
diff -ur mysql-orig/sql/item_func.h mysql/sql/item_func.h |
22 |
--- mysql-orig/sql/item_func.h 2012-08-14 01:12:29.423437567 +0000 |
23 |
+++ mysql/sql/item_func.h 2012-08-14 01:14:59.402197785 +0000 |
24 |
-@@ -421,7 +421,7 @@ |
25 |
+@@ -421,6 +421,6 @@ |
26 |
const char *func_name() const { return "cast_as_unsigned"; } |
27 |
void fix_length_and_dec() |
28 |
{ |
29 |
- max_length= min(args[0]->max_length,MY_INT64_NUM_DECIMAL_DIGITS); |
30 |
+ max_length= MYSQL_MIN(args[0]->max_length,MY_INT64_NUM_DECIMAL_DIGITS); |
31 |
- unsigned_flag=1; |
32 |
} |
33 |
longlong val_int(); |
34 |
diff -ur mysql-orig/sql/item_strfunc.cc mysql/sql/item_strfunc.cc |