lp:~laurynas-biveinis/percona-server/bug810272

Created by Laurynas Biveinis on 2011-11-17 and last modified on 2011-11-18
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-server/bug810272
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

197. By Laurynas Biveinis on 2011-11-18

Fix bug 810272 (bogus snprintf return value checking and compilation
warning).

The warning is
sql/query_response_time.cc:147: error: comparison of unsigned
expression < 0 is always false
and it indicates that the if clause is dead code, because of the wrong
assumption that snprintf returns a negative value on buffer truncate
(and the old code stores that value in an unsigned type anyway).

The fix:
- Drops buffer overflow check and returns the truncated buffer instead.
- Replaces snprintf with my_snprintf.
- Removes pre- and post-snprintf buffer writes.
- Removes now-unused arguments of print_time, updates callers and
  makes it static.
- Removes STRING_OVERFLOW, QRT_STRING_OVERFLOW, changes
  QRT_POSITIVE_POWER_FILLER to "", simplifies QRT_TIME_STRING_LENGTH
  and QRT_TOTAL_STRING_LENGTH.
- Re-records the testcases.

196. By Alexey Kopytov on 2011-11-17

Automerge from trunk.

195. By Alexey Kopytov on 2011-11-17

Merge release-5.5.16-22.0 after tagging the top revision and removing
excessive tags that were apparently copied from a MySQL branch by
mistake.

194. By Stewart Smith on 2011-11-17

merge 5.5.17 port

193. By Alexey Kopytov on 2011-11-11

Automerge from the bug tree.

192. By Stewart Smith on 2011-10-24

merge trunk

191. By Stewart Smith on 2011-10-24

correct innodb-blocking-buffer-pool-restore parameter name in 5.5.16-22.0 release notes

190. By Stewart Smith on 2011-10-19

merge developer docs

189. By Stewart Smith on 2011-10-19

merge release notes for 5.5.16-22

188. By Stewart Smith on 2011-10-11

merge 5.5.16 port

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:percona-server/5.5
This branch contains Public information 
Everyone can see this information.