Skip to content
Snippets Groups Projects
Commit 3ecee950 authored by Stephen R. van den Berg's avatar Stephen R. van den Berg
Browse files

Sql: Chain explicit destructs to the low-level driver.

parent ab4dceb9
No related branches found
No related tags found
Loading
...@@ -367,6 +367,11 @@ void create(string|object host, void|string|mapping(string:int|string) db, ...@@ -367,6 +367,11 @@ void create(string|object host, void|string|mapping(string:int|string) db,
decode_datetime = master_sql->decode_datetime || .sql_util.fallback; decode_datetime = master_sql->decode_datetime || .sql_util.fallback;
} }
protected void destroy() {
if (master_sql)
destruct(master_sql);
}
//! Returns true if the connection seems to be open. //! Returns true if the connection seems to be open.
//! //!
//! @note //! @note
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment