~percona-dev/percona-server/bug693818

  • Committer: Alexey Kopytov
  • Date: 2010-12-24 16:44:23 UTC
  • Revision ID: akopytov@gmail.com-20101224164423-f24rvg9u37aeqee0
Bug #693818: funcs_1.storedproc fails on 12.4

The problem was that the slow_extended patch changed
mysql_execute_command() so that thd->row_count is unconditionally reset
to 1 before statement execution. This could lead to incorrectly reported
row numbers in warning or error messages for stored routines.

The reason for resetting row_count in slow_extended.patch is that we
would like to see separate stats for individual statements in stored
routines. The solution is to remember the row_count value at the start
of a statement execution instead of resetting it. This way we can
calculate the number of rows corresponding to the last statement by
subtracting the original value from the current one.

Since the regression tests for slow_extended were broken on Mac OS X,
they were also fixed as a part of this bugfix.
Filename Latest Rev Last Changed Committer Comment Size
..
src 174.1.1 13 years ago Aleksandr Kuzminsky added UDF functions from maatkit Diff
configure.ac 174.1.1 13 years ago Aleksandr Kuzminsky added UDF functions from maatkit 263 bytes Diff Download File
Makefile.am 174.1.1 13 years ago Aleksandr Kuzminsky added UDF functions from maatkit 14 bytes Diff Download File