projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Helper function for searching indexed submit POST vars
[fa-stable.git]
/
admin
/
db
/
maintenance_db.inc
diff --git
a/admin/db/maintenance_db.inc
b/admin/db/maintenance_db.inc
index 7520e359979d20759f852b120f471bdcd4ace52b..8ed6b7dffd57dfe6e3bef9b9da68db4984cd7cb6 100644
(file)
--- a/
admin/db/maintenance_db.inc
+++ b/
admin/db/maintenance_db.inc
@@
-136,6
+136,12
@@
function db_import($filename, $connection)
{
$data_queries[] = substr($line, 0, strlen($line) - 1);
{
$data_queries[] = substr($line, 0, strlen($line) - 1);
+ // this line does not, too
+ }
+ elseif (strtolower(substr($line,0,6)) == "update")
+ {
+ $data_queries[] = substr($line, 0, strlen($line) - 1);
+
// this line does not, too
}
elseif (strtolower(substr($line, 0, 20)) == "drop table if exists")
// this line does not, too
}
elseif (strtolower(substr($line, 0, 20)) == "drop table if exists")