Index: feeds.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/feeds/feeds.install,v
retrieving revision 1.13.2.1
diff -u -p -r1.13.2.1 feeds.install
--- feeds.install	25 Sep 2010 16:07:50 -0000	1.13.2.1
+++ feeds.install	21 Oct 2010 19:42:49 -0000
@@ -75,7 +75,6 @@ function feeds_schema() {
         'size' => 'big',
         'not null' => FALSE,
         'description' => t('Cache for batching.'),
-        'serialize' => TRUE,
       ),
     ),
     'primary key' => array('id', 'feed_nid'),
@@ -567,3 +566,19 @@ function feeds_update_6013() {
   variable_set('feeds_reschedule', TRUE);
   return array();
 }
+
+/**
+ * Make batch field not serialized.
+ */
+function feeds_update_6014() {
+  $ret = array();
+  $spec = array(
+    'type' => 'text',
+    'size' => 'big',
+    'not null' => FALSE,
+    'description' => t('Cache for batching.'),
+    'serialize' => TRUE,
+  );
+  db_change_field($ret, 'feeds_source', 'batch', 'batch', $spec);
+  return $ret;
+}
Index: includes/FeedsSource.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/feeds/includes/FeedsSource.inc,v
retrieving revision 1.21.2.1
diff -u -p -r1.21.2.1 FeedsSource.inc
--- includes/FeedsSource.inc	26 Sep 2010 17:39:45 -0000	1.21.2.1
+++ includes/FeedsSource.inc	21 Oct 2010 19:42:50 -0000
@@ -240,7 +240,7 @@ class FeedsSource extends FeedsConfigura
       'feed_nid' => $this->feed_nid,
       'config' => $config,
       'source' => $source,
-      'batch' => isset($this->batch) ? $this->batch : FALSE,
+      'batch' => base64_encode(serialize(isset($this->batch) ? $this->batch : FALSE)),
     );
     if (db_result(db_query_range("SELECT 1 FROM {feeds_source} WHERE id = '%s' AND feed_nid = %d", $this->id, $this->feed_nid, 0, 1))) {
       drupal_write_record('feeds_source', $object, array('id', 'feed_nid'));
@@ -262,7 +262,7 @@ class FeedsSource extends FeedsConfigura
       ctools_include('export');
       $this->export_type = EXPORT_IN_DATABASE;
       $this->config = unserialize($record->config);
-      $this->batch = unserialize($record->batch);
+      $this->batch = unserialize(base64_decode($record->batch));
     }
   }
 
