summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2003-10-20 13:45:28 +0500
committerunknown <gluh@gluh.mysql.r18.ru>2003-10-20 13:45:28 +0500
commit4ae56c050a03ed933c3fe53500d1e63015b41374 (patch)
tree47e63db5fc732a256e07ddbbe3a8559cf084288c /sql/sql_class.cc
parent45c1a753517df70f17c9dd76c859a27275f2d55d (diff)
parentb615639240b30b7eb7b453c321f714e92f7c8ede (diff)
downloadmariadb-git-4ae56c050a03ed933c3fe53500d1e63015b41374.tar.gz
Merge commit
sql/field.cc: Auto merged sql/item.cc: Auto merged sql/item.h: Auto merged sql/lex.h: Auto merged sql/protocol.cc: Auto merged sql/set_var.cc: Auto merged sql/set_var.h: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_yacc.yy: Auto merged
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index e240aed7e9f..588031643d4 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -279,6 +279,9 @@ void THD::cleanup(void)
close_thread_tables(this);
}
close_temporary_tables(this);
+ variables.datetime_formats[DATE_FORMAT_TYPE].clean();
+ variables.datetime_formats[TIME_FORMAT_TYPE].clean();
+ variables.datetime_formats[DATETIME_FORMAT_TYPE].clean();
delete_dynamic(&user_var_events);
hash_free(&user_vars);
if (global_read_lock)