diff options
author | unknown <serg@janus.mylan> | 2007-10-12 10:22:49 +0200 |
---|---|---|
committer | unknown <serg@janus.mylan> | 2007-10-12 10:22:49 +0200 |
commit | 47d484153f57b6852a69cdf6f6defa3b610ef6c5 (patch) | |
tree | b16598f6ef7f057833a028874130e3c5efc04e4c /sql/sql_delete.cc | |
parent | 212c7dfecc11c28487d4ff2c539038da279a5661 (diff) | |
download | mariadb-git-47d484153f57b6852a69cdf6f6defa3b610ef6c5.tar.gz |
make maria more pluggable
mysql-test/r/maria.result:
test for maria variables
mysql-test/t/maria.test:
test for maria variables
BitKeeper/etc/ignore:
Added sql/link_sources ylwrap libmysql_r/link_sources to the ignore list
sql/sql_delete.cc:
fix incorrect check
storage/maria/ha_maria.cc:
maria status and pagecache variables
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r-- | sql/sql_delete.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index f53d01aa30b..87739b7fb2d 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -939,7 +939,7 @@ bool mysql_truncate(THD *thd, TABLE_LIST *table_list, bool dont_send_ok) is correctly created as non-transactional but then, when truncated, is recreated as transactional. */ - if (table_type->db_type == DB_TYPE_MARIA) + if (table_type == maria_hton) create_info.transactional= HA_CHOICE_NO; #endif close_temporary_table(thd, table, 0, 0); // Don't free share |