Dump.php
authorAlan Knowles <alan@akbkhome.com>
Mon, 21 Mar 2011 09:05:30 +0000 (17:05 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 21 Mar 2011 09:05:30 +0000 (17:05 +0800)
Dump.php

index 1d536b8..c4641b2 100644 (file)
--- a/Dump.php
+++ b/Dump.php
@@ -451,18 +451,12 @@ class Pman_Admin_Dump extends Pman {
      */
     function toInsert($do, $ar)
     {
-         $kcol = array_shift($do->keys());
-        $kid = $do->tableName() . ':' . $kcol . ':' . $do->{$kcol};
-        if (isset($this->dumped[$kid])) {
-            return;
-        }
-        //echo "DUMP: $kid\n";
-        $this->dumped[$kid] = true;
-        
+        $kcol = array_shift($do->keys());
+         
         // for auto_inc column we need to use a 'set argument'...
         $items = $do->table();
         //print_R($items);
-        $quoteIdentifiers  = !empty($_DB_DATAOBJECT['CONFIG']['quote_identifiers']);
+        $quoteIdentifiers  = true; //!empty($_DB_DATAOBJECT['CONFIG']['quote_identifiers']);
         // for
         $leftq     = '';
         $rightq    = '';