You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the structure of the MariaDB dump file, below, each table in turn is dropped and recreated.
DROP TABLE IF EXISTS `countries`;
CREATE TABLE `countries` (...);
INSERT INTO `countries` VALUES (...);
The import will error out if one of these SQL commands fail.
This would lead to an inconsistent database, with some of the database having been updated (i.e. the commands run before the error) and some of it not having been updated (i.e. commands that didn't run because an earlier command failed). It could also result in a table not exisiting or having no data (i.e. the table whose CREATE or INSERT commands failed).
Ideally, the import would be atomic and either successed at importing all the new data, or roll back to the previous state before the import was attempted.
The text was updated successfully, but these errors were encountered:
Given the structure of the MariaDB dump file, below, each table in turn is dropped and recreated.
The import will error out if one of these SQL commands fail.
This would lead to an inconsistent database, with some of the database having been updated (i.e. the commands run before the error) and some of it not having been updated (i.e. commands that didn't run because an earlier command failed). It could also result in a table not exisiting or having no data (i.e. the table whose
CREATE
orINSERT
commands failed).Ideally, the import would be atomic and either successed at importing all the new data, or roll back to the previous state before the import was attempted.
The text was updated successfully, but these errors were encountered: