summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorsvoj@april.(none) <>2006-04-06 15:19:01 +0500
committersvoj@april.(none) <>2006-04-06 15:19:01 +0500
commit209682e051977c5cca6af380f6ff202296c3984b (patch)
tree03df9bcbdcaf7e9d48482604e706d38dc3aa5635 /sql/sql_cache.cc
parentae532e2611066180d64386debfa6abe130100e50 (diff)
downloadmariadb-git-209682e051977c5cca6af380f6ff202296c3984b.tar.gz
Fix for bug#14945 "Truncate table doesn't reset the auto_increment
counter". When TRUNCATE TABLE was called within an stored procedure the auto_increment counter was not reset to 0 even if straight TRUNCATE for this table did this. This fix makes TRUNCATE in stored procedures to be handled exactly in the same way as straight TRUNCATE. We achieve this by rolling back the fix for bug 8850, which is no longer needed since stored procedures don't require prelocked mode anymore (and TRUNCATE is not allowed in stored functions or triggers).
Diffstat (limited to 'sql/sql_cache.cc')
0 files changed, 0 insertions, 0 deletions