/[drupal]/contributions/modules/workflow/workflow.install
ViewVC logotype

Diff of /contributions/modules/workflow/workflow.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.13, Wed Dec 31 21:25:05 2008 UTC revision 1.13.2.1, Mon Jan 5 17:10:00 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: workflow.install,v 1.12 2008/12/29 20:17:51 jvandyk Exp $  // $Id: workflow.install,v 1.13 2008/12/31 21:25:05 jvandyk Exp $
3    
4  /**  /**
5   * Implementation of hook_install().   * Implementation of hook_install().
# Line 400  function workflow_update_6101() { Line 400  function workflow_update_6101() {
400    switch ($GLOBALS['db_type']) {    switch ($GLOBALS['db_type']) {
401      case 'mysqli':      case 'mysqli':
402      case 'mysql':      case 'mysql':
403        $workflows = db_result(db_query("SHOW COLUMNS FROM workflows WHERE field = 'wid' and extra REGEXP 'auto_increment'"));        $workflows = db_result(db_query("SHOW COLUMNS FROM {workflows} WHERE field = 'wid' and extra REGEXP 'auto_increment'"));
404        $workflow_states = db_result(db_query("SHOW COLUMNS FROM workflow_states WHERE field = 'sid' and extra REGEXP 'auto_increment'"));        $workflow_states = db_result(db_query("SHOW COLUMNS FROM {workflow_states} WHERE field = 'sid' and extra REGEXP 'auto_increment'"));
405        $workflow_transitions = db_result(db_query("SHOW COLUMNS FROM workflow_transitions WHERE field = 'tid' and extra REGEXP 'auto_increment'"));        $workflow_transitions = db_result(db_query("SHOW COLUMNS FROM {workflow_transitions} WHERE field = 'tid' and extra REGEXP 'auto_increment'"));
406        break;        break;
407      case 'pgsql':      case 'pgsql':
408        // Not sure how determine if a PostgreSQL field has a sequence.        // Not sure how determine if a PostgreSQL field has a sequence.

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.13.2.1

  ViewVC Help
Powered by ViewVC 1.1.2