Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
c10f0555
Commit
c10f0555
authored
Aug 15, 2005
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't clear warnings for functions or triggers
Fixed failing test
parent
1a6f16ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
mysql-test/t/rpl_trigger.test
mysql-test/t/rpl_trigger.test
+1
-0
sql/sql_parse.cc
sql/sql_parse.cc
+3
-3
No files found.
mysql-test/t/rpl_trigger.test
View file @
c10f0555
...
@@ -87,6 +87,7 @@ insert into t1 set a = now();
...
@@ -87,6 +87,7 @@ insert into t1 set a = now();
select
a
=
b
&&
a
=
c
from
t1
;
select
a
=
b
&&
a
=
c
from
t1
;
let
$time
=
`select a from t1`
;
let
$time
=
`select a from t1`
;
save_master_pos
;
connection
slave
;
connection
slave
;
sync_with_master
;
sync_with_master
;
--
disable_query_log
--
disable_query_log
...
...
sql/sql_parse.cc
View file @
c10f0555
...
@@ -5208,11 +5208,11 @@ void mysql_reset_thd_for_next_command(THD *thd)
...
@@ -5208,11 +5208,11 @@ void mysql_reset_thd_for_next_command(THD *thd)
SERVER_QUERY_NO_INDEX_USED
|
SERVER_QUERY_NO_INDEX_USED
|
SERVER_QUERY_NO_GOOD_INDEX_USED
);
SERVER_QUERY_NO_GOOD_INDEX_USED
);
thd
->
tmp_table_used
=
0
;
thd
->
tmp_table_used
=
0
;
if
(
opt_bin_log
)
reset_dynamic
(
&
thd
->
user_var_events
);
thd
->
clear_error
();
if
(
!
thd
->
in_sub_stmt
)
if
(
!
thd
->
in_sub_stmt
)
{
{
if
(
opt_bin_log
)
reset_dynamic
(
&
thd
->
user_var_events
);
thd
->
clear_error
();
thd
->
total_warn_count
=
0
;
// Warnings for this query
thd
->
total_warn_count
=
0
;
// Warnings for this query
thd
->
rand_used
=
0
;
thd
->
rand_used
=
0
;
thd
->
sent_row_count
=
thd
->
examined_row_count
=
0
;
thd
->
sent_row_count
=
thd
->
examined_row_count
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment