3879 Alexander Barkov 2012-03-29
Fixing an error found by gcc 4.6.2-12
mysql-trunk/strings/ctype-uca.c:20908:11: error:
array subscript is above array bounds [-Werror=array-bounds]
Changing the loop not to go outside the limit.
modified:
strings/ctype-uca.c
3878 Marko Mäkelä 2012-03-29
Fix attributes on function prototypes.
modified:
storage/innobase/include/dict0dict.h
=== modified file 'strings/ctype-uca.c'
--- a/strings/ctype-uca.c 2012-03-06 14:29:42 +0000
+++ b/strings/ctype-uca.c 2012-03-29 13:11:42 +0000
@@ -20903,7 +20903,7 @@ static int
my_coll_rule_expand(my_wc_t *wc, size_t limit, my_wc_t code)
{
size_t i;
- for (i= 0; i <= limit; i++)
+ for (i= 0; i < limit; i++)
{
if (wc[i] == 0)
{
No bundle (reason: useless for push emails).| Thread |
|---|
| • bzr push into mysql-trunk branch (alexander.barkov:3878 to 3879) | Alexander Barkov | 29 Mar |