~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
..
build 7.5.2 13 years ago Aleksandr Kuzminsky 1. Set Percona Server version 11.0; 2. Added .spec Diff
HandlerSocket-Plugin-for-MySQL 146.2.3 13 years ago Aleksandr Kuzminsky Added HandlerSocket-Plugin-for-MySQL sources Diff
mysql-test 6.1.2 13 years ago kinoyasu reorder and adjust mysql-test acript and add simpl Diff
UDF 174.1.1 13 years ago Aleksandr Kuzminsky added UDF functions from maatkit Diff
bug580324.patch 149.1.1 13 years ago Oleg Tsarev port Oleg's patches to 5.1.53 3.6 KB Diff Download File
bug677407.patch 176 13 years ago Oleg Tsarev port Oleg's and Alexey's patches to 5.1.54 4.9 KB Diff Download File
bugfix48929.patch 176 13 years ago Oleg Tsarev port Oleg's and Alexey's patches to 5.1.54 4.5 KB Diff Download File
control_online_alter_index.patch 177.4.1 13 years ago Oleg Tsarev fix bug #688643 Command-line option process separ 4.2 KB Diff Download File
COPYING.innodb-deadlock-count-patch 7.3.1 13 years ago Oleg Tsarev fix bug 569288 1.6 KB Diff Download File
COPYING.show_temp_51 2 13 years ago kinoyasu merge 5.1.45 rev 36: but I cannot accept show_temp 1.6 KB Diff Download File
error_pad.patch 129.1.1 13 years ago Oleg Tsarev fix diff -Nur syntax to diff -ruN 8 KB Diff Download File
fix-bug671764.patch 177.4.1 13 years ago Oleg Tsarev fix bug #688643 Command-line option process separ 1 KB Diff Download File
File handlersocket.patch 174.1.4 13 years ago Aleksandr Kuzminsky fixed handlersocket build bug 893 bytes Diff Download File
i_s_innodb_buffer_pool_pages.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 25.3 KB Diff Download File
innodb_adjust_defaults.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 2 KB Diff Download File
innodb_admin_command_base.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 5.4 KB Diff Download File
innodb_buffer_pool_shm.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 35.9 KB Diff Download File
innodb_deadlock_count.patch 166.3.1 13 years ago kinoyasu backport adaptive_checkpoint=keep_average and inno 3.4 KB Diff Download File
innodb_dict_size_limit.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 15.8 KB Diff Download File
innodb_expand_import.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 19 KB Diff Download File
innodb_expand_undo_slots.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 6.9 KB Diff Download File
innodb_extend_slow.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 29.1 KB Diff Download File
innodb_extra_rseg.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 13.6 KB Diff Download File
innodb_fast_checksum.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 12 KB Diff Download File
innodb_fast_shutdown.patch 166.3.1 13 years ago kinoyasu backport adaptive_checkpoint=keep_average and inno 7.9 KB Diff Download File
innodb_files_extend.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 20.9 KB Diff Download File
innodb_fix_misc.patch 176.1.1 13 years ago Aleksandr Kuzminsky Maatkit UDF functions are added to a distribution 5.2 KB Diff Download File
innodb_io_patches.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 47.7 KB Diff Download File
innodb_lru_dump_restore.patch 177.5.1 13 years ago Alexey Kopytov Bug #692211: innodb_auto_lru_dump crashes if ib_lr 23.8 KB Diff Download File
innodb_opt_lru_count.patch 149 13 years ago kinoyasu ported Yasufumi patches for 5.1.53 9.8 KB Diff Download File
innodb_overwrite_relay_log_info.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 16.8 KB Diff Download File
innodb_pass_corrupt_table.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 38.8 KB Diff Download File
innodb_purge_thread.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 15.4 KB Diff Download File
innodb_recovery_patches.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 16.8 KB Diff Download File
innodb_separate_doublewrite.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 35.3 KB Diff Download File
innodb_show_enhancements.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 8.5 KB Diff Download File
innodb_show_lock_name.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 12.1 KB Diff Download File
innodb_show_status.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 14.4 KB Diff Download File
innodb_show_sys_tables.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 19.3 KB Diff Download File
innodb_split_buf_pool_mutex.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 112 KB Diff Download File
innodb_stats.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 61.6 KB Diff Download File
innodb_swap_builtin_plugin.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 8.7 KB Diff Download File
innodb_thread_concurrency_timer_based.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 6.7 KB Diff Download File
File install_tests.sh 166.2.1 13 years ago Oleg Tsarev add --without-response_time_distribution 795 bytes Diff Download File
log_connection_error.patch 176 13 years ago Oleg Tsarev port Oleg's and Alexey's patches to 5.1.54 2.8 KB Diff Download File
lrusort.py 1 13 years ago kinoyasu merge, reorder and port patches based on mysql 5.1 696 bytes Diff Download File
Makefile 176.1.1 13 years ago Aleksandr Kuzminsky Maatkit UDF functions are added to a distribution 1.6 KB Diff Download File
microsec_process.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 1.7 KB Diff Download File
mysql-syslog.patch 166.2.1 13 years ago Oleg Tsarev add --without-response_time_distribution 3.9 KB Diff Download File
mysql-test.diff 158.1.1 13 years ago Aleksandr Kuzminsky Fixed Bug #676158 38.1 KB Diff Download File
mysql_dump_ignore_ct.patch 102.1.1 13 years ago kinoyasu add header and rule, as the first step of the reor 2.5 KB Diff Download File
mysql_remove_eol_carret.patch 166.2.1 13 years ago Oleg Tsarev add --without-response_time_distribution 2.9 KB Diff Download File
File normalize_patches.sh 176 13 years ago Oleg Tsarev port Oleg's and Alexey's patches to 5.1.54 1.5 KB Diff Download File
optimizer_fix.patch 177.4.1 13 years ago Oleg Tsarev fix bug #688643 Command-line option process separ 6.8 KB Diff Download File
percona-support.patch 174.1.10 13 years ago Aleksandr Kuzminsky Added UDF installation instructions, some other mi 1 KB Diff Download File
profiling_slow.patch 177.4.1 13 years ago Oleg Tsarev fix bug #688643 Command-line option process separ 12.6 KB Diff Download File
query_cache_enhance.patch 177.4.1 13 years ago Oleg Tsarev fix bug #688643 Command-line option process separ 28.6 KB Diff Download File
README.txt 1 13 years ago kinoyasu merge, reorder and port patches based on mysql 5.1 481 bytes Diff Download File
File regenerate_patch.sh 138.1.1 13 years ago Oleg Tsarev fix bug 673426 1.6 KB Diff Download File
remove_fcntl_excessive_calls.patch 133.1.1 13 years ago Oleg Tsarev port patches to 5.1.52 2.9 KB Diff Download File
response-time-distribution.patch 177.4.1 13 years ago Oleg Tsarev fix bug #688643 Command-line option process separ 31 KB Diff Download File
series 165 13 years ago Oleg Tsarev return back patch mysql_remove_eol_carret.patch 1.4 KB Diff Download File
show_patches.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 10.2 KB Diff Download File
show_slave_status_nolock.patch 176 13 years ago Oleg Tsarev port Oleg's and Alexey's patches to 5.1.54 4.8 KB Diff Download File
show_temp_51.patch 175 13 years ago kinoyasu Yasufumi patches are ported to 5.1.54 14.3 KB Diff Download File
slow_extended.patch 182 13 years ago Alexey Kopytov Bug #693818: funcs_1.storedproc fails on 12.4 The 55.5 KB Diff Download File
sql_no_fcache.patch 176 13 years ago Oleg Tsarev port Oleg's and Alexey's patches to 5.1.54 13.6 KB Diff Download File
suppress_log_warning_1592.patch 177.4.1 13 years ago Oleg Tsarev fix bug #688643 Command-line option process separ 3.2 KB Diff Download File
userstat.patch 177.4.1 13 years ago Oleg Tsarev fix bug #688643 Command-line option process separ 124 KB Diff Download File