summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
author <Li-Bing.Song@sun.com>2010-10-16 20:03:44 +0800
committer <Li-Bing.Song@sun.com>2010-10-16 20:03:44 +0800
commit131e3e38fd301ae9beee898eacfd8d72f7983200 (patch)
treeb80bfb21f72caa6f3993cf3e8c3af746eff108ad /dbug
parent5f31581fffa451fad8bea05eaa37c06a3d81f924 (diff)
downloadmariadb-git-131e3e38fd301ae9beee898eacfd8d72f7983200.tar.gz
Bug#56118 STOP SLAVE does not wait till trx with CREATE TMP TABLE ends,
replication aborts When recieving a 'SLAVE STOP' command, slave SQL thread will roll back the transaction and stop immidiately if there is only transactional table updated, even through 'CREATE|DROP TEMPOARY TABLE' statement are in it. But These statements can never be rolled back. Because the temporary tables to the user session mapping remain until 'RESET SLAVE', Therefore it will abort SQL thread with an error that the table already exists or doesn't exist, when it restarts and executes the whole transaction again. After this patch, SQL thread always waits till the transaction ends and then stops, if 'CREATE|DROP TEMPOARY TABLE' statement are in it.
Diffstat (limited to 'dbug')
0 files changed, 0 insertions, 0 deletions