Update database.php

This commit is contained in:
Namhyeon Go 2020-02-05 21:56:42 +09:00 committed by GitHub
parent 3bc800cbf5
commit 8776048502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1070,7 +1070,7 @@ if(!check_function_exists("exec_db_temp_clear")) {
if(!check_function_exists("close_db_connect")) {
function close_db_connect() {
$dbc = get_shared_var("dbc");
$dbc->close();
$dbc->query("KILL CONNECTION_ID()");
set_shared_var("dbc", null);
}
}