"big merge" - minor fix in restore backup - reset data after insert command
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Fri, 14 May 2010 17:49:31 +0000 (17:49 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Fri, 14 May 2010 17:49:31 +0000 (17:49 +0000)
git-svn-id: https://silmor.de/svn/softmagic/pack/trunk@450 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

phpbase/db.php

index f13263c..7898940 100644 (file)
@@ -573,6 +573,7 @@ abstract class DbEngine
                                        }else{
                                                $this->backupInsert($table,$data,$overwrite);
                                        }
+                                       $data=array();
                                        break;
                                default:
                                        print("Warning: unknown statement \"".htmlspecialchars($cmd[0])."\" in backup file. Ignoring it.<br>\n");