spficklin 12 年之前
父節點
當前提交
94b1fa2a77
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      tripal_bulk_loader/tripal_bulk_loader.loader.inc

+ 5 - 0
tripal_bulk_loader/tripal_bulk_loader.loader.inc

@@ -125,6 +125,11 @@ function tripal_bulk_loader_add_loader_job_form_submit($form, $form_state) {
  */
 function tripal_bulk_loader_load_data($nid, $job_id) {
 
+  // we need to get a persistent connection.  If one exists this function
+  // will not recreate it, but if not it will create one and store it in
+  // a Drupal variable for reuse later.
+  $connection = tripal_db_persistent_chado();
+	
   // ensure no timeout
   set_time_limit(0);