diff --git a/mysql_convert_unicode.php b/mysql_convert_unicode.php index dfc833b44..6fe72994c 100644 --- a/mysql_convert_unicode.php +++ b/mysql_convert_unicode.php @@ -81,6 +81,7 @@ function confirmOP() { print "
".__("Converting database...")."
"; + db_query($link, "BEGIN"); db_query($link, "SET FOREIGN_KEY_CHECKS=0"); $result = db_query($link, "SHOW TABLES LIKE 'ttrss%'"); @@ -98,6 +99,7 @@ function confirmOP() { } db_query($link, "SET FOREIGN_KEY_CHECKS=1"); + db_query($link, "COMMIT"); print "