Commit 27c2af97 authored by Georgi Kodinov's avatar Georgi Kodinov

merge

parents 5bba20bb ecef6c33
...@@ -196,6 +196,10 @@ test-bt-fast: ...@@ -196,6 +196,10 @@ test-bt-fast:
-cd mysql-test ; MTR_BUILD_THREAD=auto \ -cd mysql-test ; MTR_BUILD_THREAD=auto \
@PERL@ ./mysql-test-run.pl --force --comment=stress --suite=stress @PERL@ ./mysql-test-run.pl --force --comment=stress --suite=stress
test-bt-fast:
-cd mysql-test ; MTR_BUILD_THREAD=auto \
@PERL@ ./mysql-test-run.pl --force --comment=ps --ps-protocol --report-features
test-bt-debug: test-bt-debug:
-cd mysql-test ; MTR_BUILD_THREAD=auto \ -cd mysql-test ; MTR_BUILD_THREAD=auto \
@PERL@ ./mysql-test-run.pl --comment=debug --force --timer \ @PERL@ ./mysql-test-run.pl --comment=debug --force --timer \
...@@ -203,6 +207,8 @@ test-bt-debug: ...@@ -203,6 +207,8 @@ test-bt-debug:
test-bt-debug-fast: test-bt-debug-fast:
test-bt-debug-fast:
# Keep these for a while # Keep these for a while
test-pl: test test-pl: test
test-full-pl: test-full test-full-pl: test-full
......
...@@ -6913,6 +6913,10 @@ void run_query_stmt(MYSQL *mysql, struct st_command *command, ...@@ -6913,6 +6913,10 @@ void run_query_stmt(MYSQL *mysql, struct st_command *command,
Need to grab affected rows information before getting Need to grab affected rows information before getting
warnings here warnings here
*/ */
{
ulonglong affected_rows;
LINT_INIT(affected_rows);
if (!disable_info) if (!disable_info)
affected_rows= mysql_affected_rows(mysql); affected_rows= mysql_affected_rows(mysql);
...@@ -6941,7 +6945,7 @@ void run_query_stmt(MYSQL *mysql, struct st_command *command, ...@@ -6941,7 +6945,7 @@ void run_query_stmt(MYSQL *mysql, struct st_command *command,
if (!disable_info) if (!disable_info)
append_info(ds, affected_rows, mysql_info(mysql)); append_info(ds, affected_rows, mysql_info(mysql));
}
} }
end: end:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment