summaryrefslogtreecommitdiff
path: root/sql/sql_truncate.h
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-05-27 18:11:55 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-05-27 18:11:55 -0300
commit3cc56cb5ad789bca8fac743007947d718980e774 (patch)
treeca61ea93a3213ce7dd2696e368401f3002a4743f /sql/sql_truncate.h
parent2d3e5019d451d5f6b88b3dfd549e88ba3e5dce92 (diff)
downloadmariadb-git-3cc56cb5ad789bca8fac743007947d718980e774.tar.gz
Bug#42643: InnoDB does not support replication of TRUNCATE TABLE
Post-merge fix: Pass the right parameter type to open_and_lock_tables. Passing FALSE ensures that derived table handling is disabled, truncate only operates on base tables.
Diffstat (limited to 'sql/sql_truncate.h')
-rw-r--r--sql/sql_truncate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_truncate.h b/sql/sql_truncate.h
index a9eec384718..11c07c7187c 100644
--- a/sql/sql_truncate.h
+++ b/sql/sql_truncate.h
@@ -16,7 +16,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
class THD;
-class TABLE_LIST;
+struct TABLE_LIST;
bool mysql_truncate_table(THD *thd, TABLE_LIST *table_ref);